From 8bc77df88d2c5c0913ce1b8b3e6372f9e7e915f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=92=8A?= Date: Thu, 13 Nov 2025 10:59:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=89=E5=8D=93=E6=97=A5=E5=BF=97=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/controller/Report.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/application/api/controller/Report.php b/application/api/controller/Report.php index ad1ab18..9b0d068 100644 --- a/application/api/controller/Report.php +++ b/application/api/controller/Report.php @@ -42,5 +42,20 @@ class Report extends BaseCom $res = db::name('vs_user_inform')->insert($data); return V($res ? 1 : 0, $res ? "成功" : "失败", null); } + //安卓日志提交 + public function android_log_report(){ + $log_name = input('log_name', ''); + $log_url = input('log_url', ''); + $user_id = $this->uid; + $data = [ + 'log_name' => $log_name, + 'log_url' => $log_url, + 'user_id' => $user_id, + 'createtime' => time(), + ]; + $res = db::name('vs_android_log')->insert($data); + return V($res ? 1 : 0, $res ? "成功" : "失败", null); + + } } \ No newline at end of file