自动化立体仓库 - WMS系统
#
LSH
2023-05-16 2bf65500161ae37c120d0d9af8f6d8dd7afdec75
src/main/java/com/zy/asrs/utils/PostMesDataUtils.java
@@ -4,6 +4,7 @@
import com.alibaba.fastjson.JSONObject;
import com.core.exception.CoolException;
import com.zy.asrs.service.ApiLogService;
import com.zy.asrs.service.impl.ApiLogServiceImpl;
import com.zy.asrs.task.AbstractHandler;
import com.zy.asrs.task.core.ReturnT;
import com.zy.common.utils.HttpHandler;
@@ -13,15 +14,10 @@
@Slf4j
public class PostMesDataUtils extends AbstractHandler<String> {
    @Autowired
    private ApiLogService apiLogService;
    @Value("${mes.start}")
    private boolean start;  //上报开关
    private ApiLogService apiLogService = new ApiLogServiceImpl();
    public ReturnT<String> postMesData(String name,String URL,String mesPath, Object combParam){
        if (!start){
            return SUCCESS;
        }
        if(combParam != null){
            String response = "";
            boolean success = false;