Compare commits
	
		
			No commits in common. "0dce3033de36fb3d7e48611ecc2deb40a106620b" and "04e5403878917b19356a1229136cb3522cd82c85" have entirely different histories. 
		
	
	
		
			0dce3033de
			...
			04e5403878
		
	
		|  | @ -31,7 +31,7 @@ public class WhiteApiCache implements InitializingBean { | |||
|         taskExecutor.execute(() -> { | ||||
|             //设置白名单
 | ||||
|             List<String> whiteList = Lists.newArrayList("^GET:/v1/users/permissions$", | ||||
|                     "^GET:/v1/login/detail$", "^GET:/v1/trx/randomstr$", "^POST:/v1/trx/login$", "^POST:/v1/trx/logout$", "^GET:/v1/messages$", "^GET:/v1/token$","^POST:/v1/token/check$", | ||||
|                     "^GET:/v1/login/detail$", "^GET:/v1/messages$", "^GET:/v1/token$","^POST:/v1/token/check$", | ||||
|                     "^POST:/v1/users/logout$", "^POST:/v1/tenants/logout$", "^GET:/v1/config/license$", "^GET:/v1/roles/ids$"); | ||||
|             redisTemplate.opsForValue().set("permission_white", JSONObject.toJSONString(whiteList)); | ||||
|         }); | ||||
|  |  | |||
|  | @ -11,9 +11,9 @@ import org.springframework.stereotype.Component; | |||
| @Component | ||||
| public class QxUtils { | ||||
|     private final Logger logger = LoggerFactory.getLogger(this.getClass()); | ||||
|     @Value("${qx.queryAppUrl:http://117.47.88.120:8081/authority/api/v1/apps}") | ||||
|     @Value("${qx.queryAppUrl}") | ||||
|     private String queryAppUrl; | ||||
|     @Value("${qx.queryAppModulesUrl:http://117.47.88.120:8081/authority/api/v1/appModules}") | ||||
|     @Value("${qx.queryAppModulesUrl}") | ||||
|     private String queryAppModulesUrl; | ||||
| 
 | ||||
|     public String queryApp(String userToken, String userId){ | ||||
|  |  | |||
|  | @ -13,13 +13,13 @@ import org.springframework.stereotype.Component; | |||
| public class YkUtils { | ||||
|     private final Logger logger = LoggerFactory.getLogger(this.getClass()); | ||||
| 	//参考application.yml配置文件
 | ||||
|     @Value("${yk.url:http://36.111.150.83:9527/}") | ||||
|     @Value("${yk.url}") | ||||
|     private String url; | ||||
| 
 | ||||
|     @Value("${yk.reqUserId:1}") | ||||
|     @Value("${yk.reqUserId}") | ||||
|     private String reqUserId; | ||||
| 
 | ||||
|     @Value("${yk.systemId:1}") | ||||
|     @Value("${yk.systemId}") | ||||
|     private String systemId; | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue