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
4c73776a
Commit
4c73776a
authored
Apr 29, 2020
by
魏强
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update;
parent
9a3b41fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Controller/RentController.py
+3
-2
No files found.
Controller/RentController.py
View file @
4c73776a
...
@@ -379,8 +379,9 @@ def force_refund():
...
@@ -379,8 +379,9 @@ def force_refund():
if
not
comment
or
not
back_time
:
if
not
comment
or
not
back_time
:
return
jsonify
(
PARAMETER_ERROR
)
return
jsonify
(
PARAMETER_ERROR
)
money
=
RentService
.
check_fee_liuyuan
(
rent_info
.
Rent
.
pay_time
.
strftime
(
'
%
Y-
%
m-
%
d
%
H:
%
M:
%
S'
),
back_time
,
check_fee
=
RentService
.
check_fee_liuyuan
(
rent_info
.
Rent
.
pay_time
.
strftime
(
'
%
Y-
%
m-
%
d
%
H:
%
M:
%
S'
),
back_time
,
rent_info
.
Rent
.
one_day_price
,
rent_info
.
Rent
.
free_time
)
rent_info
.
Rent
.
one_day_price
,
rent_info
.
Rent
.
free_time
)
money
=
check_fee
[
'total'
]
# elif refund_type == '4':
# elif refund_type == '4':
# # 退10元
# # 退10元
# if not comment:
# if not comment:
...
...
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