1
This commit is contained in:
parent
d8cf28aeef
commit
406ce3b673
@ -109,7 +109,9 @@ class Index
|
||||
|
||||
}
|
||||
|
||||
|
||||
$appid='wx89c12dd426a55a2e';
|
||||
$wx_redirect_uri = 'https://app.cxhxy.dev.1nww.com/api/food.user/wxLogin';
|
||||
$redirect_uri = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=$appid&redirect_uri={$wx_redirect_uri}&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect";
|
||||
|
||||
|
||||
//发送公众号消息
|
||||
@ -122,7 +124,7 @@ class Index
|
||||
[
|
||||
'title' => '您有一张新的优惠券,请及时领取',
|
||||
'description' => '黄辛一新人优惠,首次关注赠送优惠券',
|
||||
'url' => 'https://www.baidu.com',
|
||||
'url' => $redirect_uri,
|
||||
'picurl' => 'https://www.baidu.com',
|
||||
]
|
||||
]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user