post()->goCheck('register'); $result = UserLogic::register($params); if (true === $result) { return $this->success('注册成功', [], 1, 1); } return $this->fail(UserLogic::getError()); } }