Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tour_business
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
魏强
tour_business
Commits
a495da31
Commit
a495da31
authored
Apr 23, 2020
by
魏强
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update;
parent
8c564c9c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
Controller/RentController.py
+4
-7
No files found.
Controller/RentController.py
View file @
a495da31
...
@@ -356,15 +356,12 @@ def force_refund():
...
@@ -356,15 +356,12 @@ def force_refund():
return
jsonify
(
REFUND_NOT_PRODUCTION_INFO
)
return
jsonify
(
REFUND_NOT_PRODUCTION_INFO
)
if
refund_type
==
'1'
:
if
refund_type
==
'1'
:
# 扣15元
# 扣15元
, 退84元
money
=
15
00
money
=
84
00
elif
refund_type
==
'2'
:
elif
refund_type
==
'2'
:
# 扣25元
# 扣25元
,退74元
money
=
25
00
money
=
74
00
elif
refund_type
==
'3'
:
elif
refund_type
==
'3'
:
# 扣99元
money
=
9900
elif
refund_type
==
'4'
:
# 按时间扣款
# 按时间扣款
back_time
=
json_data
.
get
(
'back_time'
,
None
)
back_time
=
json_data
.
get
(
'back_time'
,
None
)
money
=
RentService
.
check_fee_liuyuan
(
rent_info
.
Rent
.
pay_time
.
strftime
(
'
%
Y-
%
m-
%
d
%
H:
%
M:
%
S'
),
money
=
RentService
.
check_fee_liuyuan
(
rent_info
.
Rent
.
pay_time
.
strftime
(
'
%
Y-
%
m-
%
d
%
H:
%
M:
%
S'
),
...
...
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