/// <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(""); } }
/// <summary> /// 修改协议 /// </summary> /// <param name="model"></param> public static bool UpdateAgreement(Himall.Model.AgreementInfo model) { return(_iSystemAgreementService.UpdateAgreement(model)); }
/// <summary> /// 添加协议 /// </summary> /// <param name="model"></param> public static void AddAgreement(Himall.Model.AgreementInfo model) { _iSystemAgreementService.AddAgreement(model); }