多语言后端数据

This commit is contained in:
czz
2025-08-01 22:25:47 +08:00
parent 12a53ac36c
commit a199606f80
52 changed files with 1736 additions and 1142 deletions

View File

@@ -104,7 +104,7 @@ class UserInfoController extends GetControllerEx<UserInfoModel> {
: response.data;
ApiResponse res =
ApiResponse.fromJson(responseData, (object) => object);
MyUtils.formatResponse(apiResponse, "上传成功".tr, "头像上传失败".tr);
MyUtils.formatResponse(res, "上传成功".tr, "头像上传失败".tr);
model.user!.tmpHead = res.data['path'];
updateAll();
return res;