| | |
| | | import com.ruoyi.common.core.constant.ServiceNameConstants; |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.order.factory.OrderClientFallbackFactory; |
| | | import com.ruoyi.order.model.Order; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | import java.util.List; |
| | |
| | | */ |
| | | @PostMapping("/order/getAppUserByShoppingShop") |
| | | R<Set<Long>> getAppUserByShoppingShop(@RequestParam("shopId") Integer shopId); |
| | | |
| | | |
| | | /** |
| | | * 根据id获取订单详情 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @PostMapping("/order/getOrderById") |
| | | R<Order> getOrderById(@RequestParam("id") Long id); |
| | | |
| | | |
| | | /** |
| | | * 编辑订单详情 |
| | | * @param order |
| | | * @return |
| | | */ |
| | | @PostMapping("/order/editOrder") |
| | | R editOrder(@RequestBody Order order); |
| | | } |