public ActionResult AddAutoReplyOnKeyWordsRule() { AutoReplyOnKeyWordsRuleEntity args = RequestArgs <AutoReplyOnKeyWordsRuleEntity>(); if (args == null) { return(RespondResult(false, "参数无效。")); } args.Domain = DomainContext.Domain.Id; _settingsManager.AddAutoReplyOnKeyWordsRule(args); #region 操作日志 _operatedLogManager.Create(new OperatedLogEntity() { Domain = DomainContext.Domain.Id, AppId = DomainContext.AppId, User = UserContext.User.Id, IP = Request.UserHostAddress, Module = EnumModule.Settings, Description = "添加关键词自动回复" }); #endregion return(RespondResult()); }