The user cannot be altered by a client without the session.

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 "<script>window.location='/manage/get_Q_zhanghaoguanli_info';</script>";
        return;
    }
}

求救 这样写有错吗????

查看回复