ttpos-shop

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

ttpos-shop

ttpos-shop

先读
ttpos-shared
(
--shop
解析、默认商户和别名规则都在那里)。
First read
ttpos-shared
(
--shop
resolution, default merchant, and alias rules are all defined there).

能回答的问题

Questions That Can Be Answered

问题命令
我能查哪些门店
ttpos shop list
之后都查这家店
ttpos shop use <标识>
哪些门店 30 天内到期或已过期
ttpos shop expiry
60 天内到期的
ttpos shop expiry --within 60
我负责的门店里哪些快到期
ttpos shop expiry --mine
QuestionCommand
Which stores can I query
ttpos shop list
Use this store for subsequent queries
ttpos shop use <identifier>
Which stores expire within 30 days or have already expired
ttpos shop expiry
Expiring within 60 days
ttpos shop expiry --within 60
Which stores I manage are about to expire
ttpos shop expiry --mine

门店到期

Store Expiration

  • 到期时间只有云平台能查,需要云平台账号,和商户账号是两套。没登录时 exit 3,请人运行
    ttpos auth login --cloud
    (同样由人在浏览器完成,登录有效 10 小时)。
  • 默认查云平台全部门店;
    --mine
    只保留当前商户账号能访问的门店,需要两个账号都已登录。
  • days_left
    是剩余天数,负数表示已过期多少天;
    expire_date
    是到期日;
    status_text
    是门店在云平台是否启用。永不过期的门店不出现在结果里。
  • 结果按到期时间从早到晚排。汇报时分"已过期"和"即将到期"两组。
退出码见
ttpos help exit-codes
。
  • Expiration times can only be queried through the cloud platform. This requires a cloud platform account, which is separate from the merchant account. When not logged in, the command exits with code 3. Ask someone to run
    ttpos auth login --cloud
    (this must also be completed manually in a browser, and the login is valid for 10 hours).
  • By default, all stores on the cloud platform are queried.
    --mine
    retains only stores accessible by the current merchant account, so both accounts must be logged in.
  • days_left
    is the number of remaining days; a negative value indicates how many days ago the store expired.
    expire_date
    is the expiration date, and
    status_text
    indicates whether the store is enabled on the cloud platform. Stores that never expire do not appear in the results.
  • Results are sorted by expiration time, from earliest to latest. When reporting the results, split them into the "Expired" and "Expiring Soon" groups.
See
ttpos help exit-codes
for exit codes.