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({ ...@@ -55,19 +55,22 @@ export const getCategoryList = (data) => network({
data data
}); });
export const uploadFile = (data) => network({
url: "/file/uploadFile",
method: "post",
data
});
export const register = (data) => network({ export const register = (data) => network({
url: "/register", url: "/register",
method: "post", method: "post",
data
}); });
export const updatePassApi = (data) => network({ export const updatePassApi = (data) => network({
url: "/system/userInfo/resetPwd", url: "/system/userInfo/resetPwd",
method: "post", method: "post",
data data
}); });
export const uploadFile = (data) => network({
url: "/file/uploadFile",
method: "post",
data,
headers: {
'Content-Type': 'multipart/form-data'
},
});
...@@ -781,7 +781,7 @@ export default { ...@@ -781,7 +781,7 @@ export default {
} }
} }
/*注册样式*/ /*注册样式*/
::v-deep .el-dialog.registration { ::v-deep .el-dialog.registration {
height: calc(100% - 132px); height: calc(100% - 132px);
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; overflow-x: hidden;
...@@ -1050,8 +1050,12 @@ export default { ...@@ -1050,8 +1050,12 @@ export default {
} }
} }
} }
} }
::v-deep .el-dialog.registration-policy { ::v-deep .el-dialog.registration-policy {
.el-dialog__title {
font-weight: bold;
}
.el-dialog__body { .el-dialog__body {
height: 567px; height: 567px;
overflow-y: auto; overflow-y: auto;
...@@ -1067,5 +1071,5 @@ export default { ...@@ -1067,5 +1071,5 @@ export default {
padding: 9px 20px; padding: 9px 20px;
} }
} }
} }
</style> </style>
This diff is collapsed.
...@@ -174,8 +174,9 @@ public class UserController { ...@@ -174,8 +174,9 @@ public class UserController {
*@return: *@return:
*/ */
@GetMapping("/logOut") @GetMapping("/logOut")
public void logOut(){ public AjaxResult logOut(){
tokenService.resetPwd(getLoginUser().getUserId()); 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