Example #1
0
        /// <summary>
        /// 店铺配送费用列表
        /// </summary>
        public ActionResult StoreShipFeeList(int storeSTid = -1)
        {
            StoreShipTemplateInfo storeShipTemplateInfo = AdminStores.GetStoreShipTemplateById(storeSTid);

            if (storeShipTemplateInfo == null)
            {
                return(PromptView("店铺配送模板不存在"));
            }

            StoreShipFeeListModel model = new StoreShipFeeListModel()
            {
                StoreSTid        = storeSTid,
                StoreShipFeeList = AdminStores.AdminGetStoreShipFeeList(storeSTid)
            };

            MallUtils.SetAdminRefererCookie(string.Format("{0}?storeSTid={1}", Url.Action("storeshipfeelist"), storeSTid));
            return(View(model));
        }