| | |
| | | sendMessageDTO.getChargingCapacity(), sendMessageDTO.getChargingFee()); |
| | | String result4 = HttpUtils.post(MsgConstants.SEND_URL, reqStr4); |
| | | return R.ok(result4); |
| | | case 5: |
| | | String reqStr5 = MsgUtil.companyBalanceWarnMsg(sendMessageDTO.getPhone(), sendMessageDTO.getCompanyName(), |
| | | sendMessageDTO.getBalance(), sendMessageDTO.getWarnAmount()); |
| | | String result5 = HttpUtils.post(MsgConstants.SEND_URL, reqStr5); |
| | | return R.ok(result5); |
| | | case 6: |
| | | String reqStr6 = MsgUtil.subBalanceWarnMsg(sendMessageDTO.getPhone(), sendMessageDTO.getCompanyName(), |
| | | sendMessageDTO.getUserInfo(), sendMessageDTO.getBalance(), sendMessageDTO.getWarnAmount()); |
| | | String result6 = HttpUtils.post(MsgConstants.SEND_URL, reqStr6); |
| | | return R.ok(result6); |
| | | default: |
| | | String reqStr3 = MsgUtil.faultMsg(sendMessageDTO.getPhone(), sendMessageDTO.getSite(), sendMessageDTO.getChargeGun()); |
| | | String result3 = HttpUtils.post(MsgConstants.SEND_URL, reqStr3); |