public string GetProductList() { Dictionary <string, object> dict = new Dictionary <string, object>(); GetProductCondition condition = new GetProductCondition(); condition.PAGE_INDEX = 1; condition.PAGE_SIZE = 10; condition.LAST_MODIFIED_TIME_START = DateTime.Parse("1900-1-1 00:00:00"); condition.LAST_MODIFIED_TIME_END = DateTime.Parse("2900-1-1 00:00:00"); condition.CODE = "";// "Z11007012A10A71A"; condition.NAME = ""; condition.BRAND_CODE = ""; //condition.SERIES_ID = "10014914"; //condition.CATAGORY_CODE = ""; condition.ON_SALE = "T"; condition.IS_HOT_PRODUCT = "是"; condition.CHANNEL_ID = "8"; //condition.STOCK_TYPE = 4; condition.STOCK_NUM_GREATER_ZERO = "T"; //condition.STYLE = "女款"; condition.MOVEMENT_TYPE = ""; dict.Add("CONDITION", condition); return(this.Request("Product/GetListByConditionV2", dict)); }
public string GetAllBrandList() { //Dictionary<string, object> dict = new Dictionary<string, object>(); //dict.Add("PAGE_INDEX", 1); //dict.Add("PAGE_SIZE", 500); //dict.Add("CLASS", -1); GetProductCondition condition = new GetProductCondition(); condition.PAGE_INDEX = 1; condition.PAGE_SIZE = 50; condition.CLASS = -1; Dictionary <string, object> dict = new Dictionary <string, object>(); dict.Add("CONDITION", condition); return(this.Request("Brand/GetListByCondition", dict)); }