ttpos-member
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinesettpos-member
ttpos-member
先读 。账号所在门店没开会员功能或账号没有会员权限时,命令会返回上游错误,照实告诉用户。
ttpos-sharedRead first. If the store associated with the account has not enabled the member feature, or the account does not have member permissions, the command will return an upstream error. Report the error accurately to the user.
ttpos-shared能回答的问题
Questions You Can Answer
| 问题 | 命令 |
|---|---|
| 按手机号、会员号、昵称、会员卡号找会员 | |
| 会员余额、积分、等级、累计消费 | 先 |
| 会员的消费记录 | |
| 会员的充值记录 | |
| 有哪些会员等级 | |
| Question | Command |
|---|---|
| Find a member by phone number, member number, nickname, or membership card number | |
| Member balance, points, level, and cumulative spending | First run |
| Member consumption history | |
| Member recharge history | |
| Available membership levels | |
要点
Important Notes
- 是模糊匹配,可能命中多个会员;多个时列出候选,让用户确认是哪一位,不要替他选。
--keyword - 的结果手机号、昵称打码;
member list按 uuid 查单条,完整显示。打码后的值不能再拿去搜。member get - 余额分两部分:本金,
balance赠送;两者都含冻结部分。用户问"余额"时两项都报。gift_balance - 的
member flow:1 消费、2 充值、3 积分、4 其他;type是这笔单据金额,amount是余额变动。可加balance_delta限定日期。--from/--to - 会员 uuid 是字符串,按字符串传。
退出码见 。
ttpos help exit-codes- performs a fuzzy match and may return multiple members. If there are multiple results, list the candidates and ask the user to confirm which member they mean; do not select one on their behalf.
--keyword - Phone numbers and nicknames in results are masked.
member listretrieves a single record by uuid and displays it in full. Masked values cannot be used in another search.member get - The balance has two parts: is the principal balance, and
balanceis the gifted balance. Both include frozen amounts. When the user asks about the "balance", report both.gift_balance - types: 1 = consumption, 2 = recharge, 3 = points, 4 = other.
member flowis the amount of the transaction, whileamountis the change in balance. Usebalance_deltato specify a date range.--from/--to - The member uuid is a string and must be passed as a string.
See for exit codes.
ttpos help exit-codes