文章詳情頁
用UserModel::where(’id’,$id)->data($data)->update() 的方式來更新數(shù)據(jù),統(tǒng)系會(huì)報(bào)錯(cuò)
瀏覽:69日期:2022-06-07 16:09:12
問題描述
用UserModel::where('id',$id)->data($data)->update() 的方式來更新數(shù)據(jù),統(tǒng)系會(huì)報(bào)錯(cuò)
不支持的數(shù)據(jù)表達(dá)式:/admin/user/doedit_html
問題解答
回答1:放在data里面是做組裝拼接回答2:data是什么鬼?是更新的數(shù)據(jù)嗎?數(shù)據(jù)應(yīng)該放在update里吧
排行榜

熱門標(biāo)簽