| | |
| | | import com.xiaopeng.api.dto.account.GetUserCouponDto; |
| | | import com.xiaopeng.api.dto.account.UseUserCouponDto; |
| | | import com.xiaopeng.api.factory.account.XpAppUserCouponClientFallbackFactory; |
| | | import com.xiaopeng.api.model.account.XpAppUserCoupon; |
| | | import com.xiaopeng.api.vo.account.UserCouponVo; |
| | | import com.xiaopeng.common.core.domain.R; |
| | | import com.xiaopeng.common.core.dto.ServiceNameConstantsEnum; |
| | |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 小程序用户Feign客户端 |
| | |
| | | @ApiOperation(value = "活动发放优惠券", tags = {"管理后台-活动发放优惠券"}) |
| | | R<String> saveInfo_activity(@RequestBody UseUserCouponDto dto) ; |
| | | |
| | | |
| | | |
| | | /** |
| | | * 获取用户活动领取的优惠券 |
| | | * @return |
| | | */ |
| | | @PostMapping("/logan/inner/appUserCoupon/getXpAppUserCoupon") |
| | | R<List<XpAppUserCoupon>> getXpAppUserCoupon(@RequestParam Long activityId); |
| | | } |