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
87d50ce8
Commit
87d50ce8
authored
Jul 24, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
已审核去除
parent
402284b9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
ApplyForCost.php
application/api_broker/controller/ApplyForCost.php
+4
-1
No files found.
application/api_broker/controller/ApplyForCost.php
View file @
87d50ce8
...
...
@@ -66,7 +66,7 @@ class ApplyForCost extends Basic
}
$field
=
'a.id,a.count_time,a.source,a.type,a.create_time,a.agent_id,a.total_fee,a.fee_item,a.purpose,'
;
$field
.=
'b.name as agent_name,a.card_name,a.bank,a.card_no,a.source,a.store_id'
;
$field
.=
'b.name as agent_name,a.card_name,a.bank,a.card_no,a.source,a.store_id
,a.status
'
;
$fee_model
=
new
FApplyForFee
();
$cost_service
=
new
CostService
();
$m_img
=
new
FImg
();
...
...
@@ -82,6 +82,9 @@ class ApplyForCost extends Basic
foreach
(
$list
as
$k
=>
$v
)
{
$list
[
$k
][
'type_name'
]
=
$cost_service
->
getFeeType
(
$v
[
'type'
]);
$list
[
$k
][
'fee_item_name'
]
=
$cost_service
->
getFeeItem
(
$v
[
'fee_item'
]);
if
(
$v
[
'status'
]
>
0
&&
$this
->
params
[
'type'
]
==
1
)
{
$is_check
=
0
;
//已审核去除
}
$list
[
$k
][
'is_check'
]
=
$is_check
;
$list
[
$k
][
'source_name'
]
=
$source
[
$v
[
'source'
]];
$images_array
=
$image_data
=
$m_img
->
findByAll
(
'id,img_name,img_type'
,
[
'img_id'
=>
$v
[
'id'
],
'img_type'
=>
[
'in'
,
'1,2'
]]);
...
...
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