Skip to content

Commit 8f7ec63

Browse files
authored
Update wxpusher.class.php
增加verifyPay参数
1 parent bd2ce6a commit 8f7ec63

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

wxpusher.class.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public function quickSend($uid = null , $topicId = null , $content = 'Hello',$ur
121121
* 使用方法实例:
122122
* $wx->send('内容','摘要','类型','是否为用户id',id或数组id,'需传送的url',是否返回messageID))
123123
*/
124-
public function send($content = null,$summary = null,$contentType = 1,$isUids = true,$array_id = [],$url = '',$getMessageId = false)
124+
public function send($content = null,$summary = null,$contentType = 1,$isUids = true,$array_id = [],$url = '',$getMessageId = false,$verifyPay = false)
125125
{
126126
{
127127
$type = $isUids?'uids':'topicIds';
@@ -136,6 +136,7 @@ public function send($content = null,$summary = null,$contentType = 1,$isUids =
136136
'summary' => $summary,
137137
$type => $array_id,
138138
'url' => $url,
139+
'verifyPay' => $verifyPay,
139140
);
140141
$jsonStr = json_encode($postdata);
141142
$result_Original = json_decode($this->post_json($this->appMsgGate, $jsonStr),TRUE);//取出data内执行信息
@@ -291,4 +292,4 @@ public function getFunTotal(){
291292
return $result['msg']; //反馈服务器给出的错误信息
292293
}
293294
}
294-
}
295+
}

0 commit comments

Comments
 (0)