Esempio n. 1
0
 def test203_add_address(self):
     '''添加地址'''
     print('add_address')
     try:
         response = Service.Service().add_address(
             '19kAqGjL8qQeoXJw6xQ6KSCMKoVDnJeeeo', 1, 'coinfex', 'false',
             Common.pwdTwo, Common.generate_otp('ZMUMVRAY6XEBGSOB'),
             ComMeth.ComMeth().get_code(13866666666, 24), 24)
         Common.search_str(str(response), [self.SUCCESS_RESULT])
         print(response)
     except Exception as ex:
         raise ex
Esempio n. 2
0
 def test209_apply_withdraw(self):
     '''申请提现'''
     print('apply_withdraw')
     try:
         response = Service.Service().apply_withdraw(
             1, 6264, 0.001, 0.01, 0,
             Common.generate_otp('HZTERXEO7C2655JP'),
             ComMeth.ComMeth().get_code_noali(1, 13866666666), 1,
             Common.pwdTwo)
         Common.search_str(str(response), [self.SUCCESS_RESULT])
         print(response)
     except Exception as ex:
         raise ex