缩短token长度,适配主分支前端页面登录

This commit is contained in:
EightMonth
2024-07-15 17:11:05 +08:00
parent 7d8b653d6e
commit 0e762b4157
9 changed files with 276 additions and 153 deletions

View File

@ -89,9 +89,8 @@ public class LoginController {
* @param sysLoginModel
* @return
*/
@Deprecated
// @Operation(summary = "登录接口")
// @RequestMapping(value = "/login", method = RequestMethod.POST)
@Operation(summary = "登录接口")
@RequestMapping(value = "/login", method = RequestMethod.POST)
public Result<JSONObject> login(@RequestBody SysLoginModel sysLoginModel, HttpServletRequest request){
Result<JSONObject> result = new Result<JSONObject>();
String username = sysLoginModel.getUsername();