| | |
| | | |
| | | import com.alibaba.fastjson.JSON; |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.core.common.SpringUtils; |
| | | import com.core.exception.CoolException; |
| | | import com.zy.asrs.service.ApiLogService; |
| | | import com.zy.asrs.service.impl.ApiLogServiceImpl; |
| | |
| | | |
| | | @Slf4j |
| | | public class PostMesDataUtils extends AbstractHandler<String> { |
| | | |
| | | private ApiLogService apiLogService = new ApiLogServiceImpl(); |
| | | |
| | | public ReturnT<String> postMesData(String name,String URL,String mesPath, Object combParam){ |
| | | // if (true){ |
| | |
| | | } finally { |
| | | try { |
| | | // 保存接口日志 |
| | | ApiLogService apiLogService = SpringUtils.getBean(ApiLogService.class); |
| | | apiLogService.save( |
| | | "上报"+name, |
| | | URL +"/"+ mesPath, |