|
@@ -131,7 +131,7 @@ class GZHSendKFMessage implements ShouldQueue
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
- *
|
|
|
|
|
|
+ * 拉取公众号粉丝
|
|
* @param $officialAccount Application
|
|
* @param $officialAccount Application
|
|
*/
|
|
*/
|
|
private function getUserOpenids($officialAccount, $next_openid) {
|
|
private function getUserOpenids($officialAccount, $next_openid) {
|
|
@@ -143,6 +143,13 @@ class GZHSendKFMessage implements ShouldQueue
|
|
return $result;
|
|
return $result;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 通过用户分群获取
|
|
|
|
+ * @param $gzhId
|
|
|
|
+ * @param $ugId
|
|
|
|
+ * @param $nextUid
|
|
|
|
+ * @return false|mixed
|
|
|
|
+ */
|
|
private function getUsersFromUG($gzhId, $ugId, $nextUid) {
|
|
private function getUsersFromUG($gzhId, $ugId, $nextUid) {
|
|
$url = config('wechat.ug.url.listUser');
|
|
$url = config('wechat.ug.url.listUser');
|
|
$signKey = config('wechat.ug.signKey');
|
|
$signKey = config('wechat.ug.signKey');
|