|
|
@ -11,10 +11,7 @@ import com.epmet.dto.result.UserBadgeListResultDTO; |
|
|
|
import com.epmet.dto.result.UserOperListResultDTO; |
|
|
|
import com.epmet.service.UserBadgeService; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
|
import org.springframework.web.bind.annotation.RequestBody; |
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
@ -119,8 +116,8 @@ public class UserBadgeController { |
|
|
|
* @date 2020/11/18 下午3:03 |
|
|
|
*/ |
|
|
|
@PostMapping("initbadge") |
|
|
|
public Result initPartyMemberBadge(@RequestBody AddUserPartyBadgeFormDTO formDTO) { |
|
|
|
userBadgeService.initPartyMemberBadge(formDTO.getUserId()); |
|
|
|
public Result initPartyMemberBadge(@RequestParam(required = false) String userId) { |
|
|
|
userBadgeService.initPartyMemberBadge(userId); |
|
|
|
return new Result(); |
|
|
|
} |
|
|
|
} |
|
|
|