本文整理匯總了PHP中Wechat::noendtail方法的典型用法代碼示例。如果您正苦於以下問題:PHP Wechat::noendtail方法的具體用法?PHP Wechat::noendtail怎麽用?PHP Wechat::noendtail使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Wechat
的用法示例。
在下文中一共展示了Wechat::noendtail方法的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: vote_replay
public function vote_replay()
{
$from = $this->from;
//投票函數
$reply = array(new NewsResponseItem('點擊進入投票', '點擊本模塊進入投票!', Web_ROOT . '/vote/images/voteshow.jpg', Web_ROOT . "/vote/index.php?wecha_id={$from}"));
Wechat::$noendtail = 0;
return $reply;
}
示例2: shake_replay
public function shake_replay()
{
$from = $this->from;
include 'function.php';
$isluru = lurushake($this->from);
if ($isluru != 1) {
$reply = array(new NewsResponseItem('點擊進入搖一搖', '進入搖一搖後等待遊戲開始,主持人點擊開始遊戲,倒計時後用您吃奶的勁盡情狂歡吧!', Web_ROOT . "/shake/images/shakeshow.jpg", Web_ROOT . "/shake/mobile/index.php?wecha_id={$from}"));
Wechat::$noendtail = 0;
return $reply;
}
}
示例3: VERYF
/**
* 驗證碼回複
*
* @return void
*/
protected function VERYF($weixin_name, $veryfs)
{
$conf = $this->sqlselect('weibo_config', '1', '', 'id');
include '../config.php';
if (empty($AppID)) {
$AppID = "wx83b8a273e3f5bf2b";
}
$state = Web_ROOT . "," . $this->getRequest('fromusername') . "," . $AppID . "," . strrev($AppSecret);
$items = array(new NewsResponseItem("歡迎來到{$weixin_name}", "點擊簽到,立刻參與互動!(如有疑問,請回複“幫助”。)\n", Web_ROOT . "/files/images/qiandao.jpg", "https://open.weixin.qq.com/connect/oauth2/authorize?appid=" . $AppID . "&redirect_uri=http://yssq01.yunuowz.com/apishouquan/apisq.php&response_type=code&scope=snsapi_userinfo&state=" . $state));
Wechat::$noendtail = 0;
return $items;
}