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
9ce8d66e
Commit
9ce8d66e
authored
Jul 09, 2018
by
clone
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test'
parents
826e71ae
376d338b
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
26 additions
and
6 deletions
+26
-6
Member.php
application/index/controller/Member.php
+1
-1
auth_rule_index.html
application/index/view/auth/auth_rule_index.html
+7
-0
index.html
application/index/view/auth/index.html
+7
-0
auth_rule_index_template_tpl.html
public/resource/template/auth_rule_index_template_tpl.html
+3
-2
auth_template_tpl.html
public/resource/template/auth_template_tpl.html
+7
-2
user_template_tpl.html
public/resource/template/user_template_tpl.html
+1
-1
No files found.
application/index/controller/Member.php
View file @
9ce8d66e
...
@@ -249,7 +249,7 @@ class Member extends Basic{
...
@@ -249,7 +249,7 @@ class Member extends Basic{
$where
[
'a.first_login_time'
]
=
[
'between time'
,
[
$params
[
'first_login_start'
]
.
' 00:00:00'
,
$where
[
'a.first_login_time'
]
=
$params
[
'first_login_end'
]
.
' 23:59:59'
]];
$where
[
'a.first_login_time'
]
=
[
'between time'
,
[
$params
[
'first_login_start'
]
.
' 00:00:00'
,
$where
[
'a.first_login_time'
]
=
$params
[
'first_login_end'
]
.
' 23:59:59'
]];
}
}
$fields
=
'a.id,a.user_nick,a.user_name,a.user_phone,a.user_pic,a.create_time,a.user_pswd,a.referrer_id,a.registration_time,a.user_name,a.last_login_ip,a.status'
;
$fields
=
'a.id,a.user_nick,a.user_name,a.user_phone,a.user_pic,a.create_time,a.user_pswd,a.referrer_id,a.registration_time,a.user_name,a.last_login_ip,a.status
,a.first_login_time
'
;
try
{
try
{
$data
[
'list'
]
=
$this
->
user
->
getUserAgent
(
$pageNo
,
$pageSize
,
'a.id DESC'
,
$fields
,
$where
,
$type
);
$data
[
'list'
]
=
$this
->
user
->
getUserAgent
(
$pageNo
,
$pageSize
,
'a.id DESC'
,
$fields
,
$where
,
$type
);
...
...
application/index/view/auth/auth_rule_index.html
View file @
9ce8d66e
{layout name="global/frame_tpl" /}
{layout name="global/frame_tpl" /}
<!--关联js元素-->
<!--关联js元素-->
<input
type=
"hidden"
class=
"page-load"
id=
"auth_rule_index"
/>
<input
type=
"hidden"
class=
"page-load"
id=
"auth_rule_index"
/>
<style>
.title-0
{
font-weight
:
bold
;
font-size
:
15px
;
}
</style>
<div
id=
"page-content-wrapper"
>
<div
id=
"page-content-wrapper"
>
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"row"
>
...
...
application/index/view/auth/index.html
View file @
9ce8d66e
{layout name="global/frame_tpl" /}
{layout name="global/frame_tpl" /}
<!--角色管理页面-->
<!--角色管理页面-->
<input
type=
"hidden"
class=
"page-load"
id=
"auth"
/>
<input
type=
"hidden"
class=
"page-load"
id=
"auth"
/>
<style>
.title-0
{
font-weight
:
bold
;
font-size
:
15px
;
}
</style>
<div
id=
"page-content-wrapper"
>
<div
id=
"page-content-wrapper"
>
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"row"
>
...
...
public/resource/template/auth_rule_index_template_tpl.html
View file @
9ce8d66e
...
@@ -38,9 +38,10 @@
...
@@ -38,9 +38,10 @@
[
%
for
(
var
item
in
it
){
%
]
[
%
for
(
var
item
in
it
){
%
]
[
%
if
(
it
[
item
][
'pid'
]
!=
0
){
%
]
[
%
if
(
it
[
item
][
'pid'
]
!=
0
){
%
]
<
option
value
=
"[%= it[item]['id'] %]"
>
[
%=
it
[
item
][
"title_show"
]
%
]
<
/option
>
<
option
value
=
"[%= it[item]['id'] %]"
class
=
"[%= 'title-' + it[item]['level'] %]"
>
[
%=
it
[
item
][
"title_show"
]
%
]
<
/option
>
[
%
}
else
{
%
]
[
%
}
else
{
%
]
<
option
value
=
"[%= it[item]['id'] %]"
>
[
%=
it
[
item
][
"title_show"
]
%
]
<
/option
>
<
option
value
=
"[%= it[item]['id'] %]"
class
=
"[%= 'title-' + it[item]['level'] %]"
>
[
%=
it
[
item
][
"title_show"
]
%
]
<
/option
>
[
%
}
%
]
[
%
}
%
]
[
%
}
%
]
[
%
}
%
]
...
...
public/resource/template/auth_template_tpl.html
View file @
9ce8d66e
...
@@ -37,11 +37,16 @@
...
@@ -37,11 +37,16 @@
[
%
}
%
]
[
%
}
%
]
[
%
if
(
it
[
item
][
'is'
]
!=
0
){
%
]
[
%
if
(
it
[
item
][
'is'
]
!=
0
){
%
]
<
input
type
=
"checkbox"
name
=
"rules"
value
=
"[%= it[item]['id'] %]"
checked
=
"checked"
>
<
input
type
=
"checkbox"
name
=
"rules"
value
=
"[%= it[item]['id'] %]"
checked
=
"checked"
>
[
%=
it
[
item
][
"title_show"
]
%
]
<
br
>
<!--
[
%=
it
[
item
][
"title_show"
]
%
]
<
br
>-->
<
span
class
=
"[%= 'title-' + it[item]['level'] %]"
>
[
%=
it
[
item
][
"title_show"
]
%
]
<
/span><br
>
[
%
}
else
{
%
]
[
%
}
else
{
%
]
<
input
type
=
"checkbox"
name
=
"rules"
value
=
"[%= it[item]['id'] %]"
>
<
input
type
=
"checkbox"
name
=
"rules"
value
=
"[%= it[item]['id'] %]"
>
[
%=
it
[
item
][
"title_show"
]
%
]
<
br
>
<!--
[
%=
it
[
item
][
"title_show"
]
%
]
<
br
>-->
<
span
class
=
"[%= 'title-' + it[item]['level'] %]"
>
[
%=
it
[
item
][
"title_show"
]
%
]
<
/span><br
>
[
%
}
%
]
[
%
}
%
]
[
%
}
%
]
[
%
}
%
]
...
...
public/resource/template/user_template_tpl.html
View file @
9ce8d66e
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
[
%
}
%
]
[
%
}
%
]
<
/td
>
<
/td
>
<
td
>
<
td
>
[
%
if
(
it
[
item
][
'
last_login_ip
'
]
==
null
){
%
]
[
%
if
(
it
[
item
][
'
first_login_time
'
]
==
null
){
%
]
否
否
[
%
}
else
{
%
]
[
%
}
else
{
%
]
是
是
...
...
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