摘要: 1.第一步 $hosturl = urlencode('');//异步回调地址 $wechatInfo = WechatInfo::get_wechat(); //查询appid $url = "https://open.weixin.qq.com/connect/oauth2/authorize? 阅读全文
posted @ 2019-12-21 10:51 行走的阳光 阅读(1430) 评论(0) 推荐(0) 编辑
摘要: 1.添加数据 1.1添加一条数据 $user = new User; $user->name = 'thinkphp'; $user->email = 'thinkphp@qq.com'; $user->save(); $user = new User; $user->save([ 'name' = 阅读全文
posted @ 2019-12-21 10:28 行走的阳光 阅读(1098) 评论(0) 推荐(0) 编辑