|
@@ -64,7 +64,7 @@ public class OrderCustomersController extends BaseController
|
|
|
|
|
|
HttpEntity<Object> requestEntity
|
|
|
= new HttpEntity<>(map, headers);
|
|
|
- String str = restTemplate.postForObject(cloudPath+request.getRequestURI(),requestEntity,String.class);
|
|
|
+ String str = restTemplate.postForObject(cloudPath+"/order"+request.getRequestURI(),requestEntity,String.class);
|
|
|
return str;
|
|
|
}
|
|
|
|
|
@@ -74,7 +74,7 @@ public class OrderCustomersController extends BaseController
|
|
|
@GetMapping("/edit/{id}")
|
|
|
public String edit(@PathVariable("id") Long id, ModelMap mmap)
|
|
|
{
|
|
|
- String str = restTemplate.getForObject(cloudPath+"/order/customers/info/"+id,String.class);
|
|
|
+ String str = restTemplate.getForObject(cloudPath+"/order/order/customers/info/"+id,String.class);
|
|
|
OrderCustomers orderCustomers =JSONObject.toJavaObject(JSON.parseObject(str),OrderCustomers.class);
|
|
|
mmap.put("orderCustomers", orderCustomers);
|
|
|
return prefix + "/edit";
|