コード例 #1
0
 /// <summary>
 /// 修改自动回复
 /// </summary>
 /// <param name="item"></param>
 /// <returns></returns>
 public JsonResult ModAutoReplay(AutoReplyInfo item)
 {
     BaseController.Result result = new BaseController.Result();
     WeixinAutoReplyApplication.ModAutoReply(item);
     result.success = true;
     result.msg     = "规则保存成功!";
     return(this.Json((object)result));
 }
コード例 #2
0
        public JsonResult ModAutoReplay(Entities.AutoReplyInfo item)
        {
            var result = new Result();

            WeixinAutoReplyApplication.ModAutoReply(item);
            result.success = true;
            result.msg     = "规则保存成功!";
            return(Json(result));
        }