fix: 调整余额扣费功能
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user