上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 30 下一页
摘要: 注释掉 就是http,不注释就是https 下方已经注释了 <!DOCTYPE HTML> <html> <head> <!--<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">--> <me 阅读全文
posted @ 2022-12-07 23:32 79524795 阅读(66) 评论(0) 推荐(0) 编辑
摘要: 下载好TP框架 http://packagist.p2hp.com/ 搜索phpexcel 框架根目录 composer require phpoffice/phpexcel 下载excle包 $objExcel = new \PHPExcel; $objWriter = \PHPExcel_IOF 阅读全文
posted @ 2022-12-03 18:27 79524795 阅读(448) 评论(0) 推荐(0) 编辑
摘要: 可参照网址 https://blog.csdn.net/qq_35453862/article/details/125960324 注意大写SQL语句 1.连接数据库 $con=mysqli_connect("localhost","admin","123456","ljm_web"); 地址 账号 阅读全文
posted @ 2022-12-02 17:47 79524795 阅读(155) 评论(0) 推荐(0) 编辑
摘要: function wxlogin() { $appid = "wx8220c76bf8XXXX5"; $secret = "f6951af54c4e35XXX9912173daXXXXX"; $str="http://***.***.com/getToken"; $redirect_uri=urle 阅读全文
posted @ 2022-11-10 21:33 79524795 阅读(51) 评论(0) 推荐(0) 编辑
摘要: 官网教程:https://learnku.com/docs/dcat-admin/1.x 1.首先要安装laravel composer安装的话composer版本要2.0以上 2.修改拉laravel数据库 .env文件 DB_CONNECTION=mysql DB_HOST=127.0.0.1 阅读全文
posted @ 2022-11-10 17:46 79524795 阅读(843) 评论(0) 推荐(0) 编辑
摘要: laraver模型增删改查 增 $UserMessage = new UserMessage; $UserMessage->user_id = $request->input('user_id'); // 租户id $UserMessage->title = '秒杀活动已开始'; // 消息标题 $ 阅读全文
posted @ 2022-10-08 14:27 79524795 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 案例: 控制器: protected function grid() { 这里1 return Grid::make( Seckill::with('shopgoods'), function (Grid $grid) { $grid->column('id')->sortable(); $grid 阅读全文
posted @ 2022-09-30 15:59 79524795 阅读(56) 评论(0) 推荐(0) 编辑
摘要: dact-admin表格选择器的使用如图 在使用dact下拉选择框时,如果选择框的数据很多几百条,这样在使用普通的选择框时就会很不友好,在dact-admin里面有一种表格选择器的东西,可以很好的解决这个问题。 1.首先创建异步加载类如下图 2.控制器中的写法 use App\Admin\Rende 阅读全文
posted @ 2022-09-30 10:22 79524795 阅读(818) 评论(0) 推荐(0) 编辑
摘要: 1 通过composer安装 composer create-project laravel/laravel example-app 2 配置伪静态 nginx location / { try_files $uri $uri/ /index.php?$query_string; } 阅读全文
posted @ 2022-09-27 11:21 79524795 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 错误: Warning: require(E:\phpstudy_pro\WWW\blog\public/../vendor/autoload.php): failed to open stream: No such file or directory in E:\phpstudy_pro\WWW\ 阅读全文
posted @ 2022-09-26 10:29 79524795 阅读(171) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 30 下一页