Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
b7cb8b06
Commit
b7cb8b06
authored
Apr 15, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登录后台默认页面 banner图片 加权限验证
parent
e621cce3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
9 deletions
+15
-9
Basic.php
application/index/extend/Basic.php
+3
-1
banner_template_tpl.html
public/resource/template/banner_template_tpl.html
+12
-8
No files found.
application/index/extend/Basic.php
View file @
b7cb8b06
...
@@ -40,7 +40,9 @@ class Basic extends Controller
...
@@ -40,7 +40,9 @@ class Basic extends Controller
'index/login'
,
'index/login'
,
'index/loginVerify'
,
'index/loginVerify'
,
'index/logout'
,
'index/logout'
,
'/'
'/'
,
'index/banner'
,
'index/bannerList'
);
);
/**
/**
...
...
public/resource/template/banner_template_tpl.html
View file @
b7cb8b06
...
@@ -21,14 +21,18 @@
...
@@ -21,14 +21,18 @@
<
td
>
[
%=
it
[
item
][
"hits"
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
"hits"
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
"up_user"
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
"up_user"
]
%
]
<
/td
>
<
td
>
<
td
>
<
a
class
=
"btn1 btn-success editor_banner "
href
=
"#modal-add-do"
data
-
toggle
=
"modal"
[
%
if
(
check_auth
(
'index/addOrSave'
))
{
%
]
data
-
id
=
"[%= it[item]['id'] %]"
>
<
a
class
=
"btn1 btn-success editor_banner "
href
=
"#modal-add-do"
data
-
toggle
=
"modal"
编辑
data
-
id
=
"[%= it[item]['id'] %]"
>
<
/a
>
编辑
<
a
class
=
"btn1 btn-danger delete_banner "
href
=
"#modal-delete"
data
-
toggle
=
"modal"
<
/a
>
data
-
id
=
"[%= it[item]['id'] %]"
>
[
%
}
%
]
删除
[
%
if
(
check_auth
(
'index/upIsShow'
))
{
%
]
<
/a
>
<
a
class
=
"btn1 btn-danger delete_banner "
href
=
"#modal-delete"
data
-
toggle
=
"modal"
data
-
id
=
"[%= it[item]['id'] %]"
>
删除
<
/a
>
[
%
}
%
]
<
/td
>
<
/td
>
<
/tr
>
<
/tr
>
[
%
}
%
]
[
%
}
%
]
...
...
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