Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 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;
     }
 }
Ejemplo n.º 3
0
 /**
  * 验证码回复
  *
  * @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;
 }