2 Star 4 Fork 8

LiuCabbage / ASP.NET MVC QQ Connect

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

ASP.NET MVC QQ Connect

介绍

ASP.NET MVC QQ互联接入Demo。
项目地址:https://gitee.com/Liu_Cabbage/ASP.NET-MVC-QQ-Connect

项目说明

  1. 因为个人博客要接入QQ互联,也是第一次玩,不熟悉,所以就先写了这个Demo
  2. 支持登录返回登录前的Url
  3. 后台回调方法获取数据,可以写入数据库自己发挥
  4. 只用了一个第三方的库:Newtonsoft.Json
  5. get_user_info最终返回参数会多几个,和文档对不上

使用说明

  1. 修改QQLoginHelper 里的appId appKey redirect_uri 为你自己的。 输入图片说明
  2. 发布到本地文件夹
  3. IIS发布这个项目 内网ip加80端口
  4. 添加一条本地域名映射记录 C:\Windows\System32\drivers\etc\hosts 你的内网ip 你的域名
  5. 浏览器用域名打开IIS发布的网站,查看cookie 输入图片说明

项目截图

输入图片说明 输入图片说明 输入图片说明 输入图片说明

MIT License Copyright (c) 2019 Liu_Cabbage Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

ASP.NET MVC QQ互联接入Demo。 展开 收起
C#
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C#
1
https://gitee.com/LiuCabbage/ASP.NET-MVC-QQ-Connect.git
git@gitee.com:LiuCabbage/ASP.NET-MVC-QQ-Connect.git
LiuCabbage
ASP.NET-MVC-QQ-Connect
ASP.NET MVC QQ Connect
master

搜索帮助