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
4ec8cd17
Commit
4ec8cd17
authored
May 17, 2019
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
daa1d34e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
PayLogOpenService.php
application/api_broker/service/PayLogOpenService.php
+7
-5
No files found.
application/api_broker/service/PayLogOpenService.php
View file @
4ec8cd17
...
...
@@ -51,7 +51,7 @@ class PayLogOpenService
public
function
addOpenCheck
(
$open_id
,
$status
,
$remark
,
$operation_id
,
$operation_name
)
{
$id
=
$this
->
payLogOpenLogModel
->
getAllList
(
'id'
,
$open_id
,
[
'status'
=>
$status
]);
//检查当前状态是否审核过
$id
=
$this
->
payLogOpenLogModel
->
getAllList
(
'id'
,
$open_id
,
[
'status'
=>
$status
]);
//检查当前状态是否审核过
if
(
empty
(
$id
))
{
$num
=
$this
->
payLogOpenLogModel
->
addOpenCheck
(
$this
->
OpenLogCheckBin
(
$open_id
,
$status
,
$remark
,
$operation_id
,
$operation_name
)
...
...
@@ -86,14 +86,16 @@ class PayLogOpenService
$fields
=
'a.id,a.create_time,a.agent_id,a.pay_log_id,a.bargain_id,a.order_id,a.house_id,a.house_address,
a.status,b.create_time as disc_time,max(b.id) as two_id'
;
$list
=
$this
->
payLogOpenModel
->
getListCheck
(
$pageNo
,
$pageSize
,
'a.id desc'
,
$fields
,
$where
);
if
(
!
$list
)
{
if
(
!
$list
)
{
return
null
;
}
foreach
(
$list
as
$key
=>
$item
)
{
$params
[
"img_id"
]
=
$item
[
"id"
];
$params
[
"img_id"
]
=
$item
[
"id"
];
$params
[
"img_type"
]
=
5
;
$img_arr
=
$this
->
oImgModel
->
getImgList
(
$params
);
$list
[
$key
][
"img_arr"
]
=
$img_arr
;
$img_arr
=
$this
->
oImgModel
->
getImgList
(
$params
);
$list
[
$key
][
"img_path"
]
=
CHAT_IMG_URL
;
$list
[
$key
][
"img_arr"
]
=
$img_arr
;
}
return
$list
;
}
...
...
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