|
@@ -62,7 +62,7 @@ public class OrderBaseController extends BaseController {
|
|
|
MultiValueMap<String, Object> map = MapDataUtil.convertMultiValueMap(request);
|
|
|
HttpEntity<Object> requestEntity
|
|
|
= new HttpEntity<>(map, headers);
|
|
|
- String str = restTemplate.postForObject(cloudPath + /*"/order"+*/request.getRequestURI(), requestEntity, String.class);
|
|
|
+ String str = restTemplate.postForObject(cloudPath + "/order"+request.getRequestURI(), requestEntity, String.class);
|
|
|
return str;
|
|
|
}
|
|
|
|
|
@@ -72,7 +72,7 @@ public class OrderBaseController extends BaseController {
|
|
|
*/
|
|
|
@GetMapping("/edit/{id}")
|
|
|
public String edit(@PathVariable("id") Long id, ModelMap mmap) {
|
|
|
- String str = restTemplate.getForObject(cloudPath + /*"/order"+*/"/order/orderbase/info/" + id, String.class);
|
|
|
+ String str = restTemplate.getForObject(cloudPath + "/order"+"/order/orderbase/info/" + id, String.class);
|
|
|
OrderBase orderBase = JSONObject.toJavaObject(JSON.parseObject(str), OrderBase.class);
|
|
|
mmap.put("orderBase", orderBase);
|
|
|
return prefix + "/edit";
|