response.setMsg("短信验证码错误!"); | response.setMsg("短信验证码错误!"); | ||||
throw GlyServiceError.BUSINESS_VALIDATE_ERR.toHandleException("短信验证码错误!"); | throw GlyServiceError.BUSINESS_VALIDATE_ERR.toHandleException("短信验证码错误!"); | ||||
} | } | ||||
response.setCode("1"); | |||||
response.setMsg("验证成功!"); | |||||
return response; | return response; | ||||
} | } | ||||