syttunnel 0.1.5-1 → 0.1.5-2
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.
- package/core/basic/appPay.d.ts +5 -2
- package/package.json +1 -1
package/core/basic/appPay.d.ts
CHANGED
|
@@ -9,6 +9,9 @@ interface IPayByWeChatParams {
|
|
|
9
9
|
interface IPayByAliParams {
|
|
10
10
|
orderStr: string;
|
|
11
11
|
}
|
|
12
|
+
export interface INativePayResult {
|
|
13
|
+
result: IPayResult;
|
|
14
|
+
}
|
|
12
15
|
export interface IPayResult {
|
|
13
16
|
channelType: string;
|
|
14
17
|
status: string | number;
|
|
@@ -16,7 +19,7 @@ export interface IPayResult {
|
|
|
16
19
|
channelResult: object;
|
|
17
20
|
}
|
|
18
21
|
export declare class AppPay {
|
|
19
|
-
payByWeChat(params: IPayByWeChatParams): Promise<
|
|
20
|
-
payByAli(params: IPayByAliParams): Promise<
|
|
22
|
+
payByWeChat(params: IPayByWeChatParams): Promise<INativePayResult>;
|
|
23
|
+
payByAli(params: IPayByAliParams): Promise<INativePayResult>;
|
|
21
24
|
}
|
|
22
25
|
export {};
|