KKSU
2023-11-22 c3793ad938cefba5fa76258d70e0cbc37bcf151c
src/main/java/cc/mrbird/febs/mall/controller/ViewNewsController.java
@@ -4,7 +4,9 @@
import cc.mrbird.febs.common.utils.FebsUtil;
import cc.mrbird.febs.mall.entity.MallNewsCategory;
import cc.mrbird.febs.mall.entity.MallNewsInfo;
import cc.mrbird.febs.mall.entity.MallProductBuy;
import cc.mrbird.febs.mall.entity.MallProductNft;
import cc.mrbird.febs.mall.mapper.MallProductBuyMapper;
import cc.mrbird.febs.mall.mapper.MallProductNftMapper;
import cc.mrbird.febs.mall.service.IMallNewsInfoService;
import lombok.RequiredArgsConstructor;
@@ -26,6 +28,7 @@
    private final IMallNewsInfoService mallNewsInfoService;
    private final MallProductNftMapper mallProductNftMapper;
    private final MallProductBuyMapper mallProductBuyMapper;
    /**
     * NFT预约产品
@@ -76,6 +79,18 @@
    }
    /**
     * 用户NFT提现-手动分配
     * @return
     */
    @GetMapping("productSellPick/{id}")
    @RequiresPermissions("productSellPick:update")
    public String productSellPick(@PathVariable long id, Model model) {
        MallProductBuy mallProductBuy = mallProductBuyMapper.selectById(id);
        model.addAttribute("mallProductBuy", mallProductBuy);
        return FebsUtil.view("modules/news/productSellPick");
    }
    /**
     * 新闻中心-列表
     * @return
     */