cgserver 13.2.14 → 13.2.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -77,11 +77,11 @@ class AlipayTool {
|
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
async exec(method, params, execType = EAlipayExecType.exec) {
|
|
80
|
+
let result = null;
|
|
80
81
|
try {
|
|
81
82
|
if (!this._alipaySdk) {
|
|
82
|
-
return
|
|
83
|
+
return result;
|
|
83
84
|
}
|
|
84
|
-
let result = null;
|
|
85
85
|
switch (execType) {
|
|
86
86
|
case EAlipayExecType.exec:
|
|
87
87
|
result = await this._alipaySdk.exec(method, params);
|
|
@@ -96,8 +96,8 @@ class AlipayTool {
|
|
|
96
96
|
return result;
|
|
97
97
|
}
|
|
98
98
|
catch (error) {
|
|
99
|
-
Log_1.gLog.error({ tip: '执行支付宝请求失败:',
|
|
100
|
-
return
|
|
99
|
+
Log_1.gLog.error({ tip: '执行支付宝请求失败:', arguments, error, result });
|
|
100
|
+
return result;
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cgserver",
|
|
3
|
-
"version": "13.2.
|
|
3
|
+
"version": "13.2.16",
|
|
4
4
|
"author": "trojan",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"description": "free for all.Websocket or Http",
|
|
@@ -46,7 +46,6 @@
|
|
|
46
46
|
"@types/underscore": "^1.11.15",
|
|
47
47
|
"@types/urlencode": "^1.1.4",
|
|
48
48
|
"@types/websocket": "^1.0.10",
|
|
49
|
-
"alipay_sdk2": "^1.1.6",
|
|
50
49
|
"alipay-sdk": "^4.13.0",
|
|
51
50
|
"azgaar-fmg-parser": "^1.2.2",
|
|
52
51
|
"colors": "^1.4.0",
|