Commit 00e9f4b1 by stylefeng

修改A大写

parent 3d5d3f7c
...@@ -161,7 +161,7 @@ public class ShiroConfig { ...@@ -161,7 +161,7 @@ public class ShiroConfig {
*/ */
Map<String, String> hashMap = new LinkedHashMap<>(); Map<String, String> hashMap = new LinkedHashMap<>();
hashMap.put("/static/**", "anon"); hashMap.put("/static/**", "anon");
hashMap.put("/gunsapi/**", "anon"); hashMap.put("/gunsApi/**", "anon");
hashMap.put("/login", "anon"); hashMap.put("/login", "anon");
hashMap.put("/global/sessionError", "anon"); hashMap.put("/global/sessionError", "anon");
hashMap.put("/kaptcha", "anon"); hashMap.put("/kaptcha", "anon");
......
...@@ -56,7 +56,7 @@ public class WebConfig extends WebMvcConfigurerAdapter { ...@@ -56,7 +56,7 @@ public class WebConfig extends WebMvcConfigurerAdapter {
*/ */
@Override @Override
public void addInterceptors(InterceptorRegistry registry) { public void addInterceptors(InterceptorRegistry registry) {
registry.addInterceptor(new RestApiInteceptor()).addPathPatterns("/gunsapi/**"); registry.addInterceptor(new RestApiInteceptor()).addPathPatterns("/gunsApi/**");
} }
/** /**
......
...@@ -13,7 +13,7 @@ import org.springframework.web.bind.annotation.RestController; ...@@ -13,7 +13,7 @@ import org.springframework.web.bind.annotation.RestController;
* @Date 2018/7/20 23:39 * @Date 2018/7/20 23:39
*/ */
@RestController @RestController
@RequestMapping("/gunsapi") @RequestMapping("/gunsApi")
public class ApiController extends BaseController { public class ApiController extends BaseController {
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment