This commit is contained in:
flucout
2023-10-12 14:22:53 +08:00
parent 22ca21ea77
commit 3c66d2fc7b
6 changed files with 11 additions and 12 deletions

View File

@@ -10,7 +10,7 @@ class Api extends BaseController
//获取插件列表
public function get_plugin_list(){
if(!$this->checklist()) return '';
if(!$this->checklist()) return json('你的服务器被禁止使用此云端');
$record = Db::name('record')->where('ip',$this->clientip)->find();
if($record){
Db::name('record')->where('id',$record['id'])->update(['usetime'=>date("Y-m-d H:i:s")]);
@@ -24,7 +24,7 @@ class Api extends BaseController
//获取插件列表(win)
public function get_plugin_list_win(){
if(!$this->checklist()) return '';
if(!$this->checklist()) return json('你的服务器被禁止使用此云端');
$record = Db::name('record')->where('ip',$this->clientip)->find();
if($record){
Db::name('record')->where('id',$record['id'])->update(['usetime'=>date("Y-m-d H:i:s")]);

View File

@@ -1,6 +1,6 @@
#!/bin/bash
Linux_Version="8.0.2"
Linux_Version="8.0.3"
Windows_Version="7.9.0"
Btm_Version="2.2.9"