Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
鹿
鹿马108官网
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xieyishang
鹿马108官网
Commits
3a9b92f8
Commit
3a9b92f8
authored
Mar 07, 2021
by
xieyishang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
addxx
parent
481c7342
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
70 additions
and
4 deletions
+70
-4
application/admin/controller/Leaving.php
application/admin/controller/Leaving.php
+54
-0
application/admin/view/leaving/index.html
application/admin/view/leaving/index.html
+3
-0
luma_website.sql
luma_website.sql
+9
-4
runtime/temp/e156c2b612ea0153e1fd3b4b91ace657.php
runtime/temp/e156c2b612ea0153e1fd3b4b91ace657.php
+4
-0
No files found.
application/admin/controller/Leaving.php
0 → 100644
View file @
3a9b92f8
<?php
namespace
app\admin\controller
;
use
app\common\controller\Backend
;
use
app\common\model\Leaving
as
LeavingModel
;
use
fast\Tree
;
/**
* 分类管理
*
* @icon fa fa-list
* @remark 用于管理网站的所有分类,分类可进行无限级分类,分类类型请在常规管理->系统配置->字典配置中添加
*/
class
Leaving
extends
Backend
{
/**
* @var \app\common\model\Leaving
*/
protected
$model
=
null
;
protected
$Leavinglist
=
[];
protected
$noNeedRight
=
[
'selectpage'
];
public
function
_initialize
()
{
parent
::
_initialize
();
$this
->
model
=
model
(
'app\common\model\Leaving'
);
$tree
=
Tree
::
instance
();
$tree
->
init
(
collection
(
$this
->
model
->
order
(
'weigh desc,id desc'
)
->
select
())
->
toArray
(),
'pid'
);
$this
->
Leavinglist
=
$tree
->
getTreeList
(
$tree
->
getTreeArray
(
0
),
'name'
);
$Leavingdata
=
[
0
=>
[
'type'
=>
'all'
,
'name'
=>
__
(
'None'
)]];
foreach
(
$this
->
Leavinglist
as
$k
=>
$v
)
{
$Leavingdata
[
$v
[
'id'
]]
=
$v
;
}
$typeList
=
LeavingModel
::
getTypeList
();
$this
->
view
->
assign
(
"flagList"
,
$this
->
model
->
getFlagList
());
$this
->
view
->
assign
(
"typeList"
,
$typeList
);
// $this->view->assign("parentList", $Leavingdata);
$this
->
assignconfig
(
'typeList'
,
$typeList
);
}
/**
* 查看
*/
public
function
index
()
{
return
$this
->
view
->
fetch
();
}
}
application/admin/view/leaving/index.html
0 → 100644
View file @
3a9b92f8
<div>
1111留言
</div>
\ No newline at end of file
luma_website.sql
View file @
3a9b92f8
...
@@ -10,7 +10,7 @@ Target Server Type : MYSQL
...
@@ -10,7 +10,7 @@ Target Server Type : MYSQL
Target Server Version : 50726
Target Server Version : 50726
File Encoding : 65001
File Encoding : 65001
Date: 2021-03-07 1
6:15:44
Date: 2021-03-07 1
7:53:37
*/
*/
SET FOREIGN_KEY_CHECKS=0;
SET FOREIGN_KEY_CHECKS=0;
...
@@ -59,7 +59,7 @@ CREATE TABLE `fa_admin_log` (
...
@@ -59,7 +59,7 @@ CREATE TABLE `fa_admin_log` (
`createtime` int(10) DEFAULT NULL COMMENT '操作时间',
`createtime` int(10) DEFAULT NULL COMMENT '操作时间',
PRIMARY KEY (`id`),
PRIMARY KEY (`id`),
KEY `name` (`username`)
KEY `name` (`username`)
) ENGINE=InnoDB AUTO_INCREMENT=
5
DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='管理员日志表';
) ENGINE=InnoDB AUTO_INCREMENT=
9
DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='管理员日志表';
-- ----------------------------
-- ----------------------------
-- Records of fa_admin_log
-- Records of fa_admin_log
...
@@ -68,6 +68,10 @@ INSERT INTO `fa_admin_log` VALUES ('1', '1', 'admin', '/srMLgYvykH.php/index/log
...
@@ -68,6 +68,10 @@ INSERT INTO `fa_admin_log` VALUES ('1', '1', 'admin', '/srMLgYvykH.php/index/log
INSERT INTO `fa_admin_log` VALUES ('2', '1', 'admin', '/srMLgYvykH.php/ajax/upload', '', '[]', '127.0.0.1', 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36', '1615017681');
INSERT INTO `fa_admin_log` VALUES ('2', '1', 'admin', '/srMLgYvykH.php/ajax/upload', '', '[]', '127.0.0.1', 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36', '1615017681');
INSERT INTO `fa_admin_log` VALUES ('3', '1', 'admin', '/srMLgYvykH.php/category/add?dialog=1', '分类管理 / 添加', '{\"dialog\":\"1\",\"__token__\":\"***\",\"row\":{\"type\":\"default\",\"pid\":\"0\",\"name\":\"文章\",\"nickname\":\"文章\",\"flag\":[\"hot\",\"index\",\"recommend\"],\"image\":\"\\/uploads\\/20210306\\/d0efcc58e71ca4dde16e33a34d55409e.png\",\"keywords\":\"文章\",\"description\":\"文章\",\"weigh\":\"0\",\"status\":\"normal\"}}', '127.0.0.1', 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36', '1615017689');
INSERT INTO `fa_admin_log` VALUES ('3', '1', 'admin', '/srMLgYvykH.php/category/add?dialog=1', '分类管理 / 添加', '{\"dialog\":\"1\",\"__token__\":\"***\",\"row\":{\"type\":\"default\",\"pid\":\"0\",\"name\":\"文章\",\"nickname\":\"文章\",\"flag\":[\"hot\",\"index\",\"recommend\"],\"image\":\"\\/uploads\\/20210306\\/d0efcc58e71ca4dde16e33a34d55409e.png\",\"keywords\":\"文章\",\"description\":\"文章\",\"weigh\":\"0\",\"status\":\"normal\"}}', '127.0.0.1', 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36', '1615017689');
INSERT INTO `fa_admin_log` VALUES ('4', '1', 'admin', '/srMLgYvykH.php/index/login?url=%2FsrMLgYvykH.php', '登录', '{\"url\":\"\\/srMLgYvykH.php\",\"__token__\":\"***\",\"username\":\"admin\",\"password\":\"***\",\"captcha\":\"CTCH\"}', '127.0.0.1', 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36', '1615096186');
INSERT INTO `fa_admin_log` VALUES ('4', '1', 'admin', '/srMLgYvykH.php/index/login?url=%2FsrMLgYvykH.php', '登录', '{\"url\":\"\\/srMLgYvykH.php\",\"__token__\":\"***\",\"username\":\"admin\",\"password\":\"***\",\"captcha\":\"CTCH\"}', '127.0.0.1', 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36', '1615096186');
INSERT INTO `fa_admin_log` VALUES ('5', '1', 'admin', '/srMLgYvykH.php/auth/rule/multi', '权限管理 / 菜单规则', '{\"action\":\"\",\"ids\":\"4\",\"params\":\"ismenu=0\"}', '127.0.0.1', 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36', '1615105486');
INSERT INTO `fa_admin_log` VALUES ('6', '1', 'admin', '/srMLgYvykH.php/auth/rule/add?dialog=1', '权限管理 / 菜单规则 / 添加', '{\"dialog\":\"1\",\"__token__\":\"***\",\"row\":{\"ismenu\":\"1\",\"pid\":\"0\",\"name\":\"leaving\",\"title\":\"留言管理\",\"icon\":\"fa fa-circle-o\",\"weigh\":\"0\",\"condition\":\"\",\"remark\":\"留言管理\",\"status\":\"normal\"}}', '127.0.0.1', 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36', '1615105958');
INSERT INTO `fa_admin_log` VALUES ('7', '1', 'admin', '/srMLgYvykH.php/auth/rule/edit/ids/85?dialog=1', '权限管理 / 菜单规则 / 编辑', '{\"dialog\":\"1\",\"__token__\":\"***\",\"row\":{\"ismenu\":\"1\",\"pid\":\"0\",\"name\":\"leaving\\/leaving\",\"title\":\"留言管理\",\"icon\":\"fa fa-circle-o\",\"weigh\":\"0\",\"condition\":\"\",\"remark\":\"留言管理\",\"status\":\"normal\"},\"ids\":\"85\"}', '127.0.0.1', 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36', '1615105993');
INSERT INTO `fa_admin_log` VALUES ('8', '1', 'admin', '/srMLgYvykH.php/auth/rule/edit/ids/85?dialog=1', '权限管理 / 菜单规则 / 编辑', '{\"dialog\":\"1\",\"__token__\":\"***\",\"row\":{\"ismenu\":\"1\",\"pid\":\"0\",\"name\":\"leaving\",\"title\":\"留言管理\",\"icon\":\"fa fa-circle-o\",\"weigh\":\"0\",\"condition\":\"\",\"remark\":\"留言管理\",\"status\":\"normal\"},\"ids\":\"85\"}', '127.0.0.1', 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36', '1615106098');
-- ----------------------------
-- ----------------------------
-- Table structure for fa_area
-- Table structure for fa_area
...
@@ -188,7 +192,7 @@ CREATE TABLE `fa_auth_rule` (
...
@@ -188,7 +192,7 @@ CREATE TABLE `fa_auth_rule` (
UNIQUE KEY `name` (`name`) USING BTREE,
UNIQUE KEY `name` (`name`) USING BTREE,
KEY `pid` (`pid`),
KEY `pid` (`pid`),
KEY `weigh` (`weigh`)
KEY `weigh` (`weigh`)
) ENGINE=InnoDB AUTO_INCREMENT=8
5
DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='节点表';
) ENGINE=InnoDB AUTO_INCREMENT=8
6
DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='节点表';
-- ----------------------------
-- ----------------------------
-- Records of fa_auth_rule
-- Records of fa_auth_rule
...
@@ -196,7 +200,7 @@ CREATE TABLE `fa_auth_rule` (
...
@@ -196,7 +200,7 @@ CREATE TABLE `fa_auth_rule` (
INSERT INTO `fa_auth_rule` VALUES ('1', 'file', '0', 'dashboard', 'Dashboard', 'fa fa-dashboard', '', 'Dashboard tips', '1', '1497429920', '1497429920', '143', 'normal');
INSERT INTO `fa_auth_rule` VALUES ('1', 'file', '0', 'dashboard', 'Dashboard', 'fa fa-dashboard', '', 'Dashboard tips', '1', '1497429920', '1497429920', '143', 'normal');
INSERT INTO `fa_auth_rule` VALUES ('2', 'file', '0', 'general', 'General', 'fa fa-cogs', '', '', '1', '1497429920', '1497430169', '137', 'normal');
INSERT INTO `fa_auth_rule` VALUES ('2', 'file', '0', 'general', 'General', 'fa fa-cogs', '', '', '1', '1497429920', '1497430169', '137', 'normal');
INSERT INTO `fa_auth_rule` VALUES ('3', 'file', '0', 'category', 'Category', 'fa fa-leaf', '', 'Category tips', '1', '1497429920', '1497429920', '119', 'normal');
INSERT INTO `fa_auth_rule` VALUES ('3', 'file', '0', 'category', 'Category', 'fa fa-leaf', '', 'Category tips', '1', '1497429920', '1497429920', '119', 'normal');
INSERT INTO `fa_auth_rule` VALUES ('4', 'file', '0', 'addon', 'Addon', 'fa fa-rocket', '', 'Addon tips', '
1', '1502035509', '1502035509
', '0', 'normal');
INSERT INTO `fa_auth_rule` VALUES ('4', 'file', '0', 'addon', 'Addon', 'fa fa-rocket', '', 'Addon tips', '
0', '1502035509', '1615105486
', '0', 'normal');
INSERT INTO `fa_auth_rule` VALUES ('5', 'file', '0', 'auth', 'Auth', 'fa fa-group', '', '', '1', '1497429920', '1497430092', '99', 'normal');
INSERT INTO `fa_auth_rule` VALUES ('5', 'file', '0', 'auth', 'Auth', 'fa fa-group', '', '', '1', '1497429920', '1497430092', '99', 'normal');
INSERT INTO `fa_auth_rule` VALUES ('6', 'file', '2', 'general/config', 'Config', 'fa fa-cog', '', 'Config tips', '1', '1497429920', '1497430683', '60', 'normal');
INSERT INTO `fa_auth_rule` VALUES ('6', 'file', '2', 'general/config', 'Config', 'fa fa-cog', '', 'Config tips', '1', '1497429920', '1497430683', '60', 'normal');
INSERT INTO `fa_auth_rule` VALUES ('7', 'file', '2', 'general/attachment', 'Attachment', 'fa fa-file-image-o', '', 'Attachment tips', '1', '1497429920', '1497430699', '53', 'normal');
INSERT INTO `fa_auth_rule` VALUES ('7', 'file', '2', 'general/attachment', 'Attachment', 'fa fa-file-image-o', '', 'Attachment tips', '1', '1497429920', '1497430699', '53', 'normal');
...
@@ -275,6 +279,7 @@ INSERT INTO `fa_auth_rule` VALUES ('81', 'file', '79', 'user/rule/del', 'Del', '
...
@@ -275,6 +279,7 @@ INSERT INTO `fa_auth_rule` VALUES ('81', 'file', '79', 'user/rule/del', 'Del', '
INSERT INTO `fa_auth_rule` VALUES ('82', 'file', '79', 'user/rule/add', 'Add', 'fa fa-circle-o', '', '', '0', '1516374729', '1516374729', '0', 'normal');
INSERT INTO `fa_auth_rule` VALUES ('82', 'file', '79', 'user/rule/add', 'Add', 'fa fa-circle-o', '', '', '0', '1516374729', '1516374729', '0', 'normal');
INSERT INTO `fa_auth_rule` VALUES ('83', 'file', '79', 'user/rule/edit', 'Edit', 'fa fa-circle-o', '', '', '0', '1516374729', '1516374729', '0', 'normal');
INSERT INTO `fa_auth_rule` VALUES ('83', 'file', '79', 'user/rule/edit', 'Edit', 'fa fa-circle-o', '', '', '0', '1516374729', '1516374729', '0', 'normal');
INSERT INTO `fa_auth_rule` VALUES ('84', 'file', '79', 'user/rule/multi', 'Multi', 'fa fa-circle-o', '', '', '0', '1516374729', '1516374729', '0', 'normal');
INSERT INTO `fa_auth_rule` VALUES ('84', 'file', '79', 'user/rule/multi', 'Multi', 'fa fa-circle-o', '', '', '0', '1516374729', '1516374729', '0', 'normal');
INSERT INTO `fa_auth_rule` VALUES ('85', 'file', '0', 'leaving', '留言管理', 'fa fa-circle-o', '', '留言管理', '1', '1615105958', '1615106098', '0', 'normal');
-- ----------------------------
-- ----------------------------
-- Table structure for fa_category
-- Table structure for fa_category
runtime/temp/e156c2b612ea0153e1fd3b4b91ace657.php
0 → 100644
View file @
3a9b92f8
<?php
if
(
!
defined
(
'THINK_PATH'
))
exit
();
/*a:1:{s:82:"D:\phpstudy_pro\WWW\www.fa.com\public/../application/admin\view\leaving\index.html";i:1615109308;}*/
?>
<div>
1111留言
</div>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment