基于thinkphp5.1而成的小程序登录后台代码
小程序登录后台代码经过几天测试,把官方文档集成到了一个控制器下,解决了解密访问小程序域名的难题。下面放置代码<?phpnamespace app\home\controller;use think\Controller;use think\Exception;class Wxchat extends Controller{ //微信登录 public function wxlogin() { $get = input('get.');
原创
2020-08-18 10:05:20 ·
481 阅读 ·
0 评论