@freelog/tools-lib 0.1.201 → 0.2.1
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/service-API/payment.d.ts +5 -0
- package/dist/tools-lib.cjs.development.js +9 -1
- package/dist/tools-lib.cjs.development.js.map +1 -1
- package/dist/tools-lib.cjs.production.min.js +1 -1
- package/dist/tools-lib.cjs.production.min.js.map +1 -1
- package/dist/tools-lib.esm.js +9 -1
- package/dist/tools-lib.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/service-API/payment.ts +15 -0
package/package.json
CHANGED
|
@@ -214,3 +214,18 @@ export function queryStatistics(params: QueryStatisticsParamsType, config?: Axio
|
|
|
214
214
|
...config,
|
|
215
215
|
});
|
|
216
216
|
}
|
|
217
|
+
|
|
218
|
+
// 查询手续费
|
|
219
|
+
interface QueryFeeParamsType {
|
|
220
|
+
accountId: string; // 金融账户ID
|
|
221
|
+
transactionAmount: number; // 提现金额; 最多保留两位小数
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export function queryFee(params: QueryFeeParamsType, config?: AxiosRequestConfig) {
|
|
225
|
+
return FUtil.Request({
|
|
226
|
+
method: 'GET',
|
|
227
|
+
url: `/v3/transactions/withdrawCashFeeCalculate`,
|
|
228
|
+
params: params,
|
|
229
|
+
...config,
|
|
230
|
+
});
|
|
231
|
+
}
|