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')")