cgserver 12.3.2 → 12.3.3

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.
@@ -42,6 +42,37 @@ export interface AlipayAppPayParams {
42
42
  ext_user_info?: AlipayExtUserInfo;
43
43
  query_options?: string[];
44
44
  }
45
+ export interface FundBillListItem {
46
+ amount: string;
47
+ fundChannel: string;
48
+ }
49
+ export interface AlipayCallbackInfo {
50
+ gmt_create: string;
51
+ charset: string;
52
+ seller_email: string;
53
+ subject: string;
54
+ sign: string;
55
+ buyer_id: string;
56
+ invoice_amount: string;
57
+ notify_id: string;
58
+ fund_bill_list: string;
59
+ notify_type: string;
60
+ trade_status: string;
61
+ receipt_amount: string;
62
+ buyer_pay_amount: string;
63
+ app_id: string;
64
+ sign_type: string;
65
+ seller_id: string;
66
+ gmt_payment: string;
67
+ notify_time: string;
68
+ version: string;
69
+ out_trade_no: string;
70
+ total_amount: string;
71
+ trade_no: string;
72
+ auth_app_id: string;
73
+ buyer_logon_id: string;
74
+ point_amount: string;
75
+ }
45
76
  export declare enum EAlipayExecType {
46
77
  exec = 0,
47
78
  sdkExec = 1,
@@ -64,7 +95,7 @@ export declare class AlipayTool {
64
95
  * @param notifyData 回调数据
65
96
  * @returns 验证结果
66
97
  */
67
- verifyNotify(notifyData: any): Promise<boolean>;
98
+ verifyNotify(notifyData: AlipayCallbackInfo, raw?: boolean): Promise<boolean>;
68
99
  exec(method: string, params: any, execType?: EAlipayExecType): Promise<string | null | AlipaySdkCommonResult>;
69
100
  /**
70
101
  * 查询订单状态
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cgserver",
3
- "version": "12.3.2",
3
+ "version": "12.3.3",
4
4
  "author": "trojan",
5
5
  "type": "commonjs",
6
6
  "description": "free for all.Websocket or Http",
@@ -72,7 +72,7 @@
72
72
  "protobufjs": "^7.2.6",
73
73
  "qiniu": "^7.11.0",
74
74
  "readline2": "^1.0.1",
75
- "redis": "^4.7.0",
75
+ "redis": "^5.0.1",
76
76
  "reflect-metadata": "^0.2.2",
77
77
  "request": "^2.88.2",
78
78
  "socket.io": "^4.7.4",