|
|
@@ -60,7 +60,8 @@ public class OrderSalesDetailController extends BaseController
|
|
|
|
|
|
HttpEntity<Object> requestEntity
|
|
|
= new HttpEntity<>(map, headers);
|
|
|
- String str = restTemplate.postForObject(cloudPath+request.getRequestURI(),requestEntity,String.class);
|
|
|
+ String url = cloudPath+"order"+request.getRequestURI();
|
|
|
+ String str = restTemplate.postForObject(url ,requestEntity,String.class);
|
|
|
return str;
|
|
|
}
|
|
|
|
|
|
@@ -70,7 +71,7 @@ public class OrderSalesDetailController extends BaseController
|
|
|
@GetMapping("/info/{id}")
|
|
|
public String info(@PathVariable("id") Long id, ModelMap mmap)
|
|
|
{
|
|
|
- String str = restTemplate.getForObject(cloudPath+"/order/orderSalesDetail/info/"+id,String.class);
|
|
|
+ String str = restTemplate.getForObject(cloudPath+"order/order/orderSalesDetail/info/"+id,String.class);
|
|
|
OrderSalesDetail orderSalesDetail = JSONObject.toJavaObject(JSON.parseObject(str),OrderSalesDetail.class);
|
|
|
mmap.put("orderSalesDetail", orderSalesDetail);
|
|
|
return prefix + "/edit";
|