From fa15f60ec9e5712d766bff0ddf4998f0b65287d9 Mon Sep 17 00:00:00 2001
From: deatil <2217957370@qq.com>
Date: Sat, 8 Jun 2024 16:37:49 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
composer.json | 2 +-
resources/view/config/index.html | 14 +++++++++++---
2 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/composer.json b/composer.json
index 076134f..1aa26e3 100644
--- a/composer.json
+++ b/composer.json
@@ -19,7 +19,7 @@
}
],
"require": {
- "php": "^7.3",
+ "php": ">=8.0.0",
"laket/laket-admin": "1.2.*"
},
"autoload": {
diff --git a/resources/view/config/index.html b/resources/view/config/index.html
index 1ba7844..ffa5fb9 100644
--- a/resources/view/config/index.html
+++ b/resources/view/config/index.html
@@ -24,18 +24,26 @@
{/block}
{block name="script"}
+
+{php}
+$addSug = ['get:admin.settings.add', 'post:admin.settings.add-post'];
+$editSug = ['get:admin.settings.edit', 'post:admin.settings.edit-post'];
+$delSug = 'post:admin.settings.del-post';
+{/php}
+