Browse Source

20241210

pull/205/head
xiaoz 2 weeks ago
parent
commit
d0f14597cc
  1. 2
      class/Api.php

2
class/Api.php

@ -1200,7 +1200,7 @@ class Api { @@ -1200,7 +1200,7 @@ class Api {
* 验证是否登录
*/
protected function is_login(){
$key = md5(USER.PASSWORD.'onenav'.$_SERVER['HTTP_USER_AGENT']);
$key = md5(USER.ENCRYPTED_PASSWORD.'onenav'.$_SERVER['HTTP_USER_AGENT']);
//获取session
$session = $_COOKIE['key'];
//如果已经成功登录

Loading…
Cancel
Save