|
@@ -638,7 +638,7 @@ class Wechat
|
|
|
|
|
|
/**
|
|
|
* 设置回复消息
|
|
|
- * Examle: $obj->text('hello')->reply();
|
|
|
+ * Example: $obj->text('hello')->reply();
|
|
|
* @param string $text
|
|
|
*/
|
|
|
public function text($text='')
|
|
@@ -657,7 +657,7 @@ class Wechat
|
|
|
}
|
|
|
/**
|
|
|
* 设置回复消息
|
|
|
- * Examle: $obj->image('media_id')->reply();
|
|
|
+ * Example: $obj->image('media_id')->reply();
|
|
|
* @param string $mediaid
|
|
|
*/
|
|
|
public function image($mediaid='')
|
|
@@ -677,7 +677,7 @@ class Wechat
|
|
|
|
|
|
/**
|
|
|
* 设置回复消息
|
|
|
- * Examle: $obj->voice('media_id')->reply();
|
|
|
+ * Example: $obj->voice('media_id')->reply();
|
|
|
* @param string $mediaid
|
|
|
*/
|
|
|
public function voice($mediaid='')
|
|
@@ -697,10 +697,10 @@ class Wechat
|
|
|
|
|
|
/**
|
|
|
* 设置回复消息
|
|
|
- * Examle: $obj->video('media_id','title','description')->reply();
|
|
|
+ * Example: $obj->video('media_id','title','description')->reply();
|
|
|
* @param string $mediaid
|
|
|
*/
|
|
|
- public function video($mediaid='',$title,$description)
|
|
|
+ public function video($mediaid='',$title='',$description='')
|
|
|
{
|
|
|
$FuncFlag = $this->_funcflag ? 1 : 0;
|
|
|
$msg = array(
|
|
@@ -709,8 +709,8 @@ class Wechat
|
|
|
'MsgType'=>self::MSGTYPE_IMAGE,
|
|
|
'Video'=>array(
|
|
|
'MediaId'=>$mediaid,
|
|
|
- 'Title'=>$mediaid,
|
|
|
- 'Description'=>$mediaid,
|
|
|
+ 'Title'=>$title,
|
|
|
+ 'Description'=>$description
|
|
|
),
|
|
|
'CreateTime'=>time(),
|
|
|
'FuncFlag'=>$FuncFlag
|
|
@@ -1887,7 +1887,7 @@ class Wechat
|
|
|
|
|
|
/**
|
|
|
* 转发多客服消息
|
|
|
- * Examle: $obj->transfer_customer_service($customer_account)->reply();
|
|
|
+ * Example: $obj->transfer_customer_service($customer_account)->reply();
|
|
|
* @param string $customer_account 转发到指定客服帐号:test1@test
|
|
|
*/
|
|
|
public function transfer_customer_service($customer_account = '')
|