Skip to content

Commit

Permalink
2018-3-14
Browse files Browse the repository at this point in the history
  • Loading branch information
South-Walker committed Mar 14, 2018
1 parent 2d6a949 commit 0780925
Show file tree
Hide file tree
Showing 24 changed files with 18 additions and 30 deletions.
Binary file added .vs/WeChatMVC/v15/.suo
Binary file not shown.
Empty file.
Binary file added .vs/WeChatMVC/v15/Server/sqlite3/storage.ide
Binary file not shown.
27 changes: 4 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,13 @@
基于微信的WebApp
![](https://raw.github.com/South-Walker/Hualitong/master/doc/hualitongcolorful.png)
华理通 - 基于微信的WebApp
==

华理通(南行负责部分)
华理通
--

### 逻辑框图

![hualitong](http://xiaoliming96.com/images/hualitong.png)

### 日志

#### 2017-5-26

>* 重构了代码
>>将所有封装的类单独放入models目录下,并对其他控制器添加了对应命名空间的引用
>* 添加了ReadMe文件
>>添加了对华理通项目的说明、逻辑框图与日志
>>添加了410打印店项目的说明
#### 2017-5-27
>* 重构了代码
>>将APIController下生成POST字符串的代码由拼接改为了使用占位符
>>>```c#
>>>string post = string.Format("txtuser={0}&txtpwd={1}",studentnum, pwd);
>>>```
>>>由于学校网络原因,无法测试,故注释掉原本代码
410打印店
--
### 逻辑框图
不存在的
Binary file modified WeChatMVC/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
b40f5fb5956f6472169fa841dd1c9f7e16d26c76
Binary file modified WeChatMVC/obj/Debug/WeChatMVC.dll
Binary file not shown.
Binary file modified WeChatMVC/obj/Debug/WeChatMVC.pdb
Binary file not shown.
Binary file added doc/Classtable.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/Grade.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/bigClasstable.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/hualitong.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/hualitongbw.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/hualitongcolorful.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added wechatpost/.vs/wechatpost/v15/.suo
Binary file not shown.
Empty file.
Binary file not shown.
12 changes: 5 additions & 7 deletions wechatpost/wechatpost/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,11 @@ class Program
{
static void Main(string[] args)
{
//wx9e64b20cf4937a98
//7d7d04064acdf0e0f5e51c7a3e0240ea
//https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=wx9e64b20cf4937a98&secret=7d7d04064acdf0e0f5e51c7a3e0240ea
string post = "{\"button\":[{ \"name\":\"拾光TEN\", \"sub_button\":[{\"type\":\"click\",\"name\":\"卿卿如唔\",\"key\":\"hualitong_love\"},{\"type\":\"view\",\"name\":\"我要卖室友\",\"url\":\"http://koudaigou.net/f/58e25d0abb7c7c57ac3b76e1/\"},{\"type\":\"view\",\"name\":\"双创协会\",\"url\":\"http://m.ecustcxcy.icoc.me\"}]},{ \"name\":\"四维口袋\", \"sub_button\":[{\"type\":\"click\",\"name\":\"更改绑定\",\"key\":\"hualitong_changestudentnum\"},{\"type\":\"click\",\"name\":\"今明课表\",\"key\":\"hualitong_classtable\"},{\"type\":\"click\",\"name\":\"一键成绩\",\"key\":\"hualitong_grade\"},{\"type\":\"click\",\"name\":\"一键评教\",\"key\":\"hualitong_pj\"},{\"type\":\"click\",\"name\":\"更多功能\",\"key\":\"hualitong_more\"}]},{ \"name\":\"关于我们\", \"sub_button\":[{\"type\":\"view\",\"name\":\"四六级管家\",\"url\":\"http://msg.weixiao.qq.com/t/d03a96c84480a4cf1e33d4ec385d47fb\"},{\"type\":\"view\",\"name\":\"华理夜市\",\"url\":\"http://wx.quanzijishi.com/circle/o0es947g45u\"},{\"type\":\"click\",\"name\":\"实用工具\",\"key\":\"hualitong_helper\"},{\"type\":\"view\",\"name\":\"APP下载\",\"url\":\"http://dvomg.xiuzan001.cn/marketing/9e3x7o0z37nr.html\"},{\"type\":\"view\",\"name\":\"加入我们\",\"url\":\"https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx7605be91175e1d69&redirect_uri=http%3A%2F%2Fh5.ixiuzan.cn%2Fbridge%2Findex.html%3FbackUrl%3Dhttp%253A%252F%252Fdvomg.xiuzan001.cn%252Fbaoming%252FplGx7j3omgZQ.html&response_type=code&scope=snsapi_userinfo&state=869971&connect_redirect=1#wechat_redirect\"}]}]}";
string acc = "iCz_r7F3qGAjLeIQ_1lAANaY5TzJHvfIvp-6Bqs3NP0BJsK2lNdrn3EpgHN3FK-X2RzU1qHxLhsFeCHnytvQrM-arCg2zaCxYE4esNkipXMtWhcdi9REgOSX43Hk6bZBNPIjAJAACV";
string url = "https://api.weixin.qq.com/cgi-bin/menu/create?access_token=" + acc;
MyHttpHelper a = new MyHttpHelper(url);
//https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid={ yourappid }&secret={ yoursecret }
string post = "{\"button\":[{ \"name\":\"拾光TEN\", \"sub_button\":[{\"type\":\"click\",\"name\":\"卿卿如唔\",\"key\":\"hualitong_love\"},{\"type\":\"view\",\"name\":\"我要卖室友\",\"url\":\"http://koudaigou.net/f/58e25d0abb7c7c57ac3b76e1/\"},{\"type\":\"view\",\"name\":\"双创协会\",\"url\":\"http://m.ecustcxcy.icoc.me\"}]},{ \"name\":\"四维口袋\", \"sub_button\":[{\"type\":\"click\",\"name\":\"更改绑定\",\"key\":\"hualitong_changestudentnum\"},{\"type\":\"click\",\"name\":\"今明课表\",\"key\":\"hualitong_classtable\"},{\"type\":\"click\",\"name\":\"一键成绩\",\"key\":\"hualitong_grade\"},{\"type\":\"click\",\"name\":\"一键评教\",\"key\":\"hualitong_pj\"},{\"type\":\"click\",\"name\":\"更多功能\",\"key\":\"hualitong_more\"}]},{ \"name\":\"关于我们\", \"sub_button\":[{\"type\":\"view\",\"name\":\"四六级管家\",\"url\":\"http://msg.weixiao.qq.com/t/d03a96c84480a4cf1e33d4ec385d47fb\"},{\"type\":\"view\",\"name\":\"华理夜市\",\"url\":\"http://wx.quanzijishi.com/circle/o0es947g45u\"},{\"type\":\"click\",\"name\":\"实用工具\",\"key\":\"hualitong_helper\"},{\"type\":\"view\",\"name\":\"APP下载\",\"url\":\"http://dvomg.xiuzan001.cn/marketing/9e3x7o0z37nr.html\"},{\"type\":\"view\",\"name\":\"加入我们\",\"url\":\"https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx7605be91175e1d69&redirect_uri=http%3A%2F%2Fh5.ixiuzan.cn%2Fbridge%2Findex.html%3FbackUrl%3Dhttp%253A%252F%252Fdvomg.xiuzan001.cn%252Fbaoming%252FplGx7j3omgZQ.html&response_type=code&scope=snsapi_userinfo&state=869971&connect_redirect=1#wechat_redirect\"}]}]}";
string acc = "";
string url = "https://api.weixin.qq.com/cgi-bin/menu/create?access_token=" + acc;
MyHttpHelper a = new MyHttpHelper(url);
a.HttpPost(post);
Console.WriteLine(a.ToString());
Console.Read();
Expand Down
Binary file modified wechatpost/wechatpost/bin/Debug/wechatpost.exe
Binary file not shown.
Binary file modified wechatpost/wechatpost/bin/Debug/wechatpost.pdb
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3ecab982fcfc48c0dafda705e1ecd81b54341ea4
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,10 @@ C:\Users\Administrator\Desktop\WeChatMVC\wechatpost\wechatpost\obj\Debug\wechatp
C:\Users\Administrator\Desktop\WeChatMVC\wechatpost\wechatpost\bin\Debug\wechatpost.exe
C:\Users\Administrator\Desktop\WeChatMVC\wechatpost\wechatpost\bin\Debug\wechatpost.pdb
C:\Users\Administrator\Desktop\WeChatMVC\wechatpost\wechatpost\obj\Debug\wechatpost.csprojResolveAssemblyReference.cache
C:\Users\lenovo\Desktop\Hualitong\wechatpost\wechatpost\obj\Debug\wechatpost.exe
C:\Users\lenovo\Desktop\Hualitong\wechatpost\wechatpost\obj\Debug\wechatpost.pdb
C:\Users\lenovo\Desktop\Hualitong\wechatpost\wechatpost\bin\Debug\wechatpost.exe.config
C:\Users\lenovo\Desktop\Hualitong\wechatpost\wechatpost\bin\Debug\wechatpost.exe
C:\Users\lenovo\Desktop\Hualitong\wechatpost\wechatpost\bin\Debug\wechatpost.pdb
C:\Users\lenovo\Desktop\Hualitong\wechatpost\wechatpost\obj\Debug\wechatpost.csprojResolveAssemblyReference.cache
C:\Users\lenovo\Desktop\Hualitong\wechatpost\wechatpost\obj\Debug\wechatpost.csproj.CoreCompileInputs.cache
Binary file modified wechatpost/wechatpost/obj/Debug/wechatpost.exe
Binary file not shown.
Binary file modified wechatpost/wechatpost/obj/Debug/wechatpost.pdb
Binary file not shown.

0 comments on commit 0780925

Please sign in to comment.