Browse Source

录方后台

pull/1/head
pengda 8 months ago
parent
commit
3866319e68
  1. 3
      control/index.php

3
control/index.php

@ -10,6 +10,8 @@ include_once(SERVER_ROOT . "/model/mPage.php");
class index extends publicBase {
private function _check_login() {
return array('uid' => $this->post('uid'));
$uid = $this->post('uid');
$token = $this->post('token');
if ($uid < 0 || !$token) $this->ajax_json(false, '参数错误', array('code' => CODE_LOGIN_EXIPRE));
@ -26,6 +28,7 @@ class index extends publicBase {
}
public function login() {
$name = trim($this->get('name'));
$password = trim($this->get('password'));

Loading…
Cancel
Save