Example #1
0
        protected string getImgFlag(object o)
        {
            string str = string.Empty;

            if (null != o)
            {
                EyouSoft.Model.CompanyStructure.CompanyLev flag = (EyouSoft.Model.CompanyStructure.CompanyLev)o;
                str = Utils.GetCompanyLevImg(flag);
            }
            return(str);
        }
Example #2
0
        protected override void OnInit(EventArgs e)
        {
            //初始化公司ID
            _companyid = Utils.GetQueryStringValue("cid");
            var detailCompanyInfo = EyouSoft.BLL.CompanyStructure.CompanyInfo.CreateInstance().GetModel(_companyid);

            if (detailCompanyInfo == null || detailCompanyInfo.StateMore.IsDelete)
            {
                Utils.ShowError("普通网店不存在!", "Shop");
                return;
            }
            _companyinfo = detailCompanyInfo;
            Companylev   = _companyinfo.CompanyLev;
            base.OnInit(e);
        }