| | |
| | | import cc.mrbird.febs.mall.entity.*; |
| | | import cc.mrbird.febs.mall.mapper.DataDictionaryCustomMapper; |
| | | import cc.mrbird.febs.mall.mapper.MallProductBuyMapper; |
| | | import cc.mrbird.febs.mall.mapper.MallProductBuyRecordMapper; |
| | | import cc.mrbird.febs.mall.mapper.MallProductNftMapper; |
| | | import cc.mrbird.febs.mall.service.IMallNewsInfoService; |
| | | import cn.hutool.core.util.ObjectUtil; |
| | |
| | | private final IMallNewsInfoService mallNewsInfoService; |
| | | private final MallProductNftMapper mallProductNftMapper; |
| | | private final MallProductBuyMapper mallProductBuyMapper; |
| | | private final MallProductBuyRecordMapper mallProductBuyRecordMapper; |
| | | private final DataDictionaryCustomMapper dataDictionaryCustomMapper; |
| | | |
| | | /** |
| | |
| | | } |
| | | |
| | | /** |
| | | * 用户NFT预约列表 |
| | | */ |
| | | @GetMapping("productBuyListNew") |
| | | @RequiresPermissions("productBuyListNew:view") |
| | | public String productBuyListNew() { |
| | | return FebsUtil.view("modules/news/productBuyListNew"); |
| | | } |
| | | |
| | | /** |
| | | * 用户NFT提现列表 |
| | | */ |
| | | @GetMapping("productSellList") |
| | |
| | | return FebsUtil.view("modules/news/productSellPick"); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 用户预约打款记录--确认支付 |
| | | * @return |
| | | */ |
| | | @GetMapping("buyRecordPay/{id}") |
| | | @RequiresPermissions("buyRecordPay:update") |
| | | public String buyRecordPay(@PathVariable long id, Model model) { |
| | | MallProductBuyRecord mallProductBuyRecord = mallProductBuyRecordMapper.selectById(id); |
| | | model.addAttribute("mallProductBuyRecord", mallProductBuyRecord); |
| | | return FebsUtil.view("modules/news/buyRecordPay"); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 用户预约打款记录--凭证 |
| | | * @return |
| | | */ |
| | | @GetMapping("buyRecordImg/{id}") |
| | | @RequiresPermissions("buyRecordImg:update") |
| | | public String buyRecordImg(@PathVariable long id, Model model) { |
| | | MallProductBuyRecord mallProductBuyRecord = mallProductBuyRecordMapper.selectById(id); |
| | | model.addAttribute("mallProductBuyRecord", mallProductBuyRecord); |
| | | return FebsUtil.view("modules/news/buyRecordImg"); |
| | | } |
| | | |
| | | /** |
| | | * 基础设置 |
| | | * @param model |