| | |
| | | //获取类型 |
| | | String[] fullClassNameSplit = fullClassName.split("\\."); |
| | | String classNameTrue = fullClassNameSplit[fullClassNameSplit.length-1]; |
| | | String className = classNameTrue.replace("Controller","模块"); |
| | | |
| | | String module = "模块"; |
| | | String app = "-安卓端"; |
| | | String moduleEnus = "module"; |
| | | String appEnus = "-android"; |
| | | String className = classNameTrue.replace("Controller:", module); |
| | | String classNameEnus = classNameTrue.replace("Controller:", moduleEnus); |
| | | //排除语音触发的日志记录 |
| | | if(!classNameTrue.equals("VoiceController")) { |
| | | |
| | | if (fullClassName.contains("app")) { |
| | | className += "-安卓端"; |
| | | className += app; |
| | | classNameEnus += appEnus; |
| | | } |
| | | |
| | | //操作时间 |
| | |
| | | } |
| | | String operationMsg = "执行了" + className + "的" + operationTypeName + "操作."; |
| | | String operationDetail = "具体调用方法为:" + methodName + ",具体参数为:" + map.toString(); |
| | | String operationMsgEnUs = "executed:" + className + " " + operationTypeNameEn + " operation "; |
| | | String operationMsgEnUs = "executed:" + classNameEnus + " " + operationTypeNameEn + " operation "; |
| | | String operationDetailEnUs = "Specific calling method is " + methodName + ",Specific parameters are " + map.toString(); |
| | | |
| | | service.record(uId, operationType, operationTime, terminalIp, operationMsg, operationDetail, operationMsgEnUs, operationDetailEnUs); |