|
|
@@ -33,7 +33,7 @@ public class APIService { |
|
|
|
} |
|
|
|
|
|
|
|
private static void GetGoodsInfo(){ |
|
|
|
String url = "http://192.168.1.50:5007/api/goods/Getdevicegoods?deviceId=1a2a1d72-752f-44cf-87f8-ec9fe4ea15b8"; |
|
|
|
String url = "https://cfv.black-pa.com/kitchbase/api/goods/Getdevicegoods?deviceId=1a2a1d72-752f-44cf-87f8-ec9fe4ea15b8"; |
|
|
|
APIHelper.PostT(url,null,null,new TypeReference<APIResultT<List<DeviceGoodInfo>>>(){}).OnSource(s->{ |
|
|
|
deviceGoodInfo=s.Content; |
|
|
|
UpdateLocalGoodsInfo(); |
|
|
@@ -41,7 +41,7 @@ public class APIService { |
|
|
|
} |
|
|
|
|
|
|
|
private static void GetMaterialInfo(){ |
|
|
|
String url = "http://192.168.1.50:5006/api/ExternalPlatform/Material/GetMaterialPageList"; |
|
|
|
String url = "https://cfv.black-pa.com/kitchbase/api/ExternalPlatform/Material/GetMaterialPageList"; |
|
|
|
String key ="962a5892-0f7f-47b4-a1ec-925bd7914a6d"; |
|
|
|
APIHelper.PostT(url,new MaterialRequestPar(1,100),key,new TypeReference<APIResultT<MaterialData>>(){}).OnSource(s->{ |
|
|
|
materialModels=s.Content; |
|
|
|