lzh-common 0.0.216 → 0.0.217
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/dist/deposit/base.d.ts
CHANGED
|
@@ -7,19 +7,21 @@ export interface IDepositDB {
|
|
|
7
7
|
id: number;
|
|
8
8
|
/** 用户ID */
|
|
9
9
|
user_id: number;
|
|
10
|
-
/** 保证金金额 */
|
|
11
|
-
amount: number;
|
|
12
10
|
/** 保证金状态 */
|
|
13
11
|
status: DepositPaidStatusEnum;
|
|
12
|
+
/** 应付金额 */
|
|
13
|
+
payable_amount: number;
|
|
14
|
+
/** 实付金额 */
|
|
15
|
+
paid_amount: number;
|
|
14
16
|
/** 微信支付的系统订单号 */
|
|
15
17
|
out_trade_no: string;
|
|
16
18
|
/** 微信支付的平台订单号 */
|
|
17
19
|
wechatpay_transaction_id: number;
|
|
18
20
|
/** 创建时间 */
|
|
19
|
-
create_time:
|
|
21
|
+
create_time: string;
|
|
20
22
|
/** 支付时间 */
|
|
21
|
-
|
|
23
|
+
pay_success_time?: string;
|
|
22
24
|
/** 更新时间 */
|
|
23
|
-
update_time:
|
|
25
|
+
update_time: string;
|
|
24
26
|
}
|
|
25
27
|
//# sourceMappingURL=base.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../src/deposit/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAEnD;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,YAAY;IACZ,EAAE,EAAE,MAAM,CAAC;IACX,WAAW;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY;IACZ,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../src/deposit/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAEnD;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,YAAY;IACZ,EAAE,EAAE,MAAM,CAAC;IACX,WAAW;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY;IACZ,MAAM,EAAE,qBAAqB,CAAC;IAE9B,WAAW;IACX,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW;IACX,WAAW,EAAE,MAAM,CAAC;IAEpB,iBAAiB;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB;IACjB,wBAAwB,EAAE,MAAM,CAAC;IAEjC,WAAW;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW;IACX,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW;IACX,WAAW,EAAE,MAAM,CAAC;CACrB"}
|
package/dist/deposit/client.d.ts
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
import { IDepositDB } from "./base.js";
|
|
2
|
-
/**
|
|
3
|
-
|
|
2
|
+
/**
|
|
3
|
+
* @desc 请求参数:创建保证金订单
|
|
4
|
+
* */
|
|
5
|
+
export type IDepositClientCreateReq = Pick<IDepositDB, 'user_id' | 'payable_amount'> & {
|
|
6
|
+
open_id: string;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* @desc 返回参数: 创建保证金订单
|
|
10
|
+
* */
|
|
11
|
+
export type IDepositClientCreateRes = {
|
|
12
|
+
deposit_id: IDepositDB['id'];
|
|
13
|
+
out_trade_no: IDepositDB['out_trade_no'];
|
|
14
|
+
package: string;
|
|
15
|
+
timeStamp: string;
|
|
16
|
+
nonceStr: string;
|
|
17
|
+
paySign: string;
|
|
18
|
+
};
|
|
4
19
|
/** 返回参数:查询用户相关保证金 */
|
|
5
20
|
//# sourceMappingURL=client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/deposit/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAEvC
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/deposit/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAEvC;;KAEK;AACL,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,UAAU,EAAC,SAAS,GAAC,gBAAgB,CAAC,GAAG;IAClF,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA;AAED;;KAEK;AACL,MAAM,MAAM,uBAAuB,GAAG;IACpC,UAAU,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;IAC7B,YAAY,EAAE,UAAU,CAAC,cAAc,CAAC,CAAC;IAGzC,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAA;AAED,qBAAqB"}
|