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
43eff12e
Commit
43eff12e
authored
Aug 07, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
is_open = 0
parent
f90ae5d7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
PayLogOpen.php
application/index/controller/PayLogOpen.php
+5
-4
No files found.
application/index/controller/PayLogOpen.php
View file @
43eff12e
...
...
@@ -292,14 +292,15 @@ class PayLogOpen extends Basic
$m_pay_open
=
new
OPayLogOpen
();
$where
[
'is_del'
]
=
0
;
$where
[
'id'
]
=
$this
->
params
[
'open_id'
];
$id
=
$m_pay_open
->
getFieldOneValue
(
'id'
,
$where
);
if
(
empty
(
$id
))
{
$data
=
$m_pay_open
->
getFind
(
'id,pay_log_id'
,
$this
->
params
[
'open_id'
],
$where
);
if
(
empty
(
$data
))
{
return
$this
->
response
(
101
,
'没有该数据'
);
}
$num
=
$m_pay_open
->
editData
([
'is_del'
=>
1
],
$
id
);
$num
=
$m_pay_open
->
editData
([
'is_del'
=>
1
],
$
data
[
'id'
]
);
if
(
$num
)
{
$m_pay
=
new
OPayLogModel
();
$m_pay
->
updatePayLog
([
'id'
=>
$data
[
'pay_log_id'
],
'is_open'
=>
0
]);
$code
=
200
;
$msg
=
'删除成功'
;
}
...
...
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