|
|
@@ -45,7 +45,7 @@ function outFileLog($data,$filename='log',$title='data'){
|
|
|
//构建请求二维码参数
|
|
|
//path是扫描二维码跳转的小程序路径,可以带参数?id=xxx
|
|
|
//width是二维码宽度
|
|
|
-function getQrCode($ACCESS_TOKEN,$PAGES,$PATH='uploads/qrcode/',$NAME){
|
|
|
+function getQrCode($ACCESS_TOKEN,$PAGES,$NAME,$PATH='uploads/qrcode/'){
|
|
|
|
|
|
//判断文件夹是否存在,不存在则创建
|
|
|
if (!file_exists($PATH)) {
|