post()->goCheck(); $result = SmsLogic::sendCode($params); if (true === $result) { return $this->success('发送成功'); } return $this->fail(SmsLogic::getError()); } }