摘要: <!DOCTYPE html><html><head> <meta charset="utf-8"> <title>ECharts</title> <!-- 引入 echarts.js --> <script src="echarts.js"></script></head><body><!-- 为 阅读全文
posted @ 2018-12-24 16:39 isafer_wilson 阅读(374) 评论(0) 推荐(0) 编辑
摘要: 1. 链接数据库$conn = @new mysqli("127.0.0.1","root","","mydb"); if($conn->connect_errno){ //返回链接错误号// 返回链接错误信息die("数据库链接失败:".$conn->connect_error);} 2. 选择数 阅读全文
posted @ 2018-12-24 11:24 isafer_wilson 阅读(229) 评论(0) 推荐(0) 编辑
摘要: <style> .window { z-index: 2; margin-top: 10px; -webkit-transition: all 0.2s; transition: all 0.2s; height: 69%; width: 80%; background-color: #fff; b 阅读全文
posted @ 2018-12-19 17:07 isafer_wilson 阅读(301) 评论(0) 推荐(0) 编辑
摘要: namespace App\Http\Controllers\Admin;use Illuminate\Http\Request;use App\Http\Controllers\Controller;use DB;use Illuminate\Pagination\LengthAwarePagin 阅读全文
posted @ 2018-12-19 16:15 isafer_wilson 阅读(813) 评论(0) 推荐(0) 编辑
摘要: 安装Apache 1.安装Apache 2. Apache配置httpd.conf 通过命令 find / -name httpd.conf 找到Apache配置文件httpd.conf(默认在/etc/httpd/conf/httpd.conf) 编辑httpd.conf文件 vi /etc/ht 阅读全文
posted @ 2018-12-07 15:07 isafer_wilson 阅读(643) 评论(0) 推荐(0) 编辑
摘要: //下载composercurl -sS https://getcomposer.org/installer | php//将composer.phar文件移动到bin目录以便全局使用composer命令 mv composer.phar /usr/local/bin/composer//切换国内源 阅读全文
posted @ 2018-12-07 14:39 isafer_wilson 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 1. cd /etc/yum.repos.d 2. mv CentOS-Base.repo CentOS-Base.repo.backup 3. curl -O http://mirrors.aliyun.com/repo/Centos-6.repo 4.yum clean all 阅读全文
posted @ 2018-12-06 11:46 isafer_wilson 阅读(15608) 评论(3) 推荐(0) 编辑
摘要: 登陆MySQL 执行下面的命令 ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '你的密码'; 阅读全文
posted @ 2018-12-04 20:29 isafer_wilson 阅读(2403) 评论(0) 推荐(0) 编辑
摘要: 1 . 安装 brew install mysql 2 . 接下来启动mysql bash mysql.server start 阅读全文
posted @ 2018-12-04 19:11 isafer_wilson 阅读(133) 评论(0) 推荐(0) 编辑
摘要: public function render($request, Exception $exception){ // 如果 不被允许的路由 或者不存在 if ($exception instanceof MethodNotAllowedHttpException || $exception inst 阅读全文
posted @ 2018-11-28 16:02 isafer_wilson 阅读(1506) 评论(0) 推荐(0) 编辑