|
|
@ -0,0 +1,29 @@ |
|
|
|
|
|
package com.qniao.dam.api.query.rewardconfig.user; |
|
|
|
|
|
|
|
|
|
|
|
import com.qniao.dam.api.query.rewardconfig.user.request.UserGetRewardConfigDetailQueryParams; |
|
|
|
|
|
import com.qniao.dam.api.query.rewardconfig.user.response.UserGetRewardConfigDetailVo; |
|
|
|
|
|
import com.qniao.dam.query.rewardconfig.RewardConfigQueryService; |
|
|
|
|
|
import io.swagger.annotations.Api; |
|
|
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestParam; |
|
|
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
|
|
|
|
|
|
|
|
import javax.annotation.Resource; |
|
|
|
|
|
|
|
|
|
|
|
@RestController |
|
|
|
|
|
@RequestMapping("user") |
|
|
|
|
|
@Api(tags = "奖励配置") |
|
|
|
|
|
public class RewardConfigUserQueryController { |
|
|
|
|
|
|
|
|
|
|
|
@Resource |
|
|
|
|
|
private RewardConfigQueryService rewardConfigQueryService; |
|
|
|
|
|
|
|
|
|
|
|
@GetMapping("get/reward-config-detail") |
|
|
|
|
|
@ApiOperation("客户获取奖励配置") |
|
|
|
|
|
public UserGetRewardConfigDetailVo useGetRewardConfigDetail(@RequestParam UserGetRewardConfigDetailQueryParams queryParams) { |
|
|
|
|
|
return rewardConfigQueryService.getRewardConfigDetail(queryParams); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |