type: 修复类型错误。
This commit is contained in:
parent
9ff3075c24
commit
98f50d4d5a
45
index.d.ts
vendored
45
index.d.ts
vendored
@ -4,15 +4,42 @@
|
|||||||
* 支付宝回调结果, 详情见 https://docs.open.alipay.com/204/105301
|
* 支付宝回调结果, 详情见 https://docs.open.alipay.com/204/105301
|
||||||
*/
|
*/
|
||||||
export interface AliOrderResult {
|
export interface AliOrderResult {
|
||||||
out_trade_no: String; // 长度:64,商户网站唯一订单号 70501111111S001111119
|
/**
|
||||||
trade_no: String; // 长度:64,该交易在支付宝系统中的交易流水号。最长64位。 2014112400001000340011111118
|
* 长度:64,商户网站唯一订单号 70501111111S001111119
|
||||||
app_id: String; // 长度:32,支付宝分配给开发者的应用Id。 2014072300007148
|
*/
|
||||||
total_amount: Price; // 长度:9 ,该笔订单的资金总额,单位为RMB-Yuan。取值范围为[0.01,100000000.00],精确到小数点后两位。 9.00
|
out_trade_no: string;
|
||||||
seller_id: String; // 长度:16,收款支付宝账号对应的支付宝唯一用户号。以2088开头的纯16位数字 20886894
|
/**
|
||||||
msg: String; // 长度:16,处理结果的描述,信息来自于code返回结果的描述 success
|
* 长度:64,该交易在支付宝系统中的交易流水号。最长64位。 2014112400001000340011111118
|
||||||
charset: String; // 长度:16,编码格式 utf-8
|
*/
|
||||||
timestamp: String; // 长度:32,时间 2016-10-11 17:43:36
|
trade_no: string;
|
||||||
code: String; // 长度:16,结果码 具体见公共错误码
|
/**
|
||||||
|
* 长度:32,支付宝分配给开发者的应用Id。 2014072300007148
|
||||||
|
*/
|
||||||
|
app_id: string;
|
||||||
|
/**
|
||||||
|
* 长度:9 ,该笔订单的资金总额,单位为RMB-Yuan。取值范围为[0.01,100000000.00],精确到小数点后两位。 9.00
|
||||||
|
*/
|
||||||
|
total_amount: number;
|
||||||
|
/**
|
||||||
|
* 长度:16,收款支付宝账号对应的支付宝唯一用户号。以2088开头的纯16位数字 20886894
|
||||||
|
*/
|
||||||
|
seller_id: string;
|
||||||
|
/**
|
||||||
|
* 长度:16,处理结果的描述,信息来自于code返回结果的描述 success
|
||||||
|
*/
|
||||||
|
msg: string;
|
||||||
|
/**
|
||||||
|
* 长度:16,编码格式 utf-8
|
||||||
|
*/
|
||||||
|
charset: string;
|
||||||
|
/**
|
||||||
|
* 长度:32,时间 2016-10-11 17:43:36
|
||||||
|
*/
|
||||||
|
timestamp: string;
|
||||||
|
/**
|
||||||
|
* 长度:16,结果码 具体见公共错误码
|
||||||
|
*/
|
||||||
|
code: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user