|
@@ -13,7 +13,7 @@ import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
@FeignClient(name = "springbatchservice/manager/order")
|
|
|
public interface OrderService {
|
|
|
@ApiOperation("创建订单")
|
|
|
- @RequestMapping(value = "creat", method = RequestMethod.POST, consumes = {MediaType.ALL_VALUE})
|
|
|
+ @RequestMapping(value = "creat", method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE)
|
|
|
ResultContent creat(@RequestBody CreateOrderModel createOrderModel);
|
|
|
|
|
|
|