放开部分接口,测试服改回测试数据库
This commit is contained in:
parent
5ddcf3b62e
commit
1c35150b8a
|
|
@ -61,6 +61,11 @@ public class TokenRegistryInterceptor extends HandlerInterceptorAdapter {
|
||||||
limitUri.add("/api/memberOrder");
|
limitUri.add("/api/memberOrder");
|
||||||
limitUri.add("/api/merchantMenber/info");
|
limitUri.add("/api/merchantMenber/info");
|
||||||
limitUri.add("/api/merchantBaseInfo/queryMerchantActivityApplet");
|
limitUri.add("/api/merchantBaseInfo/queryMerchantActivityApplet");
|
||||||
|
limitUri.add("/api/deviceGoods/goodListSimple");
|
||||||
|
limitUri.add("/api/deviceGoods/tagList");
|
||||||
|
limitUri.add("/api/deviceGoods/deviceDetail/");
|
||||||
|
limitUri.add("/api/questionsAnswers");
|
||||||
|
limitUri.add("/api/helpVideo");
|
||||||
boolean passFlag = limitUri.stream().anyMatch(s -> s.equals(requestUri) || requestUri.startsWith(s));
|
boolean passFlag = limitUri.stream().anyMatch(s -> s.equals(requestUri) || requestUri.startsWith(s));
|
||||||
if (passFlag) {
|
if (passFlag) {
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,14 @@
|
||||||
spring:
|
spring:
|
||||||
# datasource:
|
|
||||||
# url: jdbc:mysql://60.205.224.68:3306/chaozhanggui?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
|
|
||||||
# username: root
|
|
||||||
# password: CZGmysqlroot@123
|
|
||||||
# driver-class-name: com.mysql.jdbc.Driver
|
|
||||||
datasource:
|
datasource:
|
||||||
url: jdbc:mysql://rm-bp19ib8x213kh9t450o.rwlb.rds.aliyuncs.com:3306/chaozhanggui?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
|
url: jdbc:mysql://60.205.224.68:3306/chaozhanggui?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
|
||||||
username: root
|
username: root
|
||||||
password: prodCZGmysqlroot@123
|
password: CZGmysqlroot@123
|
||||||
driver-class-name: com.mysql.jdbc.Driver
|
driver-class-name: com.mysql.jdbc.Driver
|
||||||
|
# datasource:
|
||||||
|
# url: jdbc:mysql://rm-bp19ib8x213kh9t450o.rwlb.rds.aliyuncs.com:3306/chaozhanggui?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
|
||||||
|
# username: root
|
||||||
|
# password: prodCZGmysqlroot@123
|
||||||
|
# driver-class-name: com.mysql.jdbc.Driver
|
||||||
parameter:
|
parameter:
|
||||||
### 这个根据自己的情况配置
|
### 这个根据自己的情况配置
|
||||||
domain: https://ky.sxczgkj.cn
|
domain: https://ky.sxczgkj.cn
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,16 @@
|
||||||
spring:
|
spring:
|
||||||
# datasource:
|
|
||||||
# druid:
|
|
||||||
# url: jdbc:mysql://60.205.224.68:3306/chaozhanggui?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8&noAccessToProcedureBodies=true&allowMultiQueries=true
|
|
||||||
# username: root
|
|
||||||
# password: CZGmysqlroot@123
|
|
||||||
# driver-class-name: com.mysql.jdbc.Driver
|
|
||||||
datasource:
|
datasource:
|
||||||
druid:
|
druid:
|
||||||
url: jdbc:mysql://rm-bp19ib8x213kh9t450o.rwlb.rds.aliyuncs.com:3306/chaozhanggui?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
|
url: jdbc:mysql://60.205.224.68:3306/chaozhanggui?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8&noAccessToProcedureBodies=true&allowMultiQueries=true
|
||||||
username: root
|
username: root
|
||||||
password: prodCZGmysqlroot@123
|
password: CZGmysqlroot@123
|
||||||
driver-class-name: com.mysql.jdbc.Driver
|
driver-class-name: com.mysql.jdbc.Driver
|
||||||
|
# datasource:
|
||||||
|
# druid:
|
||||||
|
# url: jdbc:mysql://rm-bp19ib8x213kh9t450o.rwlb.rds.aliyuncs.com:3306/chaozhanggui?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
|
||||||
|
# username: root
|
||||||
|
# password: prodCZGmysqlroot@123
|
||||||
|
# driver-class-name: com.mysql.jdbc.Driver
|
||||||
logging:
|
logging:
|
||||||
config: classpath:log4j2-dev.xml
|
config: classpath:log4j2-dev.xml
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue