| | |
| | | type1 = OperationLogEnum.TYPE_1_SYS.getType(); |
| | | type2 = OperationLogEnum.TYPE_2_USER_ADD.getType(); |
| | | operationTypeName = OperationLogEnum.TYPE_2_USER_ADD.getName(); |
| | | |
| | | }else if(methodName.contains("update")){ //用户修改 |
| | | type1 = OperationLogEnum.TYPE_1_SYS.getType(); |
| | | type2 = OperationLogEnum.TYPE_2_USER_UPDATE.getType(); |
| | |
| | | } |
| | | String operationMsg = "执行了" + className + "的" + operationTypeName + "操作."; |
| | | String operationDetail = "具体调用方法为:" + methodName + ",具体参数为:" + map.toString(); |
| | | if(className.contains("Face")){ |
| | | operationDetail="具体调用方法为:" + methodName + ",具体参数为省略"; |
| | | } |
| | | |
| | | |
| | | service.record(type1, type2, operationMsg, operationDetail); |
| | | |