摘要:
QQ互联官网 首先申请成为开发者获取到后面需要的 client_id redirect_uri client_secret 文档资料/SDK及资源下载/SDK下载/PHP SDK 下载下来修改文件修改 install/install.html<form action="index.php" meth 阅读全文
posted @ 2020-10-26 21:59
记忆有限博客长存
阅读(195)
评论(0)
推荐(0)
摘要:
auth()命令 auth()->attempt() 登录验证 auth()->check 判断是否登录,有没有session缓存 auth()->loginout() 清除缓存 退出登录时使用 auth()->user() 获取当前认证用户 配置 app/config/auth.php 'prov 阅读全文
posted @ 2020-10-26 17:07
记忆有限博客长存
阅读(1732)
评论(0)
推荐(0)
摘要:
1.导出 public function excel(){ $data=User::all(); $data=json_decode(json_encode($data),true); //true必须写 这里的目的是把json格式转化为数组 $str="ID\t标题\t图片地址\t内容\t作者\t 阅读全文
posted @ 2020-10-26 16:50
记忆有限博客长存
阅读(101)
评论(0)
推荐(0)