remove TestPhp*.*
This commit is contained in:
parent
9a0a3cf2a5
commit
371b345e54
@ -1,14 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
class TestPhp extends BaseAuthedController {
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public testPhpFunc()
|
|
||||||
{
|
|
||||||
error_log("FromPhpTest");
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
@ -1,55 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
class TestPhpController extends BaseAuthedController {
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public function testPhpFunc()
|
|
||||||
{
|
|
||||||
//_REQUEST
|
|
||||||
$account_id = $_REQUEST['account_id'];;
|
|
||||||
$conn = $this->getMysql($account_id);
|
|
||||||
if (!$conn) {
|
|
||||||
error_log("没有这个玩家测试======".$conn);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
error_log("cesMySqlConnet");
|
|
||||||
}
|
|
||||||
$ii = 1;
|
|
||||||
// $row = $conn->execQueryOne('SELECT guildcoin_num FROM user WHERE accountid=:accountid;',
|
|
||||||
// array(
|
|
||||||
// ':accountid' => $account_id
|
|
||||||
// ));
|
|
||||||
$row = $conn->execQueryOne('SELECT * FROM user ');
|
|
||||||
if($row) {
|
|
||||||
error_log("Test1======");
|
|
||||||
}
|
|
||||||
else{
|
|
||||||
error_log("Test2=======");
|
|
||||||
}
|
|
||||||
$this->sendDataToClient(0,"test",$row);
|
|
||||||
// echo json_encode(array(
|
|
||||||
// 'errcode' => 0,
|
|
||||||
// 'errmsg' => '',
|
|
||||||
// 'data' => $row,
|
|
||||||
// ));
|
|
||||||
// ;
|
|
||||||
|
|
||||||
// error_log("FromPhpTest6".$_REQUEST);
|
|
||||||
// error_log("FromPhpTest3".$_REQUEST["name"]);
|
|
||||||
}
|
|
||||||
public function testPhpFunc2()
|
|
||||||
{
|
|
||||||
echo json_encode("name=");
|
|
||||||
error_log("FromPhpTest2");
|
|
||||||
//三方势力 经济贸易中心城池放好,有等级限制,我在这个国家能做写什么
|
|
||||||
//我茅草屋开始建造
|
|
||||||
//建筑设施 铁匠铺,民屋 饭店 酒馆 ,训练营
|
|
||||||
//饭店 酒馆
|
|
||||||
//
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user