public WMSGetProductListRequest(string username, string password, WMSGetProductListReqModel reqModel) : base(username, password) { service.Service = "getProductList"; service.Plateform = "WMS"; IsoDateTimeConverter timeFormat = new IsoDateTimeConverter(); timeFormat.DateTimeFormat = "yyyy-MM-dd HH:mm:ss"; service.ParamsJson = JsonConvert.SerializeObject(reqModel, timeFormat); }
public async System.Threading.Tasks.Task RequestTestAsync() { WMSGetProductListReqModel model = new WMSGetProductListReqModel(); model.Page = 1; model.PageSize = 50; model.IsCombination = IsOrNotEnum.是; WMSGetProductListRequest req = new WMSGetProductListRequest("admin", "eccang123456", model); var response = await req.Request(); }
public WMSGetProductListRequest(string username, string password, WMSGetProductListReqModel reqModel) : base(username, password) { service.Service = "getProductList"; service.Plateform = "WMS"; service.ParamsJson = JsonConvert.SerializeObject(reqModel); }