Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
Automat
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
1
Merge Requests
1
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
冯佳佳
Automat
Commits
d302a42d
Commit
d302a42d
authored
Jun 24, 2022
by
于方蒙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
1881d16b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
+6
-1
myapps/automat/api/rent_portal.py
+6
-1
No files found.
myapps/automat/api/rent_portal.py
View file @
d302a42d
...
@@ -168,8 +168,13 @@ def create_rent():
...
@@ -168,8 +168,13 @@ def create_rent():
# 生成订单编号
# 生成订单编号
rent_no
=
RentService
.
create_order_no
()
rent_no
=
RentService
.
create_order_no
()
# 动态切换订单详情描述
if
machine
.
mch_platform
==
2
:
body
=
'植艾佳生物科技漱口水'
else
:
body
=
'咻咻智能漱口水'
pay_data
=
{
pay_data
=
{
'body'
:
'灰兔智能租借押金'
,
# 商品描述
'body'
:
body
,
# 商品描述
'out_trade_no'
:
rent_no
,
# 商户订单号
'out_trade_no'
:
rent_no
,
# 商户订单号
'total_fee'
:
total_fee
,
# 总价
'total_fee'
:
total_fee
,
# 总价
'trade_type'
:
"JSAPI"
,
'trade_type'
:
"JSAPI"
,
...
...
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