集成最新版Swagger2接口文档,更新sql文件,更新README.MD,代码优化

This commit is contained in:
郑杰
2018-09-23 10:59:31 +08:00
parent 3184d3ef12
commit 5a9f651f54
3 changed files with 8 additions and 4 deletions
@@ -35,7 +35,7 @@ public class RedisController {
}
@Log("执行Redis keys命令")
@RequestMapping("keys")
@GetMapping("keys")
public ResponseEntity keys(String arg) {
try {
Set<String> set = this.redisService.getKeys(arg);
@@ -32,7 +32,7 @@ public class UserSecurityController {
private MenuService menuService;
@Log("用户登录")
@RequestMapping(value = "/login")
@PostMapping(value = "/login")
public ResponseEntity login(@RequestParam String username, @RequestParam String password, @RequestParam Boolean rememberMe){
log.warn("REST request to login User: "+username);
password = MD5Utils.encrypt(password);