/// <summary> /// 获取门店列表 /// </summary> private void GetShopList() { int shopType = user.UserIndentity == 0 ? 1 : 2; int shopBelongId = user.UserIndentity == 0 ? 0 : user.ID; SearchModel model = new SearchModel() { PageIndex = Convert.ToInt32(GetFormValue("pageIndex", 1)), PageSize = Convert.ToInt32(GetFormValue("pageSize", 20)), startTime = GetFormValue("startTime", ""), endTime = GetFormValue("endTime", ""), key = GetFormValue("key", ""), city = GetFormValue("city", ""), province = GetFormValue("prov", "") }; var data = ShopLogic.GetShopList(shopType, shopBelongId, model); json = JsonHelper.JsonSerializer(new ResultModel(ApiStatusCode.OK, data)); }