|
|
@ -2,7 +2,6 @@ |
|
|
|
using BBWYB.Common.Log; |
|
|
|
using BBWYB.Common.Models; |
|
|
|
using BBWYB.Server.Model; |
|
|
|
using BBWYB.Server.Model.Db; |
|
|
|
using BBWYB.Server.Model.Db.MDS; |
|
|
|
using BBWYB.Server.Model.Dto; |
|
|
|
using SDKAdapter.OperationPlatform.Client; |
|
|
@ -15,10 +14,13 @@ namespace BBWYB.Server.Business |
|
|
|
{ |
|
|
|
private OP_PlatformClientFactory opPlatformClientFactory; |
|
|
|
private FreeSqlMultiDBManager fsqlManager; |
|
|
|
public VenderBusiness(IFreeSql fsql, NLogManager nLogManager, IIdGenerator idGenerator, FreeSqlMultiDBManager fsqlManager, OP_PlatformClientFactory opPlatformClientFactory) : base(fsql, nLogManager, idGenerator) |
|
|
|
private KuaiDi100Manager kuaiDi100Manager; |
|
|
|
|
|
|
|
public VenderBusiness(IFreeSql fsql, NLogManager nLogManager, IIdGenerator idGenerator, FreeSqlMultiDBManager fsqlManager, OP_PlatformClientFactory opPlatformClientFactory, KuaiDi100Manager kuaiDi100Manager) : base(fsql, nLogManager, idGenerator) |
|
|
|
{ |
|
|
|
this.fsqlManager = fsqlManager; |
|
|
|
this.opPlatformClientFactory = opPlatformClientFactory; |
|
|
|
this.kuaiDi100Manager = kuaiDi100Manager; |
|
|
|
} |
|
|
|
|
|
|
|
public IList<ShopResponse> GetShopList(long? shopId = null, Enums.Platform? platform = null) |
|
|
@ -83,32 +85,9 @@ namespace BBWYB.Server.Business |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
public IList<OP_QueryExpressCompanyResponse> GetKuaiDi100ExpressCompanyList() |
|
|
|
public IList<KuaiDi100ExpressCompany> GetKuaiDi100ExpressCompanyList() |
|
|
|
{ |
|
|
|
return new List<OP_QueryExpressCompanyResponse>() |
|
|
|
{ |
|
|
|
new OP_QueryExpressCompanyResponse(){ ExpressName = "中通快递",ExpressId="zhongtong"}, |
|
|
|
new OP_QueryExpressCompanyResponse(){ ExpressName = "中通快运",ExpressId="zhongtongkuaiyun"}, |
|
|
|
new OP_QueryExpressCompanyResponse(){ ExpressName = "圆通速递",ExpressId="yuantong"}, |
|
|
|
new OP_QueryExpressCompanyResponse(){ ExpressName = "邮政快递包裹",ExpressId="youzhengguonei"}, |
|
|
|
new OP_QueryExpressCompanyResponse(){ ExpressName = "韵达快递",ExpressId="yunda"}, |
|
|
|
new OP_QueryExpressCompanyResponse(){ ExpressName = "申通快递",ExpressId="shentong"}, |
|
|
|
new OP_QueryExpressCompanyResponse(){ ExpressName = "顺丰快递",ExpressId="shunfeng"}, |
|
|
|
new OP_QueryExpressCompanyResponse(){ ExpressName = "顺丰快运",ExpressId="shunfengkuaiyun"}, |
|
|
|
new OP_QueryExpressCompanyResponse(){ ExpressName = "百世快递",ExpressId="huitongkuaidi"}, |
|
|
|
new OP_QueryExpressCompanyResponse(){ ExpressName = "德邦物流",ExpressId="debangwuliu"}, |
|
|
|
new OP_QueryExpressCompanyResponse(){ ExpressName = "德邦快递",ExpressId="debangkuaidi"}, |
|
|
|
new OP_QueryExpressCompanyResponse(){ ExpressName = "EMS",ExpressId="ems"}, |
|
|
|
new OP_QueryExpressCompanyResponse(){ ExpressName = "极兔速递",ExpressId="jtexpress"}, |
|
|
|
new OP_QueryExpressCompanyResponse(){ ExpressName = "安能物流",ExpressId="annengwuliu"}, |
|
|
|
new OP_QueryExpressCompanyResponse(){ ExpressName = "德坤物流",ExpressId="dekuncn"}, |
|
|
|
new OP_QueryExpressCompanyResponse(){ ExpressName = "壹米滴答",ExpressId="yimidida"}, |
|
|
|
new OP_QueryExpressCompanyResponse(){ ExpressName = "优速快递",ExpressId="youshuwuliu"}, |
|
|
|
new OP_QueryExpressCompanyResponse(){ ExpressName = "京广速递",ExpressId="jinguangsudikuaijian"}, |
|
|
|
new OP_QueryExpressCompanyResponse(){ ExpressName = "丰网速运",ExpressId="fengwang"}, |
|
|
|
new OP_QueryExpressCompanyResponse(){ ExpressName = "顺心捷达",ExpressId="sxjdfreight"}, |
|
|
|
new OP_QueryExpressCompanyResponse(){ ExpressName = "快捷速递",ExpressId="kuaijiesudi"} |
|
|
|
}; |
|
|
|
return kuaiDi100Manager.GetKuaiDi100ExpressCompanyList(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|