/// <summary>
 /// 注册协议
 /// </summary>
 /// <returns></returns>
 public static string GetBuyersAgreement()
 {
     Himall.Model.AgreementInfo model = _iSystemAgreementService.GetAgreement(Himall.Model.AgreementInfo.AgreementTypes.Buyers);
     if (model != null)
     {
         return(model.AgreementContent);
     }
     else
     {
         return("");
     }
 }
Exemple #2
0
 /// <summary>
 /// 修改协议
 /// </summary>
 /// <param name="model"></param>
 public static bool UpdateAgreement(Himall.Model.AgreementInfo model)
 {
     return(_iSystemAgreementService.UpdateAgreement(model));
 }
Exemple #3
0
 /// <summary>
 /// 添加协议
 /// </summary>
 /// <param name="model"></param>
 public static void AddAgreement(Himall.Model.AgreementInfo model)
 {
     _iSystemAgreementService.AddAgreement(model);
 }