From 51b35820900c266ac9450dbbedfb94675ed6c55a Mon Sep 17 00:00:00 2001 From: xiaomlove <353856593@qq.com> Date: Thu, 20 May 2021 17:14:38 +0800 Subject: [PATCH] searchbox model --- README-EN.md | 6 +++--- README.md | 4 ++-- app/Models/Searchbox.php | 15 +++++++++++++++ app/Models/SearchboxField.php | 15 +++++++++++++++ public/catmanage.php | 4 ++-- 5 files changed, 37 insertions(+), 7 deletions(-) create mode 100644 app/Models/Searchbox.php create mode 100644 app/Models/SearchboxField.php diff --git a/README-EN.md b/README-EN.md index 3630afb5..bc3d43a3 100644 --- a/README-EN.md +++ b/README-EN.md @@ -1,11 +1,11 @@ English | [中文](/) -Complete PT website building solution. Based on NexusPHP + Laravel Framewwork + Element Plus. +Complete PT website building solution. Based on NexusPHP + Laravel Framework + Element Plus. ## Functional Features -- Upload seed -- Request seed +- Upload torrent +- Request torrent - Subtitle - Exam - Attendance diff --git a/README.md b/README.md index 6793eb95..9675c19f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ 中文 | [English](/README-EN.md) -完整的 PT 建站解决方案。基于 NexusPHP + Laravel Framewwork + Element Plus。 +完整的 PT 建站解决方案。基于 NexusPHP + Laravel Framework + Element Plus。 ## 功能特性 - 发种 @@ -12,7 +12,7 @@ - 多语言 - 自动备份 - 管理后台 -- json api +- Json api - .... ## 系统要求 diff --git a/app/Models/Searchbox.php b/app/Models/Searchbox.php new file mode 100644 index 00000000..331693ec --- /dev/null +++ b/app/Models/Searchbox.php @@ -0,0 +1,15 @@ +belongsTo(Searchbox::class, 'searchbox_id'); + } +} diff --git a/public/catmanage.php b/public/catmanage.php index 68b87f97..ff9cd7e8 100644 --- a/public/catmanage.php +++ b/public/catmanage.php @@ -386,7 +386,7 @@ if ($action == 'view') print_type_list($type); ?>