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
f5eec4ad
Commit
f5eec4ad
authored
Jul 26, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
总监多城市
parent
2f374302
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
ApplyForCost.php
application/api_broker/controller/ApplyForCost.php
+10
-1
No files found.
application/api_broker/controller/ApplyForCost.php
View file @
f5eec4ad
...
...
@@ -13,6 +13,7 @@ use app\api_broker\extend\Basic;
use
app\api_broker\service\RedisCacheService
;
use
app\api_broker\service\VipService
;
use
app\index\service\CostService
;
use
app\model\AAgents
;
use
app\model\AStore
;
use
app\model\FApplyForFee
;
use
app\model\FApplyForFeeCheck
;
...
...
@@ -47,7 +48,15 @@ class ApplyForCost extends Basic
$is_check
=
1
;
}
$where
[
'a.status'
]
=
0
;
$where
[]
=
[
'EXP'
,
'b.store_id = '
.
$agent_data
[
'store_id'
]
.
' or b.district_id ='
.
$agent_data
[
'district_id'
]];
break
;
$m_agent
=
new
AAgents
();
$district_id
=
$m_agent
->
getAgentsByWhereColumn
([
'id'
=>
[
'<>'
,
$this
->
agentId
],
'phone'
=>
$this
->
agentPhone
],
'district_id'
);
if
(
$district_id
)
{
$district_id
[]
=
$agent_data
[
'district_id'
];
$where
[
'b.district_id'
]
=
[
'in'
,
$district_id
];
break
;
}
else
{
$where
[
'b.district_id'
]
=
$agent_data
[
'district_id'
];
break
;
}
case
2
:
//总监权限查看
$where
[
'a.status'
]
=
1
;
...
...
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