正在显示
2 个修改的文件
包含
5 行增加
和
2 行删除
@@ -242,8 +242,11 @@ class Agentlist extends Backend | @@ -242,8 +242,11 @@ class Agentlist extends Backend | ||
242 | /*** | 242 | /*** |
243 | * 公众号推送审核信息给经纪人 | 243 | * 公众号推送审核信息给经纪人 |
244 | */ | 244 | */ |
245 | - private function senWxmsgToAgentUser($titdesc, $wxopenid, $remark) | 245 | + private function senWxmsgToAgentUser() |
246 | { | 246 | { |
247 | + $remark=""; | ||
248 | + $titdesc=""; | ||
249 | + $wxopenid="oYhYi6fEAxSnlAV1qNm2BwaJdQOQ"; | ||
247 | $sendInfo = array( | 250 | $sendInfo = array( |
248 | 'first' => array('value' => urlencode($titdesc), 'color' => "#743A3A"), | 251 | 'first' => array('value' => urlencode($titdesc), 'color' => "#743A3A"), |
249 | 'keyword1' => array('value' => urlencode(date('Y-m-d H:i:s', time())), 'color' => '#173177'), | 252 | 'keyword1' => array('value' => urlencode(date('Y-m-d H:i:s', time())), 'color' => '#173177'), |
@@ -96,7 +96,7 @@ class Index extends Api | @@ -96,7 +96,7 @@ class Index extends Api | ||
96 | public function senWxmsgToAgentUser($titdesc="", $remark="") | 96 | public function senWxmsgToAgentUser($titdesc="", $remark="") |
97 | { $appId = 'wxb7dd0c03865a94e0'; | 97 | { $appId = 'wxb7dd0c03865a94e0'; |
98 | $appSecret = '6af75a6fb8211da45631630e34769f82'; | 98 | $appSecret = '6af75a6fb8211da45631630e34769f82'; |
99 | - $openId = 'o5ABA4yWDTLRTf3LkBMMHoV7XOvQ'; | 99 | + $openId = 'oYhYi6fEAxSnlAV1qNm2BwaJdQOQ'; |
100 | $unionId = 'ojyUX6oNFoQMqoCd1JWtfwQs-CeA'; | 100 | $unionId = 'ojyUX6oNFoQMqoCd1JWtfwQs-CeA'; |
101 | // 获取token | 101 | // 获取token |
102 | $myurl = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=" . $appId . "&secret=" . $appSecret; | 102 | $myurl = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=" . $appId . "&secret=" . $appSecret; |
-
请 注册 或 登录 后发表评论