PayJS icon indicating copy to clipboard operation
PayJS copied to clipboard

支持支付宝

Open ImSingee opened this issue 4 years ago • 0 comments

def native(self, total_fee: int, out_trade_no, body: str = '', type=None, notify_url=None, attach=None):
# 增加type=None

data = {
'mchid': self.mchid,
'total_fee': total_fee,
'out_trade_no': out_trade_no,
'body': body,
'type':type, # 增加    'type':type,
'notify_url': notify_url,
'attach': attach,
}

ImSingee avatar Feb 27 '20 10:02 ImSingee