user_id)); } /** * @notes 确定注销 * @return \think\response\Json * @author lbzy * @datetime 2023-08-21 16:46:32 */ function delete() { $result = UserDeleteLogic::sureDelete($this->user_id); if ($result !== true) { return JsonServer::error((string) $result); } return JsonServer::success('成功'); } }