|
|
@@ -171,7 +171,7 @@ class pushNotice
|
|
|
|
|
|
|
|
|
//创建API,APPID等配置参考 环境要求 进行获取
|
|
|
- $api = new GTClient(self::baseUrl, self::appKey, self::appId, self::masterSecret);
|
|
|
+ $api = new GTClient(self::domainUrl, self::appKey, self::appId, self::masterSecret);
|
|
|
//处理返回结果
|
|
|
$result = $api->pushApi()->pushToSingleByCid($push);
|
|
|
Yii::info('push/single/cid: ' . json_encode($result));
|