1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
console.info(Alipay)
<ref *1> [class Alipay] {
default: [Circular *1],
Alipay: [Circular *1],
Rsa: <ref *2> [class Rsa] { default: [Circular *2] },
Aes: <ref *3> [class Aes] {
default: [Circular *3],
AesCbc: [class AesCbc extends Aes]
},
AesCbc: [class AesCbc extends Aes],
Formatter: <ref *4> [class Formatter] { default: [Circular *4] },
Decorator: <ref *5> [class Decorator] {
default: [Circular *5],
[Symbol(PRIVATE_KEY)]: <Buffer 2d 2d 2d 2d 2d 42 45 47 49 4e 20 50 52 49 56 41 54 45 20 4b 45 59 2d 2d 2d 2d 2d 0a 4d 49 49 45 76 67 49 42 41 44 41 4e 42 67 6b 71 68 6b 69 47 39 77 ... 1653 more bytes>,
[Symbol(PUBLIC_CERT)]: <Buffer 2d 2d 2d 2d 2d 42 45 47 49 4e 20 50 55 42 4c 49 43 20 4b 45 59 2d 2d 2d 2d 2d 0a 4d 49 49 42 49 6a 41 4e 42 67 6b 71 68 6b 69 47 39 77 30 42 41 51 45 ... 400 more bytes>,
[Symbol(CLIENT)]: [Function: wrap] {
request: [Function: wrap],
getUri: [Function: wrap],
delete: [Function: wrap],
get: [Function: wrap],
head: [Function: wrap],
options: [Function: wrap],
post: [Function: wrap],
put: [Function: wrap],
patch: [Function: wrap],
defaults: {
method: 'post',
headers: {
common: { Accept: 'application/json, text/plain, */*' },
delete: {},
get: {},
head: {},
post: { 'Content-Type': 'application/x-www-form-urlencoded' },
put: { 'Content-Type': 'application/x-www-form-urlencoded' },
patch: { 'Content-Type': 'application/x-www-form-urlencoded' },
'User-Agent': 'WhatsAlipay/0.0.1 Node/14.5.0 darwin/x64'
},
params: {
app_id: '2014072300007148',
format: 'JSON',
charset: 'utf-8',
sign_type: 'RSA2',
version: '1.0'
},
baseURL: 'https://openapi.alipay.com/gateway.do',
transformRequest: [ [Function: transformRequest] ],
transformResponse: [ [Function: verifier], [Function: transformResponse] ],
timeout: 0,
adapter: [Function: httpAdapter],
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
maxBodyLength: -1,
validateStatus: [Function: validateStatus]
},
interceptors: {
request: InterceptorManager {
handlers: [ { fulfilled: [Function: signer], rejected: undefined } ]
},
response: InterceptorManager { handlers: [] }
}
}
}
}
|