| | |
| | | R<ConvenientMerchantVO> getUserMerchantInfoByAccount(@RequestParam("account") String account); |
| | | |
| | | /** |
| | | * 获取用户便民服务商家详情 |
| | | * @param account 商家绑定账号 |
| | | * @return |
| | | */ |
| | | @GetMapping("/convenient/getMerchantInfoByAccount") |
| | | R<ConvenientMerchantVO> getMerchantInfoByAccount(@RequestParam("account") String account); |
| | | |
| | | /** |
| | | * 获取商便民服务商家信息 |
| | | * @param userId |
| | | * @return |
| | |
| | | * @return 订单详情 |
| | | */ |
| | | @GetMapping("/shopFlower/orderDetail") |
| | | R orderDetailFlower(@RequestParam("orderId") Long orderId); |
| | | R orderDetailFlower(@RequestParam("orderId") Long orderId,@RequestParam(value = "phone",required = false) String phone); |
| | | |
| | | /** |
| | | * 根据订单id取消订单 |
| | |
| | | @PostMapping("/shopFlower/pageOrderByDeliveryNo") |
| | | R pageOrderByDeliveryNo(@RequestBody PageComFlowerOrderListDTO pageComFlowerOrderListDTO); |
| | | |
| | | /** |
| | | * 商家后台经营数据统计-上 |
| | | * @param storeId |
| | | * @return |
| | | */ |
| | | @GetMapping("/shopFlower/selectSumOrderAndAmountByStoreId") |
| | | R selectSumOrderAndAmountByStoreId(@RequestParam("storeId") Long storeId); |
| | | |
| | | /** |
| | | * 统计时间区域的订单量 15天 30天 一年 |
| | | * @param storeId |
| | | * @param type |
| | | * @return |
| | | */ |
| | | @GetMapping("/shopFlower/selectOrderLineChart") R selectOrderLineChart(@RequestParam("storeId") Long storeId,@RequestParam("type") Integer type,@RequestParam("tab") Integer tab); |
| | | |
| | | /** |
| | | * 统计上架的上下架商品数量 |
| | | * @param userId |
| | | * @return |
| | | */ |
| | | @GetMapping("/shopFlower/countSaleByUserId") |
| | | R countSaleByUserId(@RequestParam("userId") Long userId); |
| | | } |