The user cannot be altered by a client without the session.
程序员文章站
2024-01-17 20:26:22
...
public function edit_Q_zhanghaoguanli_info($id){
if(isset($id) && !empty($id)){
$qiuzhi = new AVQuery("_User");
$qiuzhi = $qiuzhi -> get($id);
$qiuzhi -> set('isTest',true);
$qiuzhi -> save();
echo "";
return;
}
}
求救 这样写有错吗????
回复内容:
public function edit_Q_zhanghaoguanli_info($id){
if(isset($id) && !empty($id)){
$qiuzhi = new AVQuery("_User");
$qiuzhi = $qiuzhi -> get($id);
$qiuzhi -> set('isTest',true);
$qiuzhi -> save();
echo "";
return;
}
}
求救 这样写有错吗????