diff --git a/Application/Home/Controller/PromoteController.class.php b/Application/Home/Controller/PromoteController.class.php index b718673a8..7be4e73b6 100644 --- a/Application/Home/Controller/PromoteController.class.php +++ b/Application/Home/Controller/PromoteController.class.php @@ -100,7 +100,7 @@ class PromoteController extends BaseController $today_start = mktime(0, 0, 0, date('m'), date('d'), date('Y')); $today_end = mktime(0, 0, 0, date('m'), date('d') + 1, date('Y')) - 1; - $today_open_server_list = M("server as sv", "tab_") + $today_open_server_list = M("ServerNotice as sv", "tab_") ->where( array("sv.start_time" => array("BETWEEN", array($today_start, $today_end)), "sv.show_status" => 1)) @@ -110,7 +110,7 @@ class PromoteController extends BaseController ->page(1, 20) ->select(); - $count = M("server", "tab_") + $count = M("ServerNotice", "tab_") ->where( array("start_time" => array("BETWEEN", array($today_start, $today_end)), "show_status" => 1)) @@ -442,7 +442,7 @@ class PromoteController extends BaseController $map['sv.show_status'] = 1; $count_map['show_status'] = 1; - $open_server_list = M("server as sv", "tab_") + $open_server_list = M("ServerNotice as sv", "tab_") ->where($map) ->join("left join tab_game gm on gm.id=sv.game_id") ->field('sv.*,gm.icon') @@ -450,7 +450,7 @@ class PromoteController extends BaseController ->page($pg, 20) ->select(); - $count = M("server", "tab_") + $count = M("ServerNotice", "tab_") ->where($count_map) ->count(); //var_dump($count); diff --git a/Application/Mobile/Controller/SsgController.class.php b/Application/Mobile/Controller/SsgController.class.php index 40f5d9edf..24c9a289e 100644 --- a/Application/Mobile/Controller/SsgController.class.php +++ b/Application/Mobile/Controller/SsgController.class.php @@ -20,7 +20,7 @@ class SsgController extends BaseController { const CODE_ERROR = -97; //验证码错误 const RETURN_SUCCESS = 1; const RETURN_FALSE = 2; - const signprice = 10; //充值金额 + const signprice = 0.01; //充值金额 public function login()