TP6 添加错误

浏览:1048 发布日期:2019/12/05 分类:ThinkPHP6专区 关键字: TP6 添加 JSON
Argument 1 passed to think\db\BaseQuery::json() must be of the type array, string given, called in E:\WWW\Aphping\app\admin\controller\Index.php on line 26Db::name('system_module')->json('active')->save(['id'=>3,'status'=>1,'creattime'=>time(),'posttime'=>time(),'active'=>['添加|add','编辑|edit','删除|delete']]); 
最佳答案
评论( 相关
后面还有条评论,点击查看>>