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
29edb5f8
Commit
29edb5f8
authored
May 17, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
开业审核
parent
5ebb800a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
PayLogOpenService.php
application/api_broker/service/PayLogOpenService.php
+5
-1
PayLogOpen.php
application/index/controller/PayLogOpen.php
+1
-1
No files found.
application/api_broker/service/PayLogOpenService.php
View file @
29edb5f8
...
...
@@ -51,11 +51,15 @@ 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
(
'
open_id'
,
0
,
[
'status'
=>
$status
,
'open_id'
=>
$open_id
]);
//检查当前状态是否审核过
if
(
empty
(
$id
))
{
$num
=
$this
->
payLogOpenLogModel
->
addOpenCheck
(
$this
->
OpenLogCheckBin
(
$open_id
,
$status
,
$remark
,
$operation_id
,
$operation_name
)
);
if
(
$num
>
0
)
{
$this
->
payLogOpenModel
->
editData
([
'status'
=>
$status
],
$open_id
);
//更新状态
}
}
else
{
$num
=
0
;
}
...
...
application/index/controller/PayLogOpen.php
View file @
29edb5f8
...
...
@@ -311,7 +311,7 @@ class PayLogOpen extends Basic
}
else
{
$pay_open_data
[
'house_address'
]
=
''
;
}
$pay_open_data
[
'check_log'
]
=
$this
->
m_pay_open_log
->
getAllList
(
'operation_name,create_time'
,
$this
->
params
[
'push_id'
]);
$pay_open_data
[
'check_log'
]
=
$this
->
m_pay_open_log
->
getAllList
(
'operation_name,create_time'
,
0
,
[
'open_id'
=>
$this
->
params
[
'open_id'
]
]);
$pay_open_data
[
'open_images'
]
=
$m_o_img
->
getImgList
([
'img_id'
=>
$this
->
params
[
'open_id'
],
'img_type'
=>
5
]);
return
$this
->
response
(
200
,
''
,
$pay_open_data
);
...
...
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