...
|
...
|
@@ -94,12 +94,12 @@ class Index extends Api |
|
|
* 公众号推送审核信息给经纪人
|
|
|
*/
|
|
|
public function senWxmsgToAgentUser($titdesc="", $remark="")
|
|
|
{$appId = 'wxb7dd0c03865a94e0';
|
|
|
{ $appId = 'wxb7dd0c03865a94e0';
|
|
|
$appSecret = '6af75a6fb8211da45631630e34769f82';
|
|
|
$openId = 'o5ABA4yWDTLRTf3LkBMMHoV7XOvQ';
|
|
|
$unionId = 'ojyUX6oNFoQMqoCd1JWtfwQs-CeA';
|
|
|
// 获取token
|
|
|
$myurl = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=" . $appid . "&secret=" . $secret;
|
|
|
$myurl = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=" . $appId . "&secret=" . $appSecret;
|
|
|
$json_token = http_request($myurl);
|
|
|
$access_tokens = json_decode($json_token, true);
|
|
|
$accessToken = $access_tokens['access_token'];
|
...
|
...
|
|