| | |
| | | if (methodSignature.contains("FaceController.add") || methodSignature.contains("FaceController.update")) { |
| | | map = new HashMap<>(); |
| | | } |
| | | |
| | | String operationMsg = "执行了" + className + "的" + operationTypeName + "操作."; |
| | | String operationDetail = "具体调用方法为:" + methodName + ",具体参数为:" + map.toString(); |
| | | |
| | | |
| | | //根据当前的语言环境设置不同的日志记录 |
| | | String lang = ActionUtil.getLang(); |
| | | if (!lang.contains("zh")) { |
| | | operationMsg = "executed:" + className + " operation"; |
| | | operationDetail = "Specific calling method is " + methodName + ",Specific parameters are " + map.toString(); |
| | | } |
| | | service.record(uId, operationType, operationTime, terminalIp, operationMsg, operationDetail); |
| | | } |
| | | |