b端登录调整
This commit is contained in:
@@ -40,9 +40,9 @@ public class TokenValidateFilter implements Filter {
|
||||
|
||||
private static List<String> patternList =
|
||||
|
||||
Lists.newArrayList("/web/check/ok","/check/ok", "/partner/pc/doc.html","/partner/pc/v2/api-docs","/**/test/**",
|
||||
"/**/swagger*/**",
|
||||
"/**/webjars/**");
|
||||
Lists.newArrayList("/web/check/ok","/check/ok",
|
||||
"/partner/pc/doc.html","/partner/pc/v2/api-docs","/**/test/**","/partner/pc/feiShuLogin",
|
||||
"/**/swagger*/**", "/**/webjars/**");
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -4,6 +4,7 @@ import com.cool.store.constants.CommonConstants;
|
||||
import com.cool.store.dto.DatasourceInfoDTO;
|
||||
import com.cool.store.entity.EnterpriseConfigDO;
|
||||
import com.cool.store.service.EnterpriseConfigService;
|
||||
import com.cool.store.utils.DataSourceHelper;
|
||||
import com.cool.store.utils.RedisUtilPool;
|
||||
import com.cool.store.context.DataSourceContext;
|
||||
import com.github.pagehelper.Page;
|
||||
@@ -80,6 +81,7 @@ public class DynamicDataSourceServiceImpl {
|
||||
PageHelper.clearPage();
|
||||
}
|
||||
String currentDbName = DataSourceContext.getDataSourceType();
|
||||
DataSourceHelper.reset();
|
||||
EnterpriseConfigDO config = enterpriseConfigService.getDbInfoByDbName(dbName);
|
||||
dbServerUrl = config.getDbServer();
|
||||
if(StringUtils.isNotBlank(currentDbName)){
|
||||
|
||||
@@ -33,7 +33,7 @@ mybatis.mapper-locations=classpath*:mapper/**/*Mapper.xml
|
||||
mybatis.configuration.call-setters-on-nulls=true
|
||||
mybatis.configuration.map-underscore-to-camel-case=true
|
||||
|
||||
isv.domain = https://tstore-isv.coolcollege.cn
|
||||
isv.domain = https://abstore-isv.coolstore.cn
|
||||
|
||||
#rocketmq \u914D\u7F6E
|
||||
rocketmq.accessKey=LTAI5t5ouXZuFgxJMbQea3b2
|
||||
|
||||
@@ -37,7 +37,7 @@ mybatis.mapper-locations=classpath*:mapper/**/*Mapper.xml
|
||||
mybatis.configuration.call-setters-on-nulls=true
|
||||
mybatis.configuration.map-underscore-to-camel-case=true
|
||||
|
||||
isv.domain = https://dstore-isv.coolcollege.cn
|
||||
isv.domain = https://abstore-isv.coolstore.cn
|
||||
|
||||
#rocketmq \u914D\u7F6E
|
||||
rocketmq.accessKey=LTAI5t5ouXZuFgxJMbQea3b2
|
||||
|
||||
@@ -40,7 +40,7 @@ customize_sub_table_size=10
|
||||
mybatis.configuration.call-setters-on-nulls=true
|
||||
mybatis.configuration.map-underscore-to-camel-case=true
|
||||
|
||||
isv.domain = https://tstore-isv.coolcollege.cn
|
||||
isv.domain = https://abstore-isv.coolstore.cn
|
||||
|
||||
#rocketmq \u914D\u7F6E
|
||||
rocketmq.accessKey=LTAI5t5ouXZuFgxJMbQea3b2
|
||||
|
||||
Reference in New Issue
Block a user