| | |
| | | if(!need){ |
| | | return; |
| | | } |
| | | InterfaceLog hkMonitoryLogDO=new InterfaceLog(); |
| | | hkMonitoryLogDO.setType(1); |
| | | hkMonitoryLogDO.setCreateDate(new Date()); |
| | | hkMonitoryLogDO.setIsdeleted(0); |
| | | if(param!=null){ |
| | | hkMonitoryLogDO.setRequest(JSONObject.toJSONString(param)); |
| | | try { |
| | | InterfaceLog hkMonitoryLogDO=new InterfaceLog(); |
| | | hkMonitoryLogDO.setType(1); |
| | | hkMonitoryLogDO.setCreateDate(new Date()); |
| | | hkMonitoryLogDO.setIsdeleted(0); |
| | | if(param!=null){ |
| | | hkMonitoryLogDO.setRequest(JSONObject.toJSONString(param)); |
| | | } |
| | | hkMonitoryLogDO.setRepose(result); |
| | | hkMonitoryLogDO.setName(path); |
| | | hkMonitoryLogDO.setUrl(path); |
| | | interfaceLogMapper.insert(hkMonitoryLogDO); |
| | | }catch (Exception e){ |
| | | |
| | | } |
| | | hkMonitoryLogDO.setRepose(result); |
| | | hkMonitoryLogDO.setName(path); |
| | | hkMonitoryLogDO.setUrl(path); |
| | | interfaceLogMapper.insert(hkMonitoryLogDO); |
| | | |
| | | } |
| | | |
| | | |