优化话费定时任务代码

dev-discount
袁野 2 years ago
parent 2d13835ab0
commit d8847b8af9
  1. 4
      hai-service/src/main/java/com/hai/service/impl/OutRechargeOrderServiceImpl.java

@ -886,7 +886,9 @@ public class OutRechargeOrderServiceImpl implements OutRechargeOrderService {
objectData = (JSONObject) objects; objectData = (JSONObject) objects;
} }
if (objectData.size() == 0) { if (objectData.size() == 0) {
return 2; if (jsonObject.getInteger("errno") == 0) {
return 2;
}
} else { } else {
// -1取消,0充值中 ,1充值成功,2充值失败,3部分成功 // -1取消,0充值中 ,1充值成功,2充值失败,3部分成功
return objectData.getInteger("state"); return objectData.getInteger("state");

Loading…
Cancel
Save