java110
2023-08-18 3deb86757ad3369a769f1540cdfd495dcd49214a
service-api/src/main/java/com/java110/api/controller/app/smartWeter/NotifySmartMeterController.java
@@ -1,5 +1,6 @@
package com.java110.api.controller.app.smartWeter;
import com.alibaba.fastjson.JSONObject;
import com.java110.core.base.controller.BaseController;
import com.java110.core.log.LoggerFactory;
import com.java110.dto.meter.NotifyMeterWaterOrderDto;
@@ -33,6 +34,13 @@
            HttpServletRequest request) {
        String appId = "992020051967020024";
        JSONObject paramIn = new JSONObject();
        for (String key : request.getParameterMap().keySet()) {
            paramIn.put(key, request.getParameter(key));
            logger.debug("拓强回调报文form" + key + ":: " + request.getParameter(key));
        }
        logger.debug("拓强回调报文" + paramIn.toJSONString());
        //todo 为啥写的这么挫 因为拓强的电表 回调路径太长 他会失败
        switch (implBean) {
            case "a":
@@ -50,7 +58,8 @@
            default:
        }
        return notifySmartWeterV1InnerServiceSMOImpl.notifySmartMater(new NotifyMeterWaterOrderDto(appId, postInfo, implBean));
        return notifySmartWeterV1InnerServiceSMOImpl.notifySmartMater(new NotifyMeterWaterOrderDto(appId, paramIn.toJSONString(), implBean));
    }