Commit e5530cb8 authored by tyn's avatar tyn

Merge branch 'master' of http://47.105.106.177:66/root/sup-server

parents 9c866ac7 9e701eef
################################################################################
# 此 .gitignore 文件已由 Microsoft(R) Visual Studio 自动创建。
################################################################################
/dsk-srm-server/.vs
......@@ -55,19 +55,22 @@ export const getCategoryList = (data) => network({
data
});
export const uploadFile = (data) => network({
url: "/file/uploadFile",
method: "post",
data
});
export const register = (data) => network({
url: "/register",
method: "post",
data
});
export const updatePassApi = (data) => network({
url: "/system/userInfo/resetPwd",
method: "post",
data
});
export const uploadFile = (data) => network({
url: "/file/uploadFile",
method: "post",
data,
headers: {
'Content-Type': 'multipart/form-data'
},
});
This diff is collapsed.
This diff is collapsed.
......@@ -174,8 +174,9 @@ public class UserController {
*@return:
*/
@GetMapping("/logOut")
public void logOut(){
public AjaxResult logOut(){
tokenService.resetPwd(getLoginUser().getUserId());
return AjaxResult.success();
}
......
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