diff --git a/data/magic-api/api/后台/用户管理/个人信息修改.ms b/data/magic-api/api/后台/用户管理/个人信息修改.ms index e0a87cc..327df88 100644 --- a/data/magic-api/api/后台/用户管理/个人信息修改.ms +++ b/data/magic-api/api/后台/用户管理/个人信息修改.ms @@ -5,7 +5,7 @@ "groupId" : "4f0230049d7e4f39b1e0897cc0f46f9a", "name" : "个人信息修改", "createTime" : null, - "updateTime" : 1643710989215, + "updateTime" : 1643713357950, "lock" : "0", "method" : "POST", "path" : "/center/update", @@ -31,4 +31,4 @@ var data = { if(newPassword){ data.password = newPassword ? SaSecureUtil.sha256(newPassword) : '' } -return db.table('sys_user').primary('id').update(data) \ No newline at end of file +return db.table('sys_user').primary('id').update(data, true) \ No newline at end of file diff --git a/magic-boot-ui/src/layout/components/Navbar.vue b/magic-boot-ui/src/layout/components/Navbar.vue index 5b99b88..8fc96c2 100644 --- a/magic-boot-ui/src/layout/components/Navbar.vue +++ b/magic-boot-ui/src/layout/components/Navbar.vue @@ -16,7 +16,7 @@
- + {{ $store.getters.username }}({{ $store.getters.name }})