You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <?php
- header("Access-Control-Allow-Origin:*");
- //require_once '../../Common/Mysql.php';
-
-
- $_COOKIE['user_name'] = null; // 把username存在$_SESSION['user'] 里面
- $_COOKIE['user_id'] = null;
- //echo $_SESSION['user']; // 直接输出 username
- // $user_id= $_SESSION['id'];
- //session_destroy();
- // echo $_SESSION['user']; // 销毁sess
- $code =0;
- $info = 'success';
- $massge = '退出成功';
- $list = "";
-
- $json['code'] = $code;
- $json['info'] = $info;
- $json['massge'] = $massge;
- $json['list'] = $list;
- echo json_encode($json);
- exit;
|