更新睡眠报告

This commit is contained in:
wyf
2025-05-28 21:14:04 +08:00
parent 98cd7f4e6a
commit b34737dbe8
46 changed files with 1580 additions and 974 deletions

View File

@@ -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;