diff --git a/BBWY.Client/APIServices/BatchPurchaseService.cs b/BBWY.Client/APIServices/BatchPurchaseService.cs
index b51eadb0..237f9eb5 100644
--- a/BBWY.Client/APIServices/BatchPurchaseService.cs
+++ b/BBWY.Client/APIServices/BatchPurchaseService.cs
@@ -171,12 +171,12 @@ namespace BBWY.Client.APIServices
///
///
///
- public ApiResponse UpdatePackMoney(string orderId, decimal PackMoney)
+ public ApiResponse UpdatePackState(string orderId, PackState packState)
{
- return SendRequest(globalContext.BBYWApiHost, "api/BatchPurchase/UpdatePackMoney", new
+ return SendRequest(globalContext.BBYWApiHost, "api/BatchPurchase/UpdatePackState", new
{
orderId,
- PackMoney
+ packState
}, null, HttpMethod.Post);
}
diff --git a/BBWY.Client/APIServices/PackTaskService.cs b/BBWY.Client/APIServices/PackTaskService.cs
index 66c9b75c..3ce41e77 100644
--- a/BBWY.Client/APIServices/PackTaskService.cs
+++ b/BBWY.Client/APIServices/PackTaskService.cs
@@ -25,19 +25,19 @@ namespace BBWY.Client.APIServices
- public ApiResponse GetOrderList( string skuId = null, string taskId = null,
+ public ApiResponse GetOrderList(string skuId = null, string taskId = null,
DateTime? startTime = null,
DateTime? endTime = null,
TaskState? availability = null,
int? taskStatus = null,
int pageIndex = 1,
int pageSize = 10
-
+
)
{
- return SendRequest(globalContext.QKApiHost, "api/PackTask/SearchNewPackTaskList", new
+ return SendRequest(globalContext.QKApiHost, "api/PackTask/SearchNew2PackTaskList", new
{
-
+
SkuId = skuId,
TaskId = taskId,
StartTime = startTime,
@@ -49,7 +49,7 @@ namespace BBWY.Client.APIServices
ShopId = globalContext.User.Shop.ShopId.ToString()
}, null, HttpMethod.Post);
}
- public ApiResponse GetWareHouseList(int? isWorry=null,string departmentName = null, string skuId = null, string taskId = null,
+ public ApiResponse GetWareHouseList(int? isWorry = null, string departmentName = null, string skuId = null, string taskId = null,
DateTime? startTime = null,
DateTime? endTime = null,
TaskState? availability = null,
@@ -59,9 +59,9 @@ namespace BBWY.Client.APIServices
)
{
- return SendRequest(globalContext.QKApiHost, "api/PackTask/SearchNewPackTaskList", new
+ return SendRequest(globalContext.QKApiHost, "api/PackTask/SearchNew2PackTaskList", new
{
- IsWorry=isWorry,
+ IsWorry = isWorry,
DepartmentName = departmentName,
SkuId = skuId,
TaskId = taskId,
@@ -95,7 +95,7 @@ namespace BBWY.Client.APIServices
{
HttpClientHelper helper = new HttpClientHelper(globalContext.QKApiHost);
- string url = $"{globalContext.QKApiHost}/api/PackTask/SearchProduct?skuId={skuId}&ShopId={globalContext.User.Shop.ShopId}";
+ string url = $"{globalContext.QKApiHost}/api/PackTask/SearchProductNew?skuId={skuId}&ShopId={globalContext.User.Shop.ShopId}";
var data = helper.Get(url);
return JsonConvert.DeserializeObject>(data);
@@ -112,7 +112,7 @@ namespace BBWY.Client.APIServices
public ApiResponse