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
17ec83b3
Commit
17ec83b3
authored
Dec 26, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
退款图片上传
parent
3337f130
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
Finance.php
application/index/controller/Finance.php
+8
-1
ORefundLogModel.php
application/model/ORefundLogModel.php
+1
-1
No files found.
application/index/controller/Finance.php
View file @
17ec83b3
...
...
@@ -3577,6 +3577,7 @@ class Finance extends Basic
* 退款审核
*
* @return \think\Response
* @throws \think\Exception
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
...
...
@@ -3643,7 +3644,13 @@ class Finance extends Basic
break
;
case
2
:
$save_data
[
'status'
]
=
2
;
//已审核
$num
=
$m_refund_log
->
insertData
(
$save_data
);
$id
=
$m_refund_log
->
insertData
(
$save_data
);
if
(
$id
>
0
&&
is_array
(
$this
->
params
[
'img_arr'
]))
{
$m_img
=
new
OImg
();
$m_img
->
addImgAll
(
$id
,
4
,
$this
->
params
[
'img_arr'
]);
}
break
;
}
...
...
application/model/ORefundLogModel.php
View file @
17ec83b3
...
...
@@ -27,7 +27,7 @@ class ORefundLogModel extends BaseModel
* @return int|string
*/
public
function
insertData
(
$data
)
{
return
$this
->
db_
->
insert
(
$data
);
return
$this
->
db_
->
insert
GetId
(
$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