更新睡眠报告
This commit is contained in:
@@ -119,10 +119,10 @@ class LoginController extends GetControllerEx<LoginModel> {
|
||||
Future<ApiResponse> getCode(BuildContext context) async {
|
||||
ApiResponse apiResponse = ApiResponse(code: -1, msg: "其他手机登录页.发送失败".tr);
|
||||
try {
|
||||
if (model.register_agree == null || model.register_agree != true) {
|
||||
apiResponse.msg = "登录页.未同意协议".tr;
|
||||
return apiResponse;
|
||||
}
|
||||
// if (model.register_agree == null || model.register_agree != true) {
|
||||
// apiResponse.msg = "登录页.未同意协议".tr;
|
||||
// return apiResponse;
|
||||
// }
|
||||
if (model.phone == null || model.phone!.isEmpty) {
|
||||
apiResponse.msg = "其他手机登录页.请输入手机号".tr;
|
||||
return apiResponse;
|
||||
|
||||
Reference in New Issue
Block a user