Skip to content

Commit ae2abf3

Browse files
committed
优化结构
1 parent 019a038 commit ae2abf3

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

hsweb-web-core/src/main/java/org/hsweb/web/core/authorize/AopAuthorizeValidator.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,17 @@
22

33
import org.aspectj.lang.ProceedingJoinPoint;
44
import org.aspectj.lang.reflect.MethodSignature;
5+
import org.hsweb.commons.ClassUtils;
6+
import org.hsweb.commons.StringUtils;
7+
import org.hsweb.web.bean.po.user.User;
58
import org.hsweb.web.core.authorize.annotation.Authorize;
69
import org.hsweb.web.core.authorize.oauth2.OAuth2Manager;
710
import org.hsweb.web.core.authorize.validator.SimpleAuthorizeValidator;
8-
import org.hsweb.web.bean.po.user.User;
911
import org.hsweb.web.core.exception.AuthorizeException;
1012
import org.hsweb.web.core.session.HttpSessionManager;
1113
import org.hsweb.web.core.utils.AopUtils;
12-
import org.hsweb.web.core.utils.ThreadLocalUtils;
1314
import org.hsweb.web.core.utils.WebUtil;
1415
import org.springframework.beans.factory.annotation.Autowired;
15-
import org.hsweb.commons.ClassUtils;
16-
import org.hsweb.commons.StringUtils;
1716

1817
import javax.servlet.http.HttpServletRequest;
1918
import javax.servlet.http.HttpSession;

hsweb-web-datasource/src/main/java/org/hsweb/web/datasource/dynamic/DynamicDataSourceAutoConfiguration.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ public DynamicXaDataSourceImpl dynamicXaDataSource(@Qualifier("dataSource") Data
8686
}
8787

8888
@Bean(initMethod = "init", destroyMethod = "close")
89-
public UserTransactionManager userTransactionManager() {
89+
public UserTransactionManager userTransactionManager(
90+
UserTransactionService userTransactionService) {
9091
UserTransactionManager transactionManager = new UserTransactionManager();
9192
transactionManager.setForceShutdown(true);
9293
transactionManager.setStartupTransactionService(false);

hsweb-web-service/hsweb-web-service-api/src/main/java/org/hsweb/web/service/config/ConfigService.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ public interface ConfigService extends GenericService<Config, String> {
4747
*/
4848
String get(String name, String key, String defaultValue);
4949

50-
5150
/**
5251
* 参照 {@link ConfigService#get(String, String)},将值转为int类型
5352
*/

0 commit comments

Comments
 (0)