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

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

@@ -175,6 +175,9 @@ class LoginController extends GetControllerEx<LoginModel> {
if (AppConstants().ent_type == APPPackageType.DONGHUA.code) {
data['code'] = "dh";
}
if (AppConstants().ent_type == APPPackageType.TH.code) {
data['code'] = "theh";
}
var response =
await EasyDartModule.dio.post(queryUrl, data: jsonEncode(data));
if (response != null) {
@@ -248,6 +251,9 @@ class LoginController extends GetControllerEx<LoginModel> {
}
if (AppConstants().ent_type == APPPackageType.DONGHUA.code) {
data['code'] = "dh";
}
if (AppConstants().ent_type == APPPackageType.TH.code) {
data['code'] = "theh";
}
var response =
await EasyDartModule.dio.post(queryUrl, data: jsonEncode(data));