初始化代码
This commit is contained in:
25
application/api/wxapi/wxmsg/ReceiveText.php
Normal file
25
application/api/wxapi/wxmsg/ReceiveText.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
namespace app\api\wxapi\wxmsg;
|
||||
|
||||
|
||||
use app\api\wxapi\Base;
|
||||
use app\api\wxapi\wxmsg\Reply;
|
||||
|
||||
/* 接收text消息
|
||||
* */
|
||||
class ReceiveText extends Base{
|
||||
public $BaseObject;
|
||||
|
||||
public function run(){
|
||||
|
||||
$this->send();
|
||||
}
|
||||
|
||||
//回复消息
|
||||
public function send(){
|
||||
$Reply=new Reply();
|
||||
$Reply->BaseObject=$this->BaseObject;
|
||||
$Reply->run();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user