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