| | |
| | | /** |
| | | * 删除商品 |
| | | * |
| | | * @param id |
| | | * @param goodsId |
| | | * @return |
| | | */ |
| | | @PostMapping("/shopFlower/deleteShopGoods") |
| | | R deleteFlowerShopGoods(@RequestBody Long[] id); |
| | | @DeleteMapping("/shopFlower/deleteShopGoods") |
| | | R deleteFlowerShopGoods(@RequestParam("goodsId") Long goodsId); |
| | | |
| | | /** |
| | | * 修改商品状态 |
| | |
| | | R changeFlowerStatus(@RequestParam("id") Long id, @RequestParam("status") Integer status); |
| | | |
| | | /** |
| | | * 修改商品状态 |
| | | * 商品详情 |
| | | * |
| | | * @param goodsId |
| | | * @return |
| | | */ |
| | | @PostMapping("/shopFlower/shopGoodsDetail") |
| | | @GetMapping("/shopFlower/shopGoodsDetail") |
| | | R shopFlowerGoodsDetail(@RequestParam("goodsId") Long goodsId); |
| | | |
| | | |
| | |
| | | * @param convenientGoodsCategoryDTO |
| | | * @return |
| | | */ |
| | | @PostMapping("/goodsCategory/add") |
| | | @PostMapping("/convenient/goodsCategory/add") |
| | | R addGoodsCategory(@RequestBody ConvenientGoodsCategoryDTO convenientGoodsCategoryDTO); |
| | | |
| | | /** |
| | |
| | | * @param convenientGoodsCategoryDTO |
| | | * @return |
| | | */ |
| | | @PutMapping("/goodsCategory/put") |
| | | @PutMapping("/convenient/goodsCategory/put") |
| | | R putGoodsCategory(@RequestBody ConvenientGoodsCategoryDTO convenientGoodsCategoryDTO); |
| | | |
| | | /** |
| | |
| | | * @param categoryId |
| | | * @return |
| | | */ |
| | | @DeleteMapping("/goodsCategory/delete") |
| | | @DeleteMapping("/convenient/goodsCategory/delete") |
| | | R deleteGoodsCategory(@RequestParam("categoryId") Long categoryId, @RequestParam("operator") Long operator); |
| | | |
| | | /** |
| | |
| | | * @param categoryId |
| | | * @return |
| | | */ |
| | | @GetMapping("/goodsCategory/get") |
| | | @GetMapping("/convenient/goodsCategory/get") |
| | | R getGoodsCategory(@RequestParam("categoryId") Long categoryId); |
| | | |
| | | /** |
| | |
| | | * @return |
| | | */ |
| | | @GetMapping("/shopFlower/selectCountByDeliveryType") |
| | | R selectCountByDeliveryType(Integer deliveryType); |
| | | R selectCountByDeliveryType(Integer deliveryType,Long storeId); |
| | | |
| | | /** |
| | | * 查询我的店铺各类统计数据 |
| | | * @param storeId |
| | | * @return |
| | | */ |
| | | @GetMapping("/shopFlower/selectCountByStoreId") |
| | | R selectCountByStoreId(Long storeId); |
| | | |
| | | |
| | | /** |
| | | * 创建退款订单 |
| | | * @param comShopFlowerRefundOrderDTO |
| | | * @return |
| | | */ |
| | | @PostMapping("/shopFlower/createRefundOrder") |
| | | R createRefundOrder(@RequestBody ComShopFlowerRefundOrderDTO comShopFlowerRefundOrderDTO); |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * @param pageComOrderRefundDTO |
| | | * @return |
| | | */ |
| | | @PostMapping("/shopFlower/pageRefundOrder") |
| | | R pageRefundOrder(@RequestBody PageComOrderRefundDTO pageComOrderRefundDTO); |
| | | |
| | | /** |
| | | * 修改退款订单 |
| | | * @param comShopFlowerRefundOrderDTO |
| | | * @return |
| | | */ |
| | | @PostMapping("/shopFlower/updateRefundOrder") |
| | | R updateRefundOrder(@RequestBody ComShopFlowerRefundOrderDTO comShopFlowerRefundOrderDTO); |
| | | |
| | | |
| | | /** |
| | | * 商家后台-退款申请统计 |
| | | * @param storeId |
| | | * @return |
| | | */ |
| | | @GetMapping("/shopFlower/selectCountGroupStatus") |
| | | R selectCountGroupStatus(Long storeId); |
| | | } |