|
@@ -2,11 +2,10 @@ package com.caimei365.user.controller;
|
|
|
|
|
|
import com.caimei365.user.model.ResponseJson;
|
|
|
import com.caimei365.user.model.dto.ClubUpdateDto;
|
|
|
-import com.caimei365.user.model.dto.ClubUpgradeDto;
|
|
|
-import com.caimei365.user.model.po.ClubPo;
|
|
|
import com.caimei365.user.service.ClubService;
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
@@ -70,7 +69,7 @@ public class ClubApi {
|
|
|
* }
|
|
|
* @return ClubUpdateDto
|
|
|
*/
|
|
|
- @GetMapping("/info/update")
|
|
|
+ @PostMapping("/info/update")
|
|
|
public ResponseJson<ClubUpdateDto> updateClubUserInfo(ClubUpdateDto club) {
|
|
|
return clubService.updateClubUserInfo(club);
|
|
|
}
|