|
@@ -24,7 +24,8 @@ class QrcodeController{
|
|
|
'dept'=>$table->dept_id
|
|
|
]
|
|
|
];
|
|
|
- $url = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxc6274da7198e3eb4&redirect_uri=https%3A%2F%2Fh5.wanyuewellness.com.cn%2F%23%2Fpages%2Findex%2FWeChatGuide?scan="
|
|
|
+ //https://h5.wanyuewellness.com.cn
|
|
|
+ $url = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxc6274da7198e3eb4&redirect_uri=".getenv('QRCODE_SCAN_DOMAIN')."%2F%23%2Fpages%2Findex%2FWeChatGuide?scan="
|
|
|
. urlencode(json_encode($qrcodeContent)).
|
|
|
"&response_type=code&scope=snsapi_base&connect_redirect=1&state=#wechat_redirect";
|
|
|
|