SourceCode/jiouosdp/Areas/WeiXinBase/Controllers/BasicInformationController.cs
(开头部分) 17KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using RFrameGenerate.BLL;
using RFrameGenerate.BLL.WX_BaseCommon;
using RFrameGenerate.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Wechat;
using Wechat.Enum;
using Wechat.Model;
using weixinopen;
namespace jiouosdp.Areas.WeiXinBase.Controllers
{
public class BasicInformationController : Controller
{
//
// GET: /System/BasicInformation/
[PF(PCode.WeiXinManage.Menu)]
public ActionResult Index()
{
string subscribe, nonematch;
BaseCommonBLL.GetEventKeyword(out subscribe, out nonematch);
ViewBag.subscribe = subscribe;
ViewBag.nonematch = nonematch;
return View();
}
public JsonResult SaveEnvents(string subscribe, string nonematch)
{
var result = BaseCommonBLL.SaveEventKeyword(subscribe, nonematch);
if (result.State == true)
return Json(new { Result = "OK" });
else
return Json(new { Result = "NO", Msg = result.Msg });
}
public JsonResult AddTextKeyword(string keyword, string content, string rulename)
{
var result = BaseCommonBLL.AddTextKeyword(keyword, content, rulename);
if (result.State == true)
return Json(new { Result = "OK" });
else
return Json(new { Result = "NO", Msg = result.Msg });
}
public JsonResult UpdateTextKeyword(Guid guid, string keyword, string content, string rulename)
{
var result = BaseCommonBLL.UpdateTextKeyword(guid, keyword, content, rulename);
if (result.State == true)
return Json(new { Result = "OK" });
else
return Json(new { Result = "NO", Msg = result.Msg });
}
public JsonResult DelTextKeyword(Guid guid)
{
var result = BaseCommonBLL.DelTextKeyword(guid);
if (result.State == true)
return Json(new { Result = "OK" });
后面还有 292 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。