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
e9b4bd39
Commit
e9b4bd39
authored
Jan 11, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
取消注释,接口过滤
parent
a0cd037b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
Basic.php
application/index/extend/Basic.php
+7
-2
No files found.
application/index/extend/Basic.php
View file @
e9b4bd39
...
...
@@ -67,7 +67,11 @@ class Basic extends Controller
'index/yindaoAndroid'
,
'index/yindaoIos'
,
'index/getUserMacAddress'
,
'index/getConfigWeek'
'index/getConfigWeek'
,
'index/followUpLogNew'
,
'index/followUpLog'
,
'index/userLog'
,
'index/userDetail'
);
/**
...
...
@@ -155,6 +159,7 @@ class Basic extends Controller
$is_auth
=
$agents
->
agentsAuth
(
$auth_id
,
$this
->
userId
);
$is_auth
=
empty
(
$is_auth
[
'id'
])
?
0
:
1
;
$agent_house
=
new
GHousesToAgents
();
if
(
$is_auth
==
0
)
{
//处理盘方编辑商铺
if
(
$requestPath
==
'index/houseEdit'
&&
isset
(
$this
->
params
[
'id'
]))
{
...
...
@@ -221,7 +226,7 @@ class Basic extends Controller
if
(
empty
(
$is_auth
)
&&
$this
->
userId
!=
1
)
{
if
(
$this
->
request
->
isAjax
()){
//
echo json_encode(array( "code" => "300", "msg" => "没有权限!", "data" => [], "type" => "json" ));exit;
echo
json_encode
(
array
(
"code"
=>
"300"
,
"msg"
=>
"没有权限!"
,
"data"
=>
[],
"type"
=>
"json"
));
exit
;
}
else
{
$this
->
error
(
'没有当前页面权限'
);
exit
;
}
...
...
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