Skip to content

Commit

Permalink
2017-9-13
Browse files Browse the repository at this point in the history
  • Loading branch information
South-Walker committed Sep 13, 2017
1 parent 84d8d70 commit ed69bf7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Binary file modified .vs/WeChatMVC/v14/.suo
Binary file not shown.
6 changes: 4 additions & 2 deletions WeChatMVC/Controllers/WeChatController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,12 @@ public string Index() //回复全都是xml格式的string
{
return Request["echostr"];
}
if (IsFromTencent("961016") && Request.HttpMethod == "POST") //确认是腾讯发来,debug前会在前面加上感叹号
if (IsFromTencent("961016") && Request.HttpMethod == "POST")
{
try
{
#region wechatpost
#region hualitong
userrequest = new UserRequest(Request.InputStream);
if (userrequest.IsClick())
{
Expand Down Expand Up @@ -91,6 +92,7 @@ public string Index() //回复全都是xml格式的string
return userrequest.Get_Reply("教务处密码已修改,现在您绑定的教务处密码为:" + message.Substring(DBManual.jwcmes.Length) + ",为防止密码泄露,请及时删除此条消息");
}
}
#endregion
#region print
if (userrequest.FromUserName == "o3dl2wZ3YisQO8GW_bd_c-QOWGsQ" || userrequest.FromUserName == "o3dl2wXugXYxUebDprdV5_KyADP8" || userrequest.FromUserName == "o3dl2wUzmzcr7ZvZ6v7vi_I4Hffw" || userrequest.FromUserName == "o3dl2wZHdvmo1sxQaiKefLRcyr_o")
{
Expand All @@ -99,7 +101,7 @@ public string Index() //回复全都是xml格式的string
}
#endregion
return "success";
#endregion}
#endregion
}
catch
{
Expand Down
Binary file modified 华理通项目示意图.xmind
Binary file not shown.

0 comments on commit ed69bf7

Please sign in to comment.