| | |
| | | import cc.mrbird.febs.common.utils.FebsUtil; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.stereotype.Controller; |
| | | import org.springframework.ui.Model; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | |
| | | @Controller("mallVipConfig") |
| | |
| | | public String benefitsList() { |
| | | return FebsUtil.view("modules/vip/vipBenefits-list"); |
| | | } |
| | | |
| | | @GetMapping(value = "/vipBenefitsAdd") |
| | | public String vipBenefitsAdd() { |
| | | return FebsUtil.view("modules/vip/vipBenefits-add"); |
| | | } |
| | | |
| | | |
| | | @GetMapping(value = "/goodsSelect/{index}") |
| | | public String goodsSelect(@PathVariable("index") String index, Model model) { |
| | | model.addAttribute("tableIndex", index); |
| | | return FebsUtil.view("modules/vip/goods-select-list"); |
| | | } |
| | | |
| | | |
| | | @GetMapping(value = "/couponSelect/{index}") |
| | | public String couponSelect(@PathVariable("index") String index, Model model) { |
| | | model.addAttribute("tableIndex", index); |
| | | return FebsUtil.view("modules/vip/coupon-select"); |
| | | } |
| | | } |