|
|
@@ -54,9 +54,9 @@ public class OrderSalesDetailController extends BaseController
|
|
|
public Object list(HttpServletRequest request)
|
|
|
{
|
|
|
//走网关
|
|
|
- //String url = cloudPath+"order"+"/order/orderSalesDetail/list";
|
|
|
+ String url = cloudPath+"order"+"/order/orderSalesDetail/list";
|
|
|
//本地测试 不走网关
|
|
|
- String url = queryUrl + "/order/orderSalesDetail/list";
|
|
|
+ //String url = queryUrl + "/order/orderSalesDetail/list";
|
|
|
String str = "";
|
|
|
try {
|
|
|
//设置为form方式
|
|
|
@@ -83,9 +83,9 @@ public class OrderSalesDetailController extends BaseController
|
|
|
public String info(@PathVariable("id") Long id, ModelMap mmap)
|
|
|
{
|
|
|
//走网关
|
|
|
- //String url = cloudPath+"order/order/orderSalesDetail/info/"+id;
|
|
|
+ String url = cloudPath+"order/order/orderSalesDetail/info/"+id;
|
|
|
//本地测试 不走网关
|
|
|
- String url = queryUrl + "/order/orderSalesDetail/info/"+id;
|
|
|
+ //String url = queryUrl + "/order/orderSalesDetail/info/"+id;
|
|
|
try {
|
|
|
String str = restTemplate.getForObject(url, String.class);
|
|
|
OrderSalesDetail orderSalesDetail = JSONObject.toJavaObject(JSON.parseObject(str),OrderSalesDetail.class);
|