cqp 2 周之前
父節點
當前提交
2be0175bca
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Service/TestService.php

+ 1 - 1
app/Service/TestService.php

@@ -433,7 +433,7 @@ class TestService extends Service
         list($status, $msg) = $this->SetU8($common_array);
         if(! $status) return [false , $msg];
         $host = $msg;
-        $key = "lf_u8_long_token_demo_" . $common_array['site'];
+        $key = "lf_u8_long_token_demo_" . $common_array['site'] . '_' . $common_array['database'];
         if(! Cache::has($key)){
             $url = $host . "/api/System/GetToken";
             $date = date("Y-m-d");