| | |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.order.factory.OrderClientFallbackFactory; |
| | | import com.ruoyi.order.model.Order; |
| | | import com.ruoyi.order.vo.OrderSaleNum; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | |
| | | @PostMapping("/order/getShopSaleNum") |
| | | R<Integer> getShopSaleNum(@RequestParam("shopId") Integer shopId, @RequestParam("type") Integer type); |
| | | |
| | | @PostMapping("/order/getShopSaleNumByShopIds") |
| | | R<Integer> getShopSaleNumByShopIds(@RequestBody OrderSaleNum orderSaleNum); |
| | | |
| | | |
| | | /** |
| | | * 获取所有在指定门店消费的用户id |
| | |
| | | */ |
| | | @PostMapping("/order/editOrder") |
| | | R editOrder(@RequestBody Order order); |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 获取用户订单数量 |
| | | * @param appUserId |