You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.7 KiB

package com.qniao.dam.application;
import com.qniao.dam.application.request.*;
import com.qniao.dam.application.response.UserCheckEnableRightBySdkVo;
import com.qniao.dam.application.response.UserConsumeRightBySdkVo;
import com.qniao.framework.annotation.IgnoreResponseAdvice;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import javax.validation.Valid;
@FeignClient("eureka-client-dating-agency-mall")
@RequestMapping("dating-agency-mall")
public interface MallServerApplicationService {
/**
* 客户检查可用权益
*
* @param queryParam
* @return
*/
@PostMapping("/user/check/enable-right/by/sdk")
UserCheckEnableRightBySdkVo userCheckEnableRightBySdk(@RequestBody UserCheckEnableRightBySdkQueryParam queryParam);
@PostMapping("/user/consume/right/by/sdk")
UserConsumeRightBySdkVo userConsumeRightBySdk(@RequestBody UserConsumeRightBySdkDto dto);
/**
* 通过SDK退回消费过的权益
*/
@PostMapping("/user/send-back/right/by/sdk")
void userSendBackRightBySdk(@RequestBody UserSendBackBightBySdkDto dto);
/**
* 新用户获取赠送的权益
*/
@PostMapping("/user/acquire/new-mi-right/by/sdk")
void userAcquireNewMIRight(@RequestBody @Valid UserAcquireNewMIRightBySdkDto dto);
/**
* 通过SDK获得奖励
*/
@PostMapping("/user/acquire/matchmaker-join-recommend/reward/by/sdk")
@IgnoreResponseAdvice
void userAcquireMatchmakerJoinRecommendRewardBySdk(@RequestBody @Valid UserAcquireMatchmakerJoinRecommendRewardDto dto);
}