Browse Source

fix(payment_password): encrypt_payment_pwd() default password '0'

master
Louis Young 3 years ago
parent
commit
0db5263965
  1. 2
      WaitingAndBuy.py

2
WaitingAndBuy.py

@ -521,7 +521,7 @@ class Waiter(): @@ -521,7 +521,7 @@ class Waiter():
def encrypt_payment_pwd(payment_pwd):
return ''.join(['u3' + x for x in payment_pwd])
self.payment_pwd="0"
self.payment_pwd=global_config.getRaw("account", "payment_pwd")
if len(self.payment_pwd) > 0:
data['submitOrderParam.payPassword'] = encrypt_payment_pwd(self.payment_pwd)

Loading…
Cancel
Save