瀏覽代碼

日志调用@Reference调整

shanxin 4 年之前
父節點
當前提交
5fb51c1d9d
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 2 2
      README.md
  2. 1 1
      sailun-allsteel-app-rest/src/main/java/io/platform/config/aspect/LogAopAspcet.java

+ 2 - 2
README.md

@@ -15,7 +15,7 @@ sys-provider 9403:运营平台系统dubbo服务
 app-rest 8503: app-rest服务
 bus-provider 9503: app业务dubbo服务
 schedule-rest 9999: 定时任务rest
-wechat-rest 8603: 微信rest
+wechat-rest 8603: 微信rest(二期使用)
 
 
 
@@ -30,5 +30,5 @@ location /api/sys/{
 
 # 接口规范
 1.app接口为方便前端测试查看,统一添加Swagger注解,注解信息存在SailunAppSwaggerController类中。前端访问 http://localhost:8503/swagger-ui.html
-2.@Login登录token校验
+2.APP端Token校验,使用@Login注解 验证用户token
 3.日志记录,在需要记录日志操作的方法上添加@FuncLogAnno(functionName = "接口功能描述")

+ 1 - 1
sailun-allsteel-app-rest/src/main/java/io/platform/config/aspect/LogAopAspcet.java

@@ -51,7 +51,7 @@ public class LogAopAspcet {
     public JwtUtils jwtUtils;
 
 
-    @Reference
+    @Reference(check = false)
     public SysFunctionLogServiceClient sysFunctionLogServiceClient;