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
0dd279c8
Commit
0dd279c8
authored
Apr 22, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
盘方编辑VIP盘
parent
3c3956c3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
8 deletions
+1
-8
Houses.php
application/index/controller/Houses.php
+0
-7
house_template_tpl.html
public/resource/template/house_template_tpl.html
+1
-1
No files found.
application/index/controller/Houses.php
View file @
0dd279c8
...
...
@@ -468,13 +468,6 @@ class Houses extends Basic
//盘方对自己的商铺有编辑权限
if
(
in_array
(
$v
[
'id'
],
$house_id_arr
))
{
$list
[
$k
][
'auth_edit_house'
]
=
1
;
}
else
{
if
(
$v
[
'is_vip'
])
{
$is_check
=
$check_auth
->
checkRule
(
$this
->
userId
,
'index/vipHouse'
);
if
(
$is_check
)
{
$list
[
$k
][
'auth_edit_house'
]
=
1
;
}
}
}
//独家方
...
...
public/resource/template/house_template_tpl.html
View file @
0dd279c8
...
...
@@ -89,7 +89,7 @@
[
%
}
%
]
[
%
if
(
it
[
item
][
"is_vip"
]
==
1
)
{
%
]
[
%
if
(
check_auth
(
'index/vipHouse'
))
{
%
]
[
%
if
(
check_auth
(
'index/vipHouse'
)
||
it
[
item
][
'auth_edit_house'
]
)
{
%
]
<
a
class
=
"btn1 btn-success"
href
=
"/admin.php/index/houseEdit?id=[%= it[item]['id']%]"
>
编辑
<
/a
>
[
%
}
%
]
[
%
}
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