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
3e30acb0
Commit
3e30acb0
authored
Mar 22, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提示语
parent
1acb85d2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Finance.php
application/index/controller/Finance.php
+3
-3
No files found.
application/index/controller/Finance.php
View file @
3e30acb0
...
@@ -4682,7 +4682,7 @@ class Finance extends Basic
...
@@ -4682,7 +4682,7 @@ class Finance extends Basic
}
}
try
{
try
{
$where
[
'id'
]
=
$this
->
params
[
'id'
];
$where
[
'id'
]
=
$this
->
params
[
'
refund_
id'
];
$where
[
'status'
]
=
[
'<>'
,
2
];
$where
[
'status'
]
=
[
'<>'
,
2
];
$m_refund
=
new
ORefundModel
();
$m_refund
=
new
ORefundModel
();
$data
=
$m_refund
->
getFind
(
'id'
,
$where
);
$data
=
$m_refund
->
getFind
(
'id'
,
$where
);
...
@@ -4691,11 +4691,11 @@ class Finance extends Basic
...
@@ -4691,11 +4691,11 @@ class Finance extends Basic
return
$this
->
response
(
$code
,
'退款信息错误'
);
return
$this
->
response
(
$code
,
'退款信息错误'
);
}
}
$num
=
$m_refund
->
updateData
([
'is_del'
=>
1
],
[
'id'
=>
$this
->
params
[
'id'
]]);
$num
=
$m_refund
->
updateData
([
'is_del'
=>
1
],
[
'id'
=>
$this
->
params
[
'
refund_
id'
]]);
$msg
=
'删除失败'
;
$msg
=
'删除失败'
;
if
(
$num
)
{
if
(
$num
)
{
$code
=
200
;
$code
=
200
;
$msg
=
''
;
$msg
=
'
删除成功
'
;
}
}
}
catch
(
\Exception
$e
)
{
}
catch
(
\Exception
$e
)
{
$msg
=
'内部错误:'
.
$e
->
getMessage
();
$msg
=
'内部错误:'
.
$e
->
getMessage
();
...
...
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