查询数据

This commit is contained in:
2025-11-12 18:02:04 +08:00
parent 412f2786a2
commit c4f34f3e00
8 changed files with 206 additions and 133 deletions

View File

@@ -60,7 +60,7 @@ void initHttpSet() {
HttpService.to.setOnResponseHandler((response) async {
try {
final baseModel = BaseModel<dynamic>.fromJson(response.data);
if (baseModel.code == 0) {
if (baseModel.code == 0 || baseModel.code == 200) {
return null;
} else if (baseModel.code == 401) {
await StorageService.to.clearLoginInfo();