2
0

fix: 调整余额扣费功能

This commit is contained in:
caiyuchao
2025-02-27 17:14:04 +08:00
parent 03aae62a4c
commit 3cbae167dc
17 changed files with 310 additions and 164 deletions

View File

@@ -24,4 +24,12 @@ public class ResponseUtils {
log.error("Omada error msg: {}", msg);
}
}
public static boolean isSuccessResponse(Integer errorCode, String msg) {
if (errorCode != WifiConstants.ERROR_CODE_SUCCESS) {
log.error("Omada error msg: {}", msg);
return false;
}
return true;
}
}