|
|
@@ -37,7 +37,7 @@ public class APIServer { |
|
|
|
* 获取菜品信息 |
|
|
|
*/ |
|
|
|
public static void GetDishInformation(IRunT<List<String>> callback,IRunT<String> faultCallback){ |
|
|
|
String url = "http://192.168.1.50:5001/api/ExternalPlatform/WeighingService/GetGoodsInfo"; |
|
|
|
String url = "http://111.9.47.105:21995/saasbase/api/ExternalPlatform/WeighingService/GetGoodsInfo"; |
|
|
|
String key = "64059261-1599-472c-b418-3c18b4e3883e"; |
|
|
|
|
|
|
|
APIHelper.Post(url,new Object(),key,(s)->{ |
|
|
@@ -58,7 +58,7 @@ public class APIServer { |
|
|
|
* 获取RFID和订单的信息 |
|
|
|
*/ |
|
|
|
public static void GetOrderInfo(String ChipCode,IRunT<WeighOrderDto> callback,IRunT<String> faultCallback){ |
|
|
|
String url = "http://192.168.1.50:5003/api/ExternalPlatform/WeighOrder/GetWeighOrderByChipCode"; |
|
|
|
String url = "http://111.9.47.105:21995/order/api/ExternalPlatform/WeighOrder/GetWeighOrderByChipCode"; |
|
|
|
String key = "1bef8f66-1896-46ae-a724-101a709d5a26"; |
|
|
|
ChipCodeRequiredModel crm = new ChipCodeRequiredModel(ChipCode); |
|
|
|
|
|
|
@@ -79,7 +79,7 @@ public class APIServer { |
|
|
|
* 添加商品子订单 |
|
|
|
*/ |
|
|
|
public static void CreateOrder(AddGoodInfo agi, IRun callback,IRunT<String> faultCallback){ |
|
|
|
String url = "http://192.168.1.50:5003/api/ExternalPlatform/WeighOrder/AddWeighOrderGoods"; |
|
|
|
String url = "http://111.9.47.105:21995/order/api/ExternalPlatform/WeighOrder/AddWeighOrderGoods"; |
|
|
|
String key = "1bef8f66-1896-46ae-a724-101a709d5a26"; |
|
|
|
AddGoodModel agm = new AddGoodModel(); |
|
|
|
agm.data.add(agi); |
|
|
|