Commit d302a42d by 于方蒙

update

parent 1881d16b
...@@ -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",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment