dataLists(new UserInfoLists()); } /** * @notes 同意实名 * @return \think\response\Json * @author BD * @date 2024/06/08 17:51 */ public function agree() { $params = $this->request->post(); $result = UserInfoLogic::agree($params); if (true === $result) { return $this->success('同意成功', [], 1, 1); } return $this->fail(UserInfoLogic::getError()); } /** * @notes 拒绝实名 * @return \think\response\Json * @author BD * @date 2024/06/08 17:51 */ public function refuse() { $params = $this->request->post(); $result = UserInfoLogic::refuse($params); if (true === $result) { return $this->success('拒绝成功', [], 1, 1); } return $this->fail(UserInfoLogic::getError()); } }