You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
759 B
24 lines
759 B
using BBWY.Server.Business.Sync;
|
|
using Microsoft.AspNetCore.Http;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace BBWY.Server.API.Controllers
|
|
{
|
|
public class StoreHouseSyncController : BaseApiController
|
|
{
|
|
private StoreHouseSyncBusiness storeHouseSyncBusiness;
|
|
public StoreHouseSyncController(IHttpContextAccessor httpContextAccessor, StoreHouseSyncBusiness storeHouseSyncBusiness) : base(httpContextAccessor)
|
|
{
|
|
this.storeHouseSyncBusiness = storeHouseSyncBusiness;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 同步全店仓库信息
|
|
/// </summary>
|
|
[HttpGet]
|
|
public void StartSyncAllShopStoreHouse()
|
|
{
|
|
storeHouseSyncBusiness.StartSyncAllShopStoreHouse();
|
|
}
|
|
}
|
|
}
|
|
|