会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
79524795
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
11
12
13
14
15
16
17
18
19
···
31
下一页
2022年10月8日
laraver模型增删改查
摘要: laraver模型增删改查 增 $UserMessage = new UserMessage; $UserMessage->user_id = $request->input('user_id'); // 租户id $UserMessage->title = '秒杀活动已开始'; // 消息标题 $
阅读全文
posted @ 2022-10-08 14:27 79524795
阅读(33)
评论(0)
推荐(0)
2022年9月30日
laravel dact 表格列表中的 别的表id替换成别的 表的昵称
摘要: 案例: 控制器: 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)
Dcat admin表格选择器
摘要: dact-admin表格选择器的使用如图 在使用dact下拉选择框时,如果选择框的数据很多几百条,这样在使用普通的选择框时就会很不友好,在dact-admin里面有一种表格选择器的东西,可以很好的解决这个问题。 1.首先创建异步加载类如下图 2.控制器中的写法 use App\Admin\Rende
阅读全文
posted @ 2022-09-30 10:22 79524795
阅读(1121)
评论(0)
推荐(0)
2022年9月27日
laravel教程 持续更新
摘要: 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)
2022年9月26日
git 库克隆下来的laravel 代码报错
摘要: 错误: 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
摘要: Redis-server.exe
阅读全文
posted @ 2022-09-26 10:28 79524795
阅读(15)
评论(0)
推荐(0)
2022年9月22日
安装laravel报错
摘要: 安装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)
2022年9月17日
php数组下标反转 且重新排序
摘要: 直接上代码 $result = array_reverse($result,true); //数组反转 $result = array_values($result); //数组反转后 排序一下
阅读全文
posted @ 2022-09-17 15:05 79524795
阅读(75)
评论(0)
推荐(0)
php float转字符串类型
摘要: 直接上代码 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)
php数组合并相加,重复下标会被覆盖解决方案
摘要: 直接上代码 $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
下一页
公告