xiaoyong931011
2023-10-10 18fb219ee5ed5c267665b4c84d2306eea25349f6
src/main/java/cc/mrbird/febs/mall/controller/AdminMallGoodsController.java
@@ -99,6 +99,24 @@
    }
    /**
     * 商品-热卖
     */
    @GetMapping("goodsHot/{id}")
    @ControllerEndpoint(operation = " 商品-热卖", exceptionMessage = "设置失败")
    public FebsResponse goodsHot(@NotNull(message = "{required}") @PathVariable Long id) {
        return adminMallGoodsService.goodsHot(id);
    }
    /**
     * 商品-取消热卖
     */
    @GetMapping("goodsNotHot/{id}")
    @ControllerEndpoint(operation = " 商品-取消热卖", exceptionMessage = "设置失败")
    public FebsResponse goodsNotHot(@NotNull(message = "{required}") @PathVariable Long id) {
        return adminMallGoodsService.goodsNotHot(id);
    }
    /**
     * 商品-上架
     */
    @GetMapping("upMallGoods/{id}")