上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 31 下一页
摘要: laraver模型增删改查 增 $UserMessage = new UserMessage; $UserMessage->user_id = $request->input('user_id'); // 租户id $UserMessage->title = '秒杀活动已开始'; // 消息标题 $ 阅读全文
posted @ 2022-10-08 14:27 79524795 阅读(33) 评论(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 阅读(78) 评论(0) 推荐(0)
摘要: dact-admin表格选择器的使用如图 在使用dact下拉选择框时,如果选择框的数据很多几百条,这样在使用普通的选择框时就会很不友好,在dact-admin里面有一种表格选择器的东西,可以很好的解决这个问题。 1.首先创建异步加载类如下图 2.控制器中的写法 use App\Admin\Rende 阅读全文
posted @ 2022-09-30 10:22 79524795 阅读(1121) 评论(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 阅读(22) 评论(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 阅读(197) 评论(0) 推荐(0)
摘要: Redis-server.exe 阅读全文
posted @ 2022-09-26 10:28 79524795 阅读(15) 评论(0) 推荐(0)
摘要: 安装laravel composer create-project laravel/laravel example-app 报错: curl error 28 while downloading https://repo.packagist.org/p2/laravel/sail.json: Tim 阅读全文
posted @ 2022-09-22 20:20 79524795 阅读(268) 评论(0) 推荐(0)
摘要: 直接上代码 $result = array_reverse($result,true); //数组反转 $result = array_values($result); //数组反转后 排序一下 阅读全文
posted @ 2022-09-17 15:05 79524795 阅读(75) 评论(0) 推荐(0)
摘要: 直接上代码 for ($ic = 0; $ic < count($booslist); $ic++) { settype($booslist[$ic]['jine'],"string"); //php float转字符串类型 var_dump($booslist[$ic]['jine']);//已经 阅读全文
posted @ 2022-09-17 15:04 79524795 阅读(64) 评论(0) 推荐(0)
摘要: 直接上代码 $orders = []; for ($i = 0; $i < count($users); $i++) { $uids[$i] = $users[$i]['uid'] ; $orderone = pdo_fetchall("select * from ims_ukeline_hbtk_ 阅读全文
posted @ 2022-09-17 11:32 79524795 阅读(157) 评论(0) 推荐(0)
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 31 下一页