Browse Source

1

updatebug
shanji 2 years ago
parent
commit
b6617a97d1
  1. 8
      BBWYB.Server.API/Controllers/OrderSyncController.cs
  2. 4
      SDKAdapter/BasePlatformRequest.cs
  3. 1
      SDKAdapter/OperationPlatform/Client/Base/OP_PlatformClient.cs
  4. 2
      SDKAdapter/OperationPlatform/Client/Base/OP_PlatformClientFactory.cs
  5. 1
      SDKAdapter/OperationPlatform/Client/Impl/OP_JDClient.cs

8
BBWYB.Server.API/Controllers/OrderSyncController.cs

@ -12,12 +12,20 @@ namespace BBWYB.Server.API.Controllers
this.orderSyncBusiness = orderSyncBusiness;
}
/// <summary>
/// 全店订单同步
/// </summary>
[HttpPost]
public void AutoOrderSync()
{
orderSyncBusiness.AutoOrderSync();
}
/// <summary>
/// 指定店铺和订单同步
/// </summary>
/// <param name="shopId"></param>
/// <param name="orderId"></param>
[HttpPost("{shopId}/{orderId}")]
public void ManualOrderSync([FromRoute] long shopId, [FromRoute] string orderId)
{

4
SDKAdapter/BasePlatformRequest.cs

@ -1,6 +1,4 @@
using SDKAdapter.PurchasePlatform.Models;
namespace SDKAdapter
namespace SDKAdapter
{
public class BasePlatformRequest
{

1
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
{

2
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
{

1
SDKAdapter/OperationPlatform/Client/Impl/OP_JDClient.cs

@ -1,5 +1,4 @@
using BBWYB.Common.Http;
using SDKAdapter.PurchasePlatform.Models;
namespace SDKAdapter.OperationPlatform.Client
{

Loading…
Cancel
Save