修复眠花糖发送短信验证码失败。(未传客户端代码)

This commit is contained in:
wyf
2026-04-08 14:35:42 +08:00
parent c392cd8c90
commit 5e6406f7f2
13 changed files with 41 additions and 32 deletions

View File

@@ -150,10 +150,7 @@ class MHTRegisterController extends GetControllerEx<RegisterModel> {
String serviceName = ServiceConstant.server_service;
String serviceApi = ServiceConstant.send_code;
String queryUrl = "${serviceAddress}${serviceName}${serviceApi}";
var data = {
"userName": model.register_phone!,
'type':4,
};
var data = {"userName": model.register_phone!, 'type': 4, "code": "mht"};
await requestWithLog(
logTitle: "获取验证码".tr,
method: MyHttpMethod.post,