|
|
@@ -621,6 +621,7 @@ class User extends BaseController
|
|
|
public function getWxmpQrcode(Request $request){
|
|
|
$weixinA = new weixina();
|
|
|
$data = $weixinA->getUnlimitedQRCode("pages/index/index","a=1");
|
|
|
+ return app('json')->success(["data"=>$data,"res"=>\think\facade\Filesystem::disk('resource')]);
|
|
|
if(empty($data)){
|
|
|
return app('json')->fail("小程序码获取失败".$weixinA->error);
|
|
|
}
|