Commit 00478066 authored by 赵啸非's avatar 赵啸非

修改vue为内网环境

parent 33296c85
...@@ -73,13 +73,16 @@ public class AccessLogController extends BaseCRUDJsonBodyMappingController<Acces ...@@ -73,13 +73,16 @@ public class AccessLogController extends BaseCRUDJsonBodyMappingController<Acces
@UnAuth @UnAuth
public String save(@RequestBody AccessLogEntity entity) { public String save(@RequestBody AccessLogEntity entity) {
AccessLogPdu accessLogPdu = new AccessLogPdu(); /* AccessLogPdu accessLogPdu = new AccessLogPdu();
accessLogPdu.initAttrValue(); accessLogPdu.initAttrValue();
BeanUtils.copyProperties(entity, accessLogPdu, BeanUtil.getNullPropertyNames(entity)); BeanUtils.copyProperties(entity, accessLogPdu, BeanUtil.getNullPropertyNames(entity));
messageProducer.syncAccessSend(accessLogPdu); messageProducer.syncAccessSend(accessLogPdu);
JSONObject ret = new JSONObject(); JSONObject ret = new JSONObject();
ret.put("code", VALUE_RESULT_SUCCESS); ret.put("code", VALUE_RESULT_SUCCESS);
return ret.toJSONString(); return ret.toJSONString();*/
return super.save(entity);
} }
......
...@@ -74,15 +74,15 @@ public class BizLogController extends BaseCRUDJsonBodyMappingController<BizLogSe ...@@ -74,15 +74,15 @@ public class BizLogController extends BaseCRUDJsonBodyMappingController<BizLogSe
@Override @Override
@UnAuth @UnAuth
public String save(@RequestBody BizLogEntity entity) { public String save(@RequestBody BizLogEntity entity) {
BizLogPdu bizLogPdu = new BizLogPdu(); /* BizLogPdu bizLogPdu = new BizLogPdu();
bizLogPdu.initAttrValue(); bizLogPdu.initAttrValue();
BeanUtils.copyProperties(entity, bizLogPdu, BeanUtil.getNullPropertyNames(entity)); BeanUtils.copyProperties(entity, bizLogPdu, BeanUtil.getNullPropertyNames(entity));
messageProducer.syncBizSend(bizLogPdu); messageProducer.syncBizSend(bizLogPdu);
JSONObject ret = new JSONObject(); JSONObject ret = new JSONObject();
ret.put("code", VALUE_RESULT_SUCCESS); ret.put("code", VALUE_RESULT_SUCCESS);
return ret.toJSONString(); return ret.toJSONString();*/
// return super.save(entity); return super.save(entity);
} }
......
...@@ -83,12 +83,12 @@ public class ErrorLogController extends BaseCRUDJsonBodyMappingController<ErrorL ...@@ -83,12 +83,12 @@ public class ErrorLogController extends BaseCRUDJsonBodyMappingController<ErrorL
@UnAuth @UnAuth
public String save(@RequestBody ErrorLogEntity entity) { public String save(@RequestBody ErrorLogEntity entity) {
ErrorLogPdu errorLogPdu = new ErrorLogPdu(); /* ErrorLogPdu errorLogPdu = new ErrorLogPdu();
errorLogPdu.initAttrValue(); errorLogPdu.initAttrValue();
BeanUtils.copyProperties(entity, errorLogPdu, BeanUtil.getNullPropertyNames(entity)); BeanUtils.copyProperties(entity, errorLogPdu, BeanUtil.getNullPropertyNames(entity));
messageProducer.syncErrorSend(errorLogPdu); messageProducer.syncErrorSend(errorLogPdu);*/
/* ErrorLogQuery errorLogQuery = new ErrorLogQuery(); ErrorLogQuery errorLogQuery = new ErrorLogQuery();
errorLogQuery.setAppName(entity.getAppName()); errorLogQuery.setAppName(entity.getAppName());
errorLogQuery.setPlatform(entity.getPlatform()); errorLogQuery.setPlatform(entity.getPlatform());
errorLogQuery.setErrorStack(entity.getErrorStack()); errorLogQuery.setErrorStack(entity.getErrorStack());
...@@ -97,7 +97,7 @@ public class ErrorLogController extends BaseCRUDJsonBodyMappingController<ErrorL ...@@ -97,7 +97,7 @@ public class ErrorLogController extends BaseCRUDJsonBodyMappingController<ErrorL
entity.setId(errorLogEntity.getId()); entity.setId(errorLogEntity.getId());
entity.setCheckNum(errorLogEntity.getCheckNum() + 1); entity.setCheckNum(errorLogEntity.getCheckNum() + 1);
entity.setUpdateTime(new Date()); entity.setUpdateTime(new Date());
}*/ }
JSONObject ret = new JSONObject(); JSONObject ret = new JSONObject();
ret.put("code", VALUE_RESULT_SUCCESS); ret.put("code", VALUE_RESULT_SUCCESS);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment