add clear
This commit is contained in:
+10
-3
@@ -13,14 +13,21 @@ use wchat\common\Result;
|
||||
class Subject extends \wchat\base\Subject
|
||||
{
|
||||
|
||||
private $sendUrl = 'https://api.q.qq.com/api/json/subscribe/SendSubscriptionMessage';
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUrl(): string
|
||||
{
|
||||
return '/api/json/subscribe/SendSubscriptionMessage';
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUrl()
|
||||
public function getHost(): string
|
||||
{
|
||||
return $this->sendUrl;
|
||||
return 'api.q.qq.com';
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user