2019-10-29 10:20:12 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
|
2020-03-05 12:41:49 +08:00
|
|
|
namespace wchat\wx;
|
2019-10-29 10:20:12 +08:00
|
|
|
|
|
|
|
|
|
2020-03-05 12:41:49 +08:00
|
|
|
use wchat\common\Result;
|
2019-11-11 18:14:47 +08:00
|
|
|
|
2020-11-14 03:04:25 +08:00
|
|
|
/**
|
|
|
|
|
* Class Subject
|
|
|
|
|
* @package wchat\wx
|
|
|
|
|
*/
|
2020-04-30 22:25:50 +08:00
|
|
|
class Subject extends \wchat\base\Subject
|
2019-10-29 10:20:12 +08:00
|
|
|
{
|
|
|
|
|
|
2021-04-06 15:20:39 +08:00
|
|
|
private $sendUrl = 'https://api.weixin.qq.com/cgi-bin/message/subscribe/send';
|
2019-10-29 10:20:12 +08:00
|
|
|
|
|
|
|
|
/**
|
2020-04-30 22:25:50 +08:00
|
|
|
* @return string
|
2019-10-29 10:20:12 +08:00
|
|
|
*/
|
2021-04-06 15:15:37 +08:00
|
|
|
public function getUrl()
|
2019-10-29 10:20:12 +08:00
|
|
|
{
|
2020-04-30 22:25:50 +08:00
|
|
|
return $this->sendUrl;
|
2019-10-29 10:20:12 +08:00
|
|
|
}
|
|
|
|
|
}
|