From cef981d3b56ecc95649950d278f63df240b933a8 Mon Sep 17 00:00:00 2001 From: wangxiang <1827945911@qq.com> Date: Fri, 24 Feb 2023 18:32:44 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=91=E2=80=8D=F0=9F=92=BB=F0=9F=90=B3?= =?UTF-8?q?=20chore:=20remove=20deprecated=20url?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/FUNDING.yml | 14 +------------- .../dolphin/system/controller/UserController.java | 7 ------- 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index c980e4f..37f1767 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,13 +1 @@ -# These are supported funding model platforms - -github: [wangxiang4] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] -patreon: # Replace with a single Patreon username -open_collective: # Replace with a single Open Collective username -ko_fi: # Replace with a single Ko-fi username -tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel -community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry -liberapay: # Replace with a single Liberapay username -issuehunt: # Replace with a single IssueHunt username -otechie: # Replace with a single Otechie username -lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry -custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] +custom: ['https://godolphinx.org/sponsors/index.html'] diff --git a/dolphin-platform/dolphin-platform-biz/dolphin-system-biz/src/main/java/com/cloud/dolphin/system/controller/UserController.java b/dolphin-platform/dolphin-platform-biz/dolphin-system-biz/src/main/java/com/cloud/dolphin/system/controller/UserController.java index 1e53193..8913fda 100644 --- a/dolphin-platform/dolphin-platform-biz/dolphin-system-biz/src/main/java/com/cloud/dolphin/system/controller/UserController.java +++ b/dolphin-platform/dolphin-platform-biz/dolphin-system-biz/src/main/java/com/cloud/dolphin/system/controller/UserController.java @@ -149,13 +149,6 @@ public R updateProfile(@RequestBody User user) { return R.ok(); } - @SysLog("用户头像修改") - @PutMapping("/updateAvatar") - @PreAuthorize("@pms.hasPermission('user_edit')") - public File updateAvatar(@RequestParam("avatarFile") MultipartFile file) { - return fileService.uploadFile(file, null); - } - @SysLog("用户密码修改") @PutMapping("/updatePwd") @PreAuthorize("@pms.hasPermission('user_edit')")