peng
4 天以前 09310a5a6da2ffccc17f460244fb9a09ec3ff68b
buyer-api/src/main/java/cn/lili/controller/lmk/PrizeController.java
@@ -1,7 +1,6 @@
package cn.lili.controller.lmk;
import cn.lili.base.Result;
import cn.lili.modules.lmk.domain.entity.PrizeRecord;
import cn.lili.modules.lmk.service.PrizeService;
import io.swagger.annotations.Api;
import lombok.RequiredArgsConstructor;
@@ -49,4 +48,14 @@
    public Result prizeInfo(@PathVariable String prizeActivityId) {
        return prizeService.prizeInfo(prizeActivityId);
    }
    /**
     * 获取获取最近中奖信息
     *
     * @param prizeActivityId
     * @return
     */
    @PostMapping("/grantRecord/{prizeActivityId}")
    public Result grantRecord(@PathVariable String prizeActivityId) {
        return prizeService.grantRecord(prizeActivityId);
    }
}