diff --git a/BBWYB.Server.API/Controllers/OrderSyncController.cs b/BBWYB.Server.API/Controllers/OrderSyncController.cs index 7b86aae..be68e77 100644 --- a/BBWYB.Server.API/Controllers/OrderSyncController.cs +++ b/BBWYB.Server.API/Controllers/OrderSyncController.cs @@ -12,12 +12,20 @@ namespace BBWYB.Server.API.Controllers this.orderSyncBusiness = orderSyncBusiness; } + /// + /// 全店订单同步 + /// [HttpPost] public void AutoOrderSync() { orderSyncBusiness.AutoOrderSync(); } + /// + /// 指定店铺和订单同步 + /// + /// + /// [HttpPost("{shopId}/{orderId}")] public void ManualOrderSync([FromRoute] long shopId, [FromRoute] string orderId) { diff --git a/SDKAdapter/BasePlatformRequest.cs b/SDKAdapter/BasePlatformRequest.cs index e0f9af2..972c99a 100644 --- a/SDKAdapter/BasePlatformRequest.cs +++ b/SDKAdapter/BasePlatformRequest.cs @@ -1,6 +1,4 @@ -using SDKAdapter.PurchasePlatform.Models; - -namespace SDKAdapter +namespace SDKAdapter { public class BasePlatformRequest { diff --git a/SDKAdapter/OperationPlatform/Client/Base/OP_PlatformClient.cs b/SDKAdapter/OperationPlatform/Client/Base/OP_PlatformClient.cs index 61a3aff..b242c86 100644 --- a/SDKAdapter/OperationPlatform/Client/Base/OP_PlatformClient.cs +++ b/SDKAdapter/OperationPlatform/Client/Base/OP_PlatformClient.cs @@ -1,6 +1,5 @@ using BBWYB.Common.Http; using SDKAdapter.OperationPlatform.Models; -using SDKAdapter.PurchasePlatform.Models; namespace SDKAdapter.OperationPlatform.Client { diff --git a/SDKAdapter/OperationPlatform/Client/Base/OP_PlatformClientFactory.cs b/SDKAdapter/OperationPlatform/Client/Base/OP_PlatformClientFactory.cs index 13489e7..68eadb3 100644 --- a/SDKAdapter/OperationPlatform/Client/Base/OP_PlatformClientFactory.cs +++ b/SDKAdapter/OperationPlatform/Client/Base/OP_PlatformClientFactory.cs @@ -1,6 +1,4 @@ using BBWYB.Common.Http; -using BBWYB.Common.Models; -using SDKAdapter.PurchasePlatform.Models; namespace SDKAdapter.OperationPlatform.Client { diff --git a/SDKAdapter/OperationPlatform/Client/Impl/OP_JDClient.cs b/SDKAdapter/OperationPlatform/Client/Impl/OP_JDClient.cs index ce7b515..cb26b37 100644 --- a/SDKAdapter/OperationPlatform/Client/Impl/OP_JDClient.cs +++ b/SDKAdapter/OperationPlatform/Client/Impl/OP_JDClient.cs @@ -1,5 +1,4 @@ using BBWYB.Common.Http; -using SDKAdapter.PurchasePlatform.Models; namespace SDKAdapter.OperationPlatform.Client {