/// <summary> /// 店铺配送模板列表 /// </summary> public ActionResult StoreShipTemplateList() { StoreShipTemplateListModel model = new StoreShipTemplateListModel() { StoreShipTemplateList = AdminStores.GetStoreShipTemplateList(WorkContext.StoreId) }; MallUtils.SetAdminRefererCookie(Url.Action("storeshiptemplatelist")); return(View(model)); }
/// <summary> /// 店铺配送模板列表 /// </summary> public ActionResult StoreShipTemplateList(int storeId = -1) { StoreInfo storeInfo = AdminStores.GetStoreById(storeId); if (storeInfo == null) { return(PromptView("店铺不存在")); } StoreShipTemplateListModel model = new StoreShipTemplateListModel() { StoreId = storeId, StoreShipTemplateList = AdminStores.GetStoreShipTemplateList(storeId) }; MallUtils.SetAdminRefererCookie(string.Format("{0}?storeId={1}", Url.Action("storeshiptemplatelist"), storeId)); return(View(model)); }