Exemplo n.º 1
0
 /// <summary>
 /// 注册协议
 /// </summary>
 /// <returns></returns>
 public static string GetBuyersAgreement()
 {
     Himall.Model.AgreementInfo model = SystemAgreementApplication.GetAgreement(Himall.Model.AgreementInfo.AgreementTypes.Buyers);
     if (model != null)
     {
         return(model.AgreementContent);
     }
     else
     {
         return("");
     }
 }
Exemplo n.º 2
0
        /// <summary>
        /// 商家入驻协议
        /// </summary>
        /// <returns></returns>
        public static string GetSellerAgreement()
        {
            var model = SystemAgreementApplication.GetAgreement(Entities.AgreementInfo.AgreementTypes.Seller);

            if (model != null)
            {
                return(model.AgreementContent);
            }
            else
            {
                return("");
            }
        }