Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CarGuo/GSYSpringBootTemplate
/ functions
Functions
114 in github.com/CarGuo/GSYSpringBootTemplate
⨍
Functions
114
◇
Types & classes
44
↓ 26 callers
Method
put
(String cacheName, Object key, Object value)
src/main/java/com/shuyu/spring/template/utils/CacheUtil.java:32
↓ 14 callers
Method
fail
()
src/main/java/com/shuyu/spring/template/utils/ResponseUtil.java:30
↓ 10 callers
Method
badArgument
()
src/main/java/com/shuyu/spring/template/utils/ResponseUtil.java:44
↓ 9 callers
Method
ok
()
src/main/java/com/shuyu/spring/template/utils/ResponseUtil.java:7
↓ 6 callers
Method
getOrAddCache
(String cacheName)
src/main/java/com/shuyu/spring/template/utils/CacheUtil.java:67
↓ 5 callers
Method
scanner
读取控制台内容
src/main/java/com/shuyu/spring/template/config/db/CodeGenerator.java:22
↓ 4 callers
Method
getByAccount
(@Param("account") String account)
src/main/java/com/shuyu/spring/template/module/user/mapper/UserMapper.java:20
↓ 4 callers
Method
getPassword
()
src/main/java/com/shuyu/spring/template/core/shiro/ManagementProperties.java:22
↓ 4 callers
Method
getUsername
获得token中的信息,无需secret解密也能获得 @return token中包含的用户名
src/main/java/com/shuyu/spring/template/core/shiro/JWTUtil.java:85
↓ 4 callers
Method
serious
()
src/main/java/com/shuyu/spring/template/utils/ResponseUtil.java:61
↓ 4 callers
Method
setPassword
(String password)
src/main/java/com/shuyu/spring/template/core/shiro/ManagementProperties.java:26
↓ 3 callers
Method
add
(@RequestBody @Valid User user)
src/main/java/com/shuyu/spring/template/module/user/controller/UserController.java:36
↓ 3 callers
Method
assertApplicationContext
()
src/main/java/com/shuyu/spring/template/config/SpringContextHolder.java:34
↓ 3 callers
Method
getTimeoutSecond
()
src/main/java/com/shuyu/spring/template/core/sms/tx/TxSmsProperties.java:56
↓ 2 callers
Method
createToken
生成 token, 24 小时后过期 @param username 用户名 @return 加密的token
src/main/java/com/shuyu/spring/template/core/shiro/JWTUtil.java:29
↓ 2 callers
Method
disableToken
清除token
src/main/java/com/shuyu/spring/template/core/shiro/JWTUtil.java:73
↓ 2 callers
Method
get
(String cacheName, Object key)
src/main/java/com/shuyu/spring/template/utils/CacheUtil.java:44
↓ 2 callers
Method
getPermission
(int roleid)
src/main/java/com/shuyu/spring/template/module/role/entity/UserRole.java:85
↓ 1 callers
Method
createWxTmpUser
(String openId)
src/main/java/com/shuyu/spring/template/utils/UserUtils.java:12
↓ 1 callers
Method
executeLogin
执行登陆操作
src/main/java/com/shuyu/spring/template/core/shiro/JWTFilter.java:65
↓ 1 callers
Method
getAppId
()
src/main/java/com/shuyu/spring/template/core/wx/config/WxProperties.java:38
↓ 1 callers
Method
getAppSecret
()
src/main/java/com/shuyu/spring/template/core/wx/config/WxProperties.java:46
↓ 1 callers
Method
getAppid
()
src/main/java/com/shuyu/spring/template/core/sms/tx/TxSmsProperties.java:24
↓ 1 callers
Method
getAppkey
()
src/main/java/com/shuyu/spring/template/core/sms/tx/TxSmsProperties.java:32
↓ 1 callers
Method
getBean
(String beanName)
src/main/java/com/shuyu/spring/template/config/SpringContextHolder.java:23
↓ 1 callers
Method
getByAccount
(String account)
src/main/java/com/shuyu/spring/template/module/user/service/IUserService.java:19
↓ 1 callers
Method
getCredentials
()
src/main/java/com/shuyu/spring/template/core/shiro/JWTToken.java:20
↓ 1 callers
Method
getPrincipal
()
src/main/java/com/shuyu/spring/template/core/shiro/JWTToken.java:15
↓ 1 callers
Method
getSmsSign
()
src/main/java/com/shuyu/spring/template/core/sms/tx/TxSmsProperties.java:48
↓ 1 callers
Method
getTemplateId
()
src/main/java/com/shuyu/spring/template/core/sms/tx/TxSmsProperties.java:40
↓ 1 callers
Method
getUserInfo
(@Param("account") String account)
src/main/java/com/shuyu/spring/template/module/user/mapper/UserMapper.java:22
↓ 1 callers
Method
getUserInfo
(String account)
src/main/java/com/shuyu/spring/template/module/user/service/IUserService.java:21
↓ 1 callers
Method
initCreateUser
(User user)
src/main/java/com/shuyu/spring/template/utils/UserUtils.java:31
↓ 1 callers
Method
isLoginAttempt
判断用户是否想要登入。 检测 header 里面是否包含 Token 字段
src/main/java/com/shuyu/spring/template/core/shiro/JWTFilter.java:55
↓ 1 callers
Method
localDateTimeDeserializer
()
src/main/java/com/shuyu/spring/template/config/LocalDateTimeSerializerConfig.java:20
↓ 1 callers
Method
login
跳转到登录页面
src/main/java/com/shuyu/spring/template/core/login/LoginController.java:26
↓ 1 callers
Method
remove
(String cacheName, Object key)
src/main/java/com/shuyu/spring/template/utils/CacheUtil.java:59
↓ 1 callers
Method
responseError
将非法请求跳转到 /unauthorized/
src/main/java/com/shuyu/spring/template/core/shiro/JWTFilter.java:97
↓ 1 callers
Method
selectDateStatistics
()
src/main/java/com/shuyu/spring/template/module/user/mapper/UserMapper.java:24
↓ 1 callers
Method
selectDateStatistics
()
src/main/java/com/shuyu/spring/template/module/user/service/IUserService.java:23
↓ 1 callers
Method
setAppid
(int appid)
src/main/java/com/shuyu/spring/template/core/sms/tx/TxSmsProperties.java:28
↓ 1 callers
Method
setUsername
(String username)
src/main/java/com/shuyu/spring/template/core/shiro/ManagementProperties.java:18
↓ 1 callers
Method
verify
校验 token 是否正确 @param token 密钥 @param username 用户名 @return 是否正确
src/main/java/com/shuyu/spring/template/core/shiro/JWTUtil.java:54
Method
JWTToken
(String token)
src/main/java/com/shuyu/spring/template/core/shiro/JWTToken.java:11
Method
ManagementFilter
(ManagementProperties managementProperties)
src/main/java/com/shuyu/spring/template/core/shiro/ManagementFilter.java:19
Method
ShiroDbRealm
(IUserService userService)
src/main/java/com/shuyu/spring/template/core/shiro/ShiroDbRealm.java:28
Method
addArgumentResolvers
(List<HandlerMethodArgumentResolver> argumentResolvers)
src/main/java/com/shuyu/spring/template/config/AppWebMvcConfiguration.java:16
Method
addCorsMappings
跨域
src/main/java/com/shuyu/spring/template/config/AppWebMvcConfiguration.java:24
Method
authorizationAttributeSourceAdvisor
(SecurityManager securityManager)
src/main/java/com/shuyu/spring/template/core/shiro/ShiroConfig.java:98
Method
authorizationExceptionHandler
(AuthorizationException ex)
src/main/java/com/shuyu/spring/template/config/ExceptionController.java:21
Method
badArgumentValue
()
src/main/java/com/shuyu/spring/template/utils/ResponseUtil.java:53
Method
cacheManager
EhCache的配置
src/main/java/com/shuyu/spring/template/config/EhCacheConfig.java:21
Method
contextLoads
()
src/test/java/com/shuyu/spring/template/TemplateApplicationTests.java:12
Method
defaultAdvisorAutoProxyCreator
()
src/main/java/com/shuyu/spring/template/core/shiro/ShiroConfig.java:90
Method
doGetAuthenticationInfo
默认使用此方法进行用户名正确与否验证,错误抛出异常即可。
src/main/java/com/shuyu/spring/template/core/shiro/ShiroDbRealm.java:44
Method
doGetAuthorizationInfo
只有当需要检测用户权限的时候才会调用此方法,例如checkRole,checkPermission之类的
src/main/java/com/shuyu/spring/template/core/shiro/ShiroDbRealm.java:67
Method
ehcache
EhCache的配置
src/main/java/com/shuyu/spring/template/config/EhCacheConfig.java:29
Method
executeLogin
(ServletRequest request, ServletResponse response)
src/main/java/com/shuyu/spring/template/core/shiro/ManagementFilter.java:33
Method
getAll
(@LoginUser User user, @RequestParam(defaultValue = "1") Integer page, @RequestParam(defaultValue = "0") Integ
src/main/java/com/shuyu/spring/template/module/user/controller/UserController.java:48
Method
getAll
(@LoginUser User user, @RequestBody String phoneNumbers)
src/main/java/com/shuyu/spring/template/core/sms/tx/TxSmsController.java:32
Method
getApplicationContext
()
src/main/java/com/shuyu/spring/template/config/SpringContextHolder.java:18
Method
getByAccount
(String account)
src/main/java/com/shuyu/spring/template/module/user/service/impl/UserServiceImpl.java:23
Method
getInfo
(@LoginUser @Valid User user)
src/main/java/com/shuyu/spring/template/module/user/controller/UserController.java:31
Method
getKeyPath
()
src/main/java/com/shuyu/spring/template/core/wx/config/WxProperties.java:62
Method
getKeys
(String cacheName)
src/main/java/com/shuyu/spring/template/utils/CacheUtil.java:55
Method
getMchId
()
src/main/java/com/shuyu/spring/template/core/wx/config/WxProperties.java:54
Method
getMchKey
()
src/main/java/com/shuyu/spring/template/core/wx/config/WxProperties.java:30
Method
getNotifyUrl
()
src/main/java/com/shuyu/spring/template/core/wx/config/WxProperties.java:22
Method
getOpenId
获取OpenId @param wxCode 小程序登录Code
src/main/java/com/shuyu/spring/template/core/wx/WxAuthController.java:42
Method
getPagesize
()
src/main/java/com/shuyu/spring/template/config/GlobalProperties.java:12
Method
getSmsSingleSender
()
src/main/java/com/shuyu/spring/template/core/sms/tx/TxSmsConfig.java:15
Method
getStatistics
()
src/main/java/com/shuyu/spring/template/module/user/controller/UserController.java:56
Method
getUserInfo
(String account)
src/main/java/com/shuyu/spring/template/module/user/service/impl/UserServiceImpl.java:28
Method
getUsername
()
src/main/java/com/shuyu/spring/template/core/shiro/ManagementProperties.java:14
Method
handle
(MethodArgumentNotValidException exception)
src/main/java/com/shuyu/spring/template/config/ExceptionController.java:26
Method
hash
(String content, String algorithm)
src/main/java/com/shuyu/spring/template/core/wx/utils/HashUtil.java:9
Method
isAccessAllowed
如果带有 token,则对 token 进行检查,否则直接通过
src/main/java/com/shuyu/spring/template/core/shiro/JWTFilter.java:27
Method
isAccessAllowed
(ServletRequest request, ServletResponse response, Object mappedValue)
src/main/java/com/shuyu/spring/template/core/shiro/ManagementFilter.java:23
Method
isLoginAttempt
(ServletRequest request, ServletResponse response)
src/main/java/com/shuyu/spring/template/core/shiro/ManagementFilter.java:28
Method
jackson2ObjectMapperBuilderCustomizer
()
src/main/java/com/shuyu/spring/template/config/LocalDateTimeSerializerConfig.java:25
Method
lifecycleBeanPostProcessor
()
src/main/java/com/shuyu/spring/template/core/shiro/ShiroConfig.java:105
Method
logout
跳转到登录页面
src/main/java/com/shuyu/spring/template/core/login/LoginController.java:60
Method
main
(String[] args)
src/main/java/com/shuyu/spring/template/TemplateApplication.java:9
Method
main
(String[] args)
src/main/java/com/shuyu/spring/template/config/db/CodeGenerator.java:36
Method
onApplicationEvent
(ApplicationEvent event)
src/main/java/com/shuyu/spring/template/config/ApplicationEventListener.java:16
Method
paginationInterceptor
分页插件
src/main/java/com/shuyu/spring/template/config/db/MybatisPlusConfig.java:19
Method
preHandle
对跨域提供支持
src/main/java/com/shuyu/spring/template/core/shiro/JWTFilter.java:79
Method
removeAll
(String cacheName)
src/main/java/com/shuyu/spring/template/utils/CacheUtil.java:63
Method
resolveArgument
(MethodParameter parameter, ModelAndViewContainer container, NativeWebReques
src/main/java/com/shuyu/spring/template/annotation/support/LoginUserHandlerMethodArgumentResolver.java:22
Method
securityShiroManager
注入 securityManager
src/main/java/com/shuyu/spring/template/core/shiro/ShiroConfig.java:66
Method
selectDateStatistics
()
src/main/java/com/shuyu/spring/template/module/user/service/impl/UserServiceImpl.java:33
Method
setAppId
(String appId)
src/main/java/com/shuyu/spring/template/core/wx/config/WxProperties.java:42
Method
setAppSecret
(String appSecret)
src/main/java/com/shuyu/spring/template/core/wx/config/WxProperties.java:50
Method
setAppkey
(String appkey)
src/main/java/com/shuyu/spring/template/core/sms/tx/TxSmsProperties.java:36
Method
setApplicationContext
(ApplicationContext applicationContext)
src/main/java/com/shuyu/spring/template/config/SpringContextHolder.java:13
Method
setKeyPath
(String keyPath)
src/main/java/com/shuyu/spring/template/core/wx/config/WxProperties.java:66
Method
setMchId
(String mchId)
src/main/java/com/shuyu/spring/template/core/wx/config/WxProperties.java:58
Method
setMchKey
(String mchKey)
src/main/java/com/shuyu/spring/template/core/wx/config/WxProperties.java:34
Method
setNotifyUrl
(String notifyUrl)
src/main/java/com/shuyu/spring/template/core/wx/config/WxProperties.java:26
Method
setPagesize
(int pagesize)
src/main/java/com/shuyu/spring/template/config/GlobalProperties.java:16
next →
1–100 of 114, ranked by callers