更新设备名称时候的为空的bug

This commit is contained in:
wyf
2025-07-25 16:29:04 +08:00
parent 4a3ddd0006
commit 5e00649fba
2 changed files with 27 additions and 7 deletions

View File

@@ -199,7 +199,11 @@ class MHTLoginController extends GetControllerEx<LoginModel> {
String serviceName = ServiceConstant.server_service;
String serviceApi = ServiceConstant.send_code;
String queryUrl = "${serviceAddress}${serviceName}${serviceApi}";
var data = {"userName": model.phone, "type": 1};
var data = {
"userName": model.phone,
"type": 1,
};
data['code'] = "mht";
await requestWithLog(
data: data,
logTitle: "发送验证码",