ttpos-member

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

ttpos-member

ttpos-member

先读
ttpos-shared
。账号所在门店没开会员功能或账号没有会员权限时,命令会返回上游错误,照实告诉用户。
Read
ttpos-shared
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.

能回答的问题

Questions You Can Answer

问题命令
按手机号、会员号、昵称、会员卡号找会员
ttpos member list --keyword <手机号或会员号>
会员余额、积分、等级、累计消费先
member list
找到 uuid,再
ttpos member get <member_uuid>
会员的消费记录
ttpos member flow <member_uuid> --type 1
会员的充值记录
ttpos member flow <member_uuid> --type 2
有哪些会员等级
ttpos member levels
QuestionCommand
Find a member by phone number, member number, nickname, or membership card number
ttpos member list --keyword <phone number or member number>
Member balance, points, level, and cumulative spendingFirst run
member list
to find the uuid, then run
ttpos member get <member_uuid>
Member consumption history
ttpos member flow <member_uuid> --type 1
Member recharge history
ttpos member flow <member_uuid> --type 2
Available membership levels
ttpos member levels

要点

Important Notes

  • --keyword
    是模糊匹配,可能命中多个会员;多个时列出候选,让用户确认是哪一位,不要替他选。
  • member list
    的结果手机号、昵称打码;
    member get
    按 uuid 查单条,完整显示。打码后的值不能再拿去搜。
  • 余额分两部分:
    balance
    本金,
    gift_balance
    赠送;两者都含冻结部分。用户问"余额"时两项都报。
  • member flow
    的
    type
    :1 消费、2 充值、3 积分、4 其他;
    amount
    是这笔单据金额,
    balance_delta
    是余额变动。可加
    --from/--to
    限定日期。
  • 会员 uuid 是字符串,按字符串传。
退出码见
ttpos help exit-codes
。
  • --keyword
    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.
  • Phone numbers and nicknames in
    member list
    results are masked.
    member get
    retrieves a single record by uuid and displays it in full. Masked values cannot be used in another search.
  • The balance has two parts:
    balance
    is the principal balance, and
    gift_balance
    is the gifted balance. Both include frozen amounts. When the user asks about the "balance", report both.
  • member flow
    types: 1 = consumption, 2 = recharge, 3 = points, 4 = other.
    amount
    is the amount of the transaction, while
    balance_delta
    is the change in balance. Use
    --from/--to
    to specify a date range.
  • The member uuid is a string and must be passed as a string.
See
ttpos help exit-codes
for exit codes.