Home  >  Article  >  php教程  >  机器人陪你玩“谁是卧底"游戏

机器人陪你玩“谁是卧底"游戏

PHP中文网
PHP中文网Original
2016-05-26 08:19:201731browse

调用图灵机器人API  

    // 图灵机器人
    function tuling($keyword) {
        $key="http://www.tuling123.com/openapi/record.do?channel=9800";//api key到这里申请
        $api_url = "http://www.tuling123.com/openapi/api?key=".$key."&info=". $keyword;
        
        $result = file_get_contents ( $api_url );
        $result = json_decode ( $result, true );
        
        switch ($result ['code']) {
          case '200000' :
            $text = $result [&#39;text&#39;] . &#39;,<a href="&#39; . $result [&#39;url&#39;] . &#39;">点击进入</a>&#39;;
            return $text;
            break;
          case &#39;301000&#39; :
        $length = count($result[&#39;list&#39;]) > 9 ? 9 :count($result[&#39;list&#39;]);
            for($i= 0;$i<$length;$i++){
                $articles [$i] = array (
                    &#39;Title&#39; => $result[&#39;list&#39;][$i][&#39;name&#39;],
                    &#39;Description&#39; => $result[&#39;list&#39;][$i][&#39;author&#39;],
                    &#39;PicUrl&#39; => $result[&#39;list&#39;][$i][&#39;icon&#39;],
                    &#39;Url&#39; => $result[&#39;list&#39;][$i][&#39;detailurl&#39;]
                );
            }
            return $articles;
            break;
          case &#39;302000&#39; :
            $length = count($result[&#39;list&#39;]) > 9 ? 9 :count($result[&#39;list&#39;]);
            for($i= 0;$i<$length;$i++){
                $articles [$i] = array (
                    &#39;Title&#39; => $result[&#39;list&#39;][$i][&#39;article&#39;],
                    &#39;Description&#39; => $result[&#39;list&#39;][$i][&#39;source&#39;],
                    &#39;PicUrl&#39; => $result[&#39;list&#39;][$i][&#39;icon&#39;],
                    &#39;Url&#39; => $result[&#39;list&#39;][$i][&#39;detailurl&#39;]
                );
            }
            return $articles;
            break;
          case &#39;304000&#39; :
            $length = count($result[&#39;list&#39;]) > 9 ? 9 :count($result[&#39;list&#39;]);
            for($i= 0;$i< $length;$i++){
                $articles [$i] = array (
                    &#39;Title&#39; => $result[&#39;list&#39;][$i][&#39;name&#39;],
                    &#39;Description&#39; => $result[&#39;list&#39;][$i][&#39;count&#39;],
                    &#39;PicUrl&#39; => $result[&#39;list&#39;][$i][&#39;icon&#39;],
                    &#39;Url&#39; => $result[&#39;list&#39;][$i][&#39;detailurl&#39;]
                );
            }
            return $articles;
            break;
          case &#39;305000&#39; :
            $length = count($result[&#39;list&#39;]) > 9 ? 9 :count($result[&#39;list&#39;]);
            for($i= 0;$i<$length;$i++){
                $articles [$i] = array (
                    &#39;Title&#39; => $result[&#39;list&#39;][$i][&#39;start&#39;] . &#39;--&#39; . $result[&#39;list&#39;][$i][&#39;terminal&#39;],
                    &#39;Description&#39; => $result[&#39;list&#39;][$i][&#39;starttime&#39;] . &#39;--&#39; . $result[&#39;list&#39;][$i][&#39;endtime&#39;],
                    &#39;PicUrl&#39; => $result[&#39;list&#39;][$i][&#39;icon&#39;],
                    &#39;Url&#39; => $result[&#39;list&#39;][$i][&#39;detailurl&#39;]
                );
            }
            return $articles;
            break;
          case &#39;306000&#39; :
            $length = count($result[&#39;list&#39;]) > 9 ? 9 :count($result[&#39;list&#39;]);
            for($i= 0;$i<$length;$i++){
                $articles [$i] = array (
                    &#39;Title&#39; => $result[&#39;list&#39;][$i][&#39;flight&#39;] . &#39;--&#39; . $result[&#39;list&#39;][$i][&#39;route&#39;],
                    &#39;Description&#39; => $result[&#39;list&#39;][$i][&#39;starttime&#39;] . &#39;--&#39; . $result[&#39;list&#39;][$i][&#39;endtime&#39;],
                    &#39;PicUrl&#39; => $result[&#39;list&#39;][$i][&#39;icon&#39;],
                    &#39;Url&#39; => $result[&#39;list&#39;][$i][&#39;detailurl&#39;]
                );
            }
            return $articles;
            break;
          case &#39;307000&#39; :
            $length = count($result[&#39;list&#39;]) > 9 ? 9 :count($result[&#39;list&#39;]);
            for($i= 0;$i<$length;$i++){
                $articles [$i] = array (
                    &#39;Title&#39; => $result[&#39;list&#39;][$i][&#39;name&#39;],
                    &#39;Description&#39; => $result[&#39;list&#39;][$i][&#39;info&#39;],
                    &#39;PicUrl&#39; => $result[&#39;list&#39;][$i][&#39;icon&#39;],
                    &#39;Url&#39; => $result[&#39;list&#39;][$i][&#39;detailurl&#39;]
                );
            }
            return $articles;
            break;
          case &#39;308000&#39; :
            $length = count($result[&#39;list&#39;]) > 9 ? 9 :count($result[&#39;list&#39;]);
            for($i= 0;$i<$length;$i++){
                $articles [$i] = array (
                    &#39;Title&#39; => $result[&#39;list&#39;][$i][&#39;name&#39;],
                    &#39;Description&#39; => $result[&#39;list&#39;][$i][&#39;info&#39;],
                    &#39;PicUrl&#39; => $result[&#39;list&#39;][$i][&#39;icon&#39;],
                    &#39;Url&#39; => $result[&#39;list&#39;][$i][&#39;detailurl&#39;]
                );
            }
            return $articles;
            break;
          case &#39;309000&#39; :
            $length = count($result[&#39;list&#39;]) > 9 ? 9 :count($result[&#39;list&#39;]);
            for($i= 0;$i<$length;$i++){
                $articles [$i] = array (
                    &#39;Title&#39; => $result[&#39;list&#39;][$i][&#39;name&#39;],
                    &#39;Description&#39; => &#39;价格 : &#39; . $result[&#39;list&#39;][$i][&#39;price&#39;] . &#39; 满意度 : &#39; . $result[&#39;list&#39;][&#39;satisfaction&#39;],
                    &#39;PicUrl&#39; => $result[&#39;list&#39;][$i][&#39;icon&#39;],
                    &#39;Url&#39; => $result[&#39;list&#39;][$i][&#39;detailurl&#39;]
                );
            }
            return $articles;
            break;
          case &#39;310000&#39; :
            $length = count($result[&#39;list&#39;]) > 9 ? 9 :count($result[&#39;list&#39;]);
            for($i= 0;$i<$length;$i++){
                $articles [$i] = array (
                    &#39;Title&#39; => $result[&#39;list&#39;][$i][&#39;number&#39;],
                    &#39;Description&#39; => $result[&#39;list&#39;][$i][&#39;info&#39;],
                    &#39;PicUrl&#39; => $result[&#39;list&#39;][$i][&#39;icon&#39;],
                    &#39;Url&#39; => $result[&#39;list&#39;][$i][&#39;detailurl&#39;]
                );
            }
            return $articles;
            break;
          case &#39;311000&#39; :
            $length = count($result[&#39;list&#39;]) > 9 ? 9 :count($result[&#39;list&#39;]);
            for($i= 0;$i<$length;$i++){
                $articles [$i] = array (
                    &#39;Title&#39; => $result[&#39;list&#39;][$i][&#39;name&#39;],
                    &#39;Description&#39; => &#39;价格 : &#39; . $result[&#39;list&#39;][$i][&#39;price&#39;],
                    &#39;PicUrl&#39; => $result[&#39;list&#39;][$i][&#39;icon&#39;],
                    &#39;Url&#39; => $result[&#39;list&#39;][$i][&#39;detailurl&#39;]
                );
            }
            return $articles;
            break;
          case &#39;312000&#39; :
            $length = count($result[&#39;list&#39;]) > 9 ? 9 :count($result[&#39;list&#39;]);
            for($i= 0;$i<$length;$i++){
                $articles [$i] = array (
                    &#39;Title&#39; => $result[&#39;list&#39;][$i][&#39;name&#39;],
                    &#39;Description&#39; => &#39;价格 : &#39; . $result[&#39;list&#39;][$i][&#39;price&#39;],
                    &#39;PicUrl&#39; => $result[&#39;list&#39;][$i][&#39;icon&#39;],
                    &#39;Url&#39; => $result[&#39;list&#39;][$i][&#39;detailurl&#39;]
                );
            }
            return $articles;
            break;
          default :
            if (emptyempty ( $result [&#39;text&#39;] )) {
                return false;
            } else {
                return $result [&#39;text&#39;] ;
            }
        }
        
    }

以下是谁是卧底游戏    

    //谁是卧底游戏
    function UnderCover($key,$username){
      $mysql = new SaeMysql();
      $userid = $username;
      if($key==&#39;&#39;){
        $text = "如果您是法官请输入游戏人数(4~13之间,不包括法官哦)\n其他用户请输入房间号\n回复【规则】了解游戏规则\n回复【惩罚】查看惩罚游戏\n回复【退出】即可退出谁是卧底游戏";
      }elseif ($key==&#39;退出&#39;) {
        $lock = &#39;unlock&#39;;
        $sql="UPDATE `wx_users` SET  `lock` =  &#39;$lock&#39; WHERE  `openid` =  &#39;$username&#39;";
        $mysql->runSql($sql);
        if ($mysql->errno() != 0)
        {
          die("Error:" . $mysql->errmsg());
        }
        $text=&#39;已退出谁是卧底模式,再次发送【谁是卧底】即可开启&#39;;
      }elseif($key>=4 && $key<=6){
        $sql = "SELECT * FROM `uc_rooms` where `userid` = &#39;$username&#39; ";
        $data = $mysql->getData( $sql );
        if($data){
          $allcount = $key;
          $undercoverid1 = rand(1,$key);
          $words = getWords();
          $word1 = $words[&#39;word1&#39;];
          $word2 = $words[&#39;word2&#39;];
          $sql = "update uc_rooms set allcount= &#39;$allcount&#39;, nowcount=&#39;0&#39;,undercoverid1= &#39;$undercoverid1&#39;,word1= &#39;$word1&#39;,word2= &#39;$word2&#39; where userid= &#39;$username&#39;";
          $mysql->runSql($sql);
          if ($mysql->errno() != 0)
          {
            die("Error:" . $mysql->errmsg());
          }
          $datas = getDatas($userid);
          $roomid = $datas[&#39;roomid&#39;];
          $text = "您是法官\n游戏房间号为".$roomid."\n平民词:".$word1."\n卧底词:".$word2."\n卧底是:".$undercoverid1."号\n游戏人数为:".
          $allcount."\n回复[换],换一组词,\n(一局结束后,不必重建房,回复[换]直接换词)\n如果需要自定义词语,请输入”改“+卧底词和平民词,如:改状元,冠军";
        }else{
          $userid = $username;
          $allcount = $key;
          $undercoverid1 = rand(1,$key);
          $words = getWords();
          $word1 = $words[&#39;word1&#39;];
          $word2 = $words[&#39;word2&#39;];
          $sql = "insert into uc_rooms(userid,allcount,nowcount,undercoverid1,word1,word2) values(&#39;$username&#39;, &#39;$allcount&#39;, &#39;0&#39;,&#39;$undercoverid1&#39; ,&#39;$word1&#39; ,&#39;$word2&#39;)";
          $mysql->runSql($sql);
          if ($mysql->errno() != 0)
          {
            die("Error:" . $mysql->errmsg());
          }
          $datas = getDatas($userid);
          $roomid = $datas[&#39;roomid&#39;];
          $text = "您是法官\n游戏房间号为".$roomid."\n平民词:".$word1."\n卧底词:".$word2."\n卧底是:".$undercoverid1."号\n游戏人数为:".
          $allcount."\n回复[换],换一组词,\n(一局结束后,不必重建房,回复[换]直接换词)\n如果需要自定义词语,请输入”改“+卧底词和平民词,如:改状元,冠军";
        }
      }elseif($key>=7 && $key<=10){
        $sql = "SELECT * FROM `uc_rooms` where `userid` = &#39;$username&#39; ";
        $data = $mysql->getData( $sql );
        if($data){
          $allcount = $key;
          $undercoverid1 = rand(1,$key);
          $undercoverid2 = randexcp1($undercoverid1,$key);
          $words = getWords();
          $word1 = $words[&#39;word1&#39;];
          $word2 = $words[&#39;word2&#39;];
          $sql = "update uc_rooms set allcount= &#39;$allcount&#39;, nowcount= &#39;0&#39;,undercoverid1= &#39;$undercoverid1&#39;,undercoverid2= &#39;$undercoverid2&#39;,word1= &#39;$word1&#39;,word2 = &#39;$word2&#39; where userid = &#39;$username&#39;";
          $mysql->runSql($sql);
          if ($mysql->errno() != 0)
          {
            die("Error:" . $mysql->errmsg());
          }
          $datas = getDatas($userid);
          $roomid = $datas[&#39;roomid&#39;];
          $text = "您是法官\n游戏房间号为".$roomid."\n平民词:".$word1."\n卧底词:".$word2."\n卧底1是:".$undercoverid1."号\n卧底2是:".$undercoverid2."号\n游戏人数为:".
          $allcount."\n回复[换],换一组词,\n(一局结束后,不必重建房,回复[换]直接换词)\n如果需要自定义词语,请输入”改“+卧底词和平民词,如:改状元,冠军";
        }else{
          $userid = $username;
          $allcount = $key;
          $undercoverid1 = rand(1,$key);
          $undercoverid2 = randexcp1($undercoverid1,$key);
          $words = getWords();
          $word1 = $words[&#39;word1&#39;];
          $word2 = $words[&#39;word2&#39;];
          $sql = "insert into uc_rooms(userid,allcount,nowcount,undercoverid1,undercoverid2,word1,word2) values(&#39;$username&#39;, &#39;$allcount&#39;, &#39;0&#39;,&#39;$undercoverid1&#39; ,&#39;$undercoverid2&#39; ,&#39;$word1&#39; ,&#39;$word2&#39;)";
          $mysql->runSql($sql);
          if ($mysql->errno() != 0)
          {
            die("Error:" . $mysql->errmsg());
          }
          $datas = getDatas($userid);
          $roomid = $datas[&#39;roomid&#39;];
          $text = "您是法官\n游戏房间号为".$roomid."\n平民词:".$word1."\n卧底词:".$word2."\n卧底1是:".$undercoverid1."号\n卧底2是:".$undercoverid2."号\n游戏人数为:".
          $allcount."\n回复[换],换一组词,\n(一局结束后,不必重建房,回复[换]直接换词)\n如果需要自定义词语,请输入”改“+卧底词和平民词,如:改状元,冠军";
        }
      } 
    elseif($key>=1000&&$key<=9999) {
        $sql = "select * from uc_rooms where roomid = &#39;$key&#39;";
        $data = $mysql->getLine($sql);
        if($data){
          if($data[&#39;nowcount&#39;]<$data[&#39;allcount&#39;]){
            $nowcount = (int)$data[&#39;nowcount&#39;];
            $nowcount++;
            $sql = "update uc_rooms set nowcount = &#39;$nowcount&#39;  where roomid = &#39;$key&#39;";
            $mysql->runSql($sql);
            if ($mysql->errno() != 0)
            {
              die("Error:" . $mysql->errmsg());
            }
            if($nowcount == (int)$data[&#39;undercoverid1&#39;]){
              $text = "您是".$nowcount."号,您的词语是".$data[&#39;word2&#39;];
            }elseif($nowcount == (int)$data[&#39;undercoverid2&#39;]){
              $text = "您是".$nowcount."号,您的词语是".$data[&#39;word2&#39;];
            }elseif($nowcount == (int)$data[&#39;whiteboardid&#39;]){
              $text = "您是".$nowcount."号,您是白板";
            }else{
              $text = "您是".$nowcount."号,您的词语是".$data[&#39;word1&#39;];
            }
          }else{
            $text = "房间人数已满";
          }
        }else{
          $text = "您输入的房间号无效";
        }
      }elseif($key=="换") {
        $datas = getDatas($userid);
        $allcount=(int)$datas[&#39;allcount&#39;];
        $undercoverid1 = rand(1,$allcount);
        $words = getWords();
        $word1 = $words[&#39;word1&#39;];
        $word2 = $words[&#39;word2&#39;];
        $roomid = $datas[&#39;roomid&#39;];
        if($allcount<7){
          $sql = "update uc_rooms set nowcount = &#39;0&#39;, undercoverid1= &#39;$undercoverid1&#39;,word1= &#39;$word1&#39;,word2 = &#39;$word2&#39; where userid = &#39;$username&#39;";
          $mysql->runSql($sql);
          if ($mysql->errno() != 0)
          {
              die("Error:" . $mysql->errmsg());
          }
          $text = "换词成功\n游戏房间号为".$roomid."\n平民词:".$word1."\n卧底词:".$word2."\n卧底是:".$undercoverid1."号,游戏人数为:".$allcount."\n请参与人员重新发送房间号";
        }elseif ($allcount<11) {
          $undercoverid2 = randexcp1($undercoverid1,$allcount);
          $sql = "update uc_rooms set nowcount = &#39;0&#39;, undercoverid1= &#39;$undercoverid1&#39;,undercoverid2= &#39;$undercoverid2&#39;,word1= &#39;$word1&#39;,word2 = &#39;$word2&#39; where userid = &#39;$username&#39;";
          $mysql->runSql($sql);
          if ($mysql->errno() != 0)
          {
              die("Error:" . $mysql->errmsg());
          }
          $text = "换词成功\n游戏房间号为".$roomid."\n平民词:".$word1."\n卧底词:".$word2."\n卧底1是".$undercoverid1."号,卧底2是".$undercoverid2."号,游戏人数为:".$allcount."\n请参与人员重新发送房间号";
        }elseif ($allcount<14) {
          $undercoverid2 = randexcp1($undercoverid1,$allcount);
          $whiteboardid = randexcp2($undercoverid1,$undercoverid2,$allcount);
          $sql = "update uc_rooms set nowcount = &#39;0&#39;, undercoverid1= &#39;$undercoverid1&#39;,undercoverid2= &#39;$undercoverid2&#39;,whiteboardid=&#39;$whiteboardid&#39;,word1= &#39;$word1&#39;,word2= &#39;$word2&#39; where userid = &#39;$username&#39;";
          $mysql->runSql($sql);
          if ($mysql->errno() != 0)
          {
              die("Error:" . $mysql->errmsg());
          }
          $text = "换词成功\n游戏房间号为".$roomid."\n平民词:".$word1."\n卧底词:".$word2."\n卧底1是".$undercoverid1."号,卧底2是".$undercoverid2."号,白板号是".$whiteboardid."号,游戏人数为:".$allcount."\n请参与人员重新发送房间号";
        }
      }elseif(substr($key,0, 3)=="改" ){
        $key = substr($key, 3);
        $words = explode(",",$key);
        if(count($words) != 2)
        {
          $words = explode(",", $key);
        }
        if(count($words) != 2)
        {
          $text = "请按照正确格式输入卧底词和平民词,如:改状元,冠军";
          return $text;
          exit;
          break;
        }
        $word1=$words[0];
        $word2=$words[1];
        $datas = getDatas($userid);
        $allcount=(int)$datas[&#39;allcount&#39;];
        $roomid = $datas[&#39;roomid&#39;];
        $undercoverid1 = rand(1,$allcount);
        if($allcount<7){
          $sql = "update uc_rooms set nowcount = &#39;0&#39;, undercoverid1= &#39;$undercoverid1&#39;,word1= &#39;$word1&#39;,word2 = &#39;$word2&#39; where userid = &#39;$username&#39;";
          $mysql->runSql($sql);
          if ($mysql->errno() != 0)
          {
              die("Error:" . $mysql->errmsg());
          }
          $text = "改词成功\n游戏房间号为".$roomid."\n平民词:".$word1."\n卧底词:".$word2."\n卧底是:".$undercoverid1."号,游戏人数为:".$allcount."\n请参与人员重新发送房间号";
        }elseif ($allcount<11) {
          $undercoverid2 = randexcp1($undercoverid1,$allcount);
          $sql = "update uc_rooms set nowcount = &#39;0&#39;, undercoverid1= &#39;$undercoverid1&#39;,undercoverid2= &#39;$undercoverid2&#39;,word1= &#39;$word1&#39;,word2 = &#39;$word2&#39; where userid = &#39;$username&#39;";
          $mysql->runSql($sql);
          if ($mysql->errno() != 0)
          {
              die("Error:" . $mysql->errmsg());
          }
          $text = "改词成功\n游戏房间号为".$roomid."\n平民词:".$word1."\n卧底词:".$word2."\n卧底1是".$undercoverid1."号,卧底2是".$undercoverid2."号,游戏人数为:".$allcount."\n请参与人员重新发送房间号";
        }elseif ($allcount<14) {
          $undercoverid2 = randexcp1($undercoverid1,$allcount);
          $whiteboardid = randexcp2($undercoverid1,$undercoverid2,$allcount);
          $sql = "update uc_rooms set nowcount = &#39;0&#39;, undercoverid1= &#39;$undercoverid1&#39;,undercoverid2= &#39;$undercoverid2&#39;,whiteboardid=&#39;$whiteboardid&#39;,word1= &#39;$word1&#39;,word2 = &#39;$word2&#39; where userid = &#39;$username&#39;";
          $mysql->runSql($sql);
          if ($mysql->errno() != 0)
          {
              die("Error:" . $mysql->errmsg());
          }
          $text = "改词成功\n游戏房间号为".$roomid."\n平民词:".$word1."\n卧底词:".$word2."\n卧底1是".$undercoverid1."号,卧底2是".$undercoverid2."号,白板号是".$whiteboardid."号,游戏人数为:".$allcount."\n请参与人员重新发送房间号";
        }
      }elseif($key=="规则" || $key=="游戏规则") {
        $text="4-6人游戏1卧底\n7-10人游戏2卧底\n11-13人游戏2卧底1白板\n1.每人每轮用一句话描述自己拿到的词语,既不能让卧底察觉,也要给同伴以暗示\n".
        "2.每轮描述完毕,所有在场的人投票选出怀疑谁是卧底,得票最多的人出局。若没有人的得票超过半数(50%),则没有人出局。若卧底出局,则游戏结束。若卧底未出局,游戏继续\n".
        "3.反复多个流程,若卧底撑到最后一轮(场上剩3人时),则卧底获胜,反之,则大部队胜利";
      }elseif($key==0 || $key=="惩罚") {
        $text=getPunish();
      }
      else{
        $text=&#39;好吧,你说的我听不懂了&#39;;
      }
      $mysql->closeDb();
      return $text;
    } 
    function getWords(){
      $mysql = new SaeMysql();
      $sql = "select count(*) from uc_words";
      $all = $mysql->getVar($sql);
      $id = rand(1,$all);
      $sql = "select * from uc_words where id = $id";
      $words=$mysql->getLine($sql);
      if ($mysql->errno() != 0)
      {
        die("Error:".$mysql->errmsg());
      }
      $mysql->closeDb();
      return $words;
    }
    function getDatas($userid){
      $mysql = new SaeMysql();
      $sql = "select * from uc_rooms where userid = &#39;$userid&#39;";
      $datas=$mysql->getLine($sql);
      if ($mysql->errno() != 0)
      {
        die("Error:".$mysql->errmsg());
      }
      $mysql->closeDb();
      return $datas;
    }
    function randexcp1($excp,$key) {
      $randresult = rand(1,$key);
      if ($randresult == $excp) {
        return randexcp1($excp);
      } else {
        return $randresult;
      }  
    }
    function randexcp2($excp1,$excp2,$key) {
      $randresult = rand(1,$key);
      if ($randresult == $excp1 || $randresult == $excp2) {
        return randexcp2($excp1,$excp2,$key);
      } else {
        return $randresult;
      }  
    }
    function getPunish(){
      $content = "请输的同学摇骰子选择:\n\n";
      $mysql = new SaeMysql();
      $sql = "select max(id) from uc_punish";
      $maxid = $mysql->getVar($sql);
      $a = array();
      $i = 1;
      while($i<=6) {
        $id = fmod(rand(1,100000),$maxid) + 1;
        if(array_search($id, $a)==false)
        {
        $a[]=$id;
        $sql = "select item from uc_punish where id = $id";
        $item = $mysql->getVar($sql);
        $content.=$i.". ".$item."\n\n";
        $i=$i+1;
        }
      }
      return $content;
    }

                   

                       

                                     

                                       

                   

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn