ttpos-recharge
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinesettpos-recharge
ttpos-recharge
先读 。
ttpos-sharedFirst read .
ttpos-shared能回答的问题
Questions this skill can answer
| 问题 | 命令 |
|---|---|
| 最近的充值记录 | |
| 一笔充值的详情 | |
| 这笔充值还能退多少 | |
| Question | Command |
|---|---|
| Recent recharge records | |
| Details of a recharge | |
| How much can this recharge still be refunded for | |
ttpos recharge list
ttpos recharge listttpos recharge list
ttpos recharge listbash
ttpos recharge list # 最近 7 天
ttpos recharge list --from YYYY-MM-DD --to YYYY-MM-DD --page 2 --size 100
ttpos recharge list --order-no <订单号> --from YYYY-MM-DD --to YYYY-MM-DD- 查询上限:每页最多 100 条,跨度最长 31 天。
--from/--to - 不传日期默认最近 7 天。不会放宽时间范围,更早的订单要同时传日期;"没查到"先看
--order-no。notice - 只传 时
--from补到现在,日期太早会超 31 天;只传--to时--to补为往前 7 天。--from - 日期按创建时间过滤,不能按支付时间过滤。输出的 可能与创建时间差好几天,查不到预期单据就放宽
payment_time。--from - 取 0 待付款、1 已完成、2 已取消;
status是中文含义,直接用。status_text - 每项取 (字符串)给
uuid和get用;金额看refund-info、recharge_amount;gift_amount是字符串数组。payment_methods
bash
ttpos recharge list # 最近 7 天
ttpos recharge list --from YYYY-MM-DD --to YYYY-MM-DD --page 2 --size 100
ttpos recharge list --order-no <订单号> --from YYYY-MM-DD --to YYYY-MM-DD- Query limits: up to 100 records per page, with a maximum date range of 31 days.
--from/--to - If no dates are provided, the default is the most recent 7 days. does not extend the time range; older orders require dates as well. If "not found" appears, check
--order-nofirst.notice - If only is provided,
--fromdefaults to the current date; a date that is too early will exceed 31 days. If only--tois provided,--todefaults to 7 days earlier.--from - Dates are filtered by creation time and cannot be filtered by payment time. The output may differ from the creation time by several days; if the expected order is not found, widen
payment_time.--from - values are 0 for pending payment, 1 for completed, and 2 for canceled;
statuscontains the Chinese description and should be used directly.status_text - Use each item's (string) with
uuidandget. For amounts, userefund-infoandrecharge_amount;gift_amountis an array of strings.payment_methods
ttpos recharge get <uuid>
ttpos recharge get <uuid>ttpos recharge get <uuid>
ttpos recharge get <uuid>data--format tableuuidorder_nomemberstatuscashierrecharge_amountamountcharge_duepayment_timecreate_timegift_amountgift_pointpayment_methodsoperation_logextradata--format tableuuidorder_nomemberstatuscashierrecharge_amountamountcharge_duepayment_timecreate_timegift_amountgift_pointpayment_methodsoperation_logextrattpos recharge refund-info <uuid>
ttpos recharge refund-info <uuid>ttpos recharge refund-info <uuid>
ttpos recharge refund-info <uuid>只查询,不会退款;本 CLI 没有退款命令。返回 。
refundable_amountrecharge_amountgift_amountgift_pointrecharge_member_infopayment_records- 是
<uuid>的recharge list。不能传订单号,也不能传销售订单的 id。uuid - 只覆盖充值订单。销售订单、会员订单的可退金额本版不提供,不要拿这条命令代替。
退出码见 。
ttpos help exit-codesThis only queries information and does not process refunds; this CLI has no refund command. It returns .
refundable_amountrecharge_amountgift_amountgift_pointrecharge_member_infopayment_records- is the
<uuid>fromuuid. An order number or a sales order id cannot be used.recharge list - This command only covers recharge orders. Refundable amounts for sales orders and member orders are not provided in this version; do not substitute this command for them.
See for exit codes.
ttpos help exit-codes