using BBWY.Client.Models.APIModel.Response.PackTask; using BBWY.Common.Http; using BBWY.Common.Models; using System; using System.Collections.Generic; using System.Net.Http; using System.Text; namespace BBWY.Client.APIServices.QiKu { public class PackTaskExpressService : BaseApiService, IDenpendency { public PackTaskExpressService(RestApiService restApiService, GlobalContext globalContext) : base(restApiService, globalContext) { } public ApiResponse> GetExpressNameList() { return SendRequest>(globalContext.QKApiHost, $"api/PackTaskExpress/GetExpressNameList", null , null, HttpMethod.Get); } /// /// 订阅快递100 /// /// /// /// public ApiResponse SubscribeKuaiDi100(string waybillNo, string sourceExpressName) { return SendRequest(globalContext.QKApiHost, $"api/PackTaskExpress/SubscribeKuaiDi100", new { waybillNo, sourceExpressName } , null, HttpMethod.Post); } } }