npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@yunke/myy-cli

v0.3.34

Published

Mingyuanyun CLI tool

Readme

@yunke/myy-cli

明源云 CLI 工具

安装

npm install -g @yunke/myy-cli

支持的平台

  • Linux (amd64, arm64)
  • macOS (amd64, arm64)
  • Windows (amd64)

配置

首次使用前需要配置 token:

# 设置 token
myy-cli auth login

Skills

  • 安装:myy-cli skills add
  • 更新:myy-cli skills update

命令文档

目录

中台-载体管理

获取微信小程序列表

中台载体管理,如获取微信小程序

用法:

myy-cli payload get-mini-program-list [flags]

参数:

  • --r: (required)

示例:

# 使用独立 flag
myy-cli payload get-mini-program-list --r=<string>
# 使用 --data 传入 JSON
myy-cli payload get-mini-program-list --data='{
  "r": "<r>"
}'

中台-运营主体

运营主体相关的信息获取

获取用户有权限的运营主体相关信息

获取用户有权限的运营主体相关信息

用法:

myy-cli subject subject-info-list [flags]

参数:

  • --r: (required)

示例:

# 使用独立 flag
myy-cli subject subject-info-list --r=<string>
# 使用 --data 传入 JSON
myy-cli subject subject-info-list --data='{
  "r": "<r>"
}'

中台-省市区数据

获取所有省市区数据

用法:

myy-cli address get-all [flags]

参数:

  • --data: 传入 JSON 格式的完整参数

示例:

# 使用独立 flag
myy-cli address get-all

获取单个省市区数据

获取单个省市区数据,需要传ID和具体的类型

用法:

myy-cli address get [flags]

参数:

  • --list: 批量查询条件 @required (required)
  • --data: 传入 JSON 格式的完整参数

示例:

# 使用独立 flag
myy-cli address get --list=<string>
# 使用 --data 传入 JSON
myy-cli address get --data='{
  "list": "<list>"
}'

由行政区域码查询对应地理信息

由行政区域码查询对应地理信息

用法:

myy-cli address get-by-region-code [flags]

参数:

  • --country_code: 国家码,暂不用,默认中国
  • --region_code: 行政区划码 @required (required)
  • --is_include_children: 是否查询子级信息

示例:

# 使用独立 flag
myy-cli address get-by-region-code --region_code=<string> [--country_code=<string>] [--is_include_children=<string>]
# 使用 --data 传入 JSON
myy-cli address get-by-region-code --data='{
  "region_code": "<region_code>",
  "is_include_children": "<is_include_children>",
  "country_code": "<country_code>"
}'

视频内核

批量根据ID获取矩阵账号信息

用法:

myy-cli video-core GetAccountByIds [flags]

参数:

  • --vc_account_ids: 视频内核账号ID @required (required)
  • --app_codes: 明源应用唯一code: 为空时不返回授权信息
  • --data: 传入 JSON 格式的完整参数

示例:

# 使用独立 flag
myy-cli video-core GetAccountByIds --vc_account_ids=<string> [--app_codes=<string>]
# 使用 --data 传入 JSON
myy-cli video-core GetAccountByIds --data='{
  "vc_account_ids": "<vc_account_ids>",
  "app_codes": "<app_codes>"
}'

获取矩阵账号列表

用法:

myy-cli video-core GetAccountList [flags]

参数:

  • --client_status: pc客户端状态::0.所有,1.在线,2.离线(包含未绑定)
  • --need_advertiser_account: 是否需要返回绑定的广告主账号
  • --names: 名称(精确搜索)
  • --advertiser_account_filter-platform_type: 平台类型: vc_account_ids 为空时必填 @required (required)
  • --advertiser_account_filter-role_type: 帐号类型 NORMAL-普通广告主 LOCAL-本地推
  • --like-keyword: 关键字 @required (required)
  • --account_relation_filters: 账号归属关系过滤
  • --out_account_ids: 外部账号ID(临时提供给视频营销过渡使用,后续废弃)
  • --pager-page_size: 页数
  • --pager-total_rows: 总行数
  • --pager-page: 页码
  • --exclude_app_code: 未授权应用的账号,明源应用唯一code:
  • --no_page: 是否不分页,true:不分页,false:分页(默认)
  • --mobiles: 手机号(精确搜索)
  • --need_multi_platform_account: 是否需要返回绑定的多平台账号
  • --parent_vc_account_ids: 视频内核父级账号ID,顶级时为[0]
  • --exclude_app_code_op: 多个 exclude_app_code 时,取交集还是并集,false 取交集,多个app_code都未授权(默认),true 取并集,任意一个app_code未授权
  • --need_auth: 是否需要返回授权信息
  • --staff_ids: 用户中心B端用户ID
  • --advertiser_account_filter-bind_status: 授权状态:
  • --include_multi_staff_ids: 包含绑定的多平台账号的B端用户中心ID,bind_multi_platform_account=2时不支持
  • --like-fields: 字段(多个搜索是 OR 关系),仅支持:name、display_uid、out_account_id @required (required)
  • --vc_pc_client_id: 客户端ID(不为空时,不能同时传入client_status和bind_pc_client)
  • --not_need_avatar: 不返回头像:false 返回,true 不返回
  • --need_relation: 是否需要返回归属信息
  • --exclude_multi_staff_ids: 排除绑定的多平台账号的B端用户中心ID,bind_multi_platform_account=2时不支持
  • --need_mobile: 是否需要手机号,true:解密手机号,false:不解密手机号,默认:false
  • --need_parent_out_account_id: 是否需要返回父账号的out_account_id
  • --advertiser_account_filter-bind_type: 绑定类型:
  • --account_relation_filters_op: 多个 account_relation_filters,取交集还是并集,false 取交集(默认),true 取并集
  • --platform_uids: 平台账号ID
  • --advertiser_account_filter-app_codes: 明源应用唯一code: 为空时不返回授权信息
  • --app_status: app登录状态 0全部 1已登录 2未登录 3未绑定
  • --status_change_reason: 账号禁用类型,当account_status=2时有效。枚举值:
  • --bind_third_statuses: 绑定第三方平台账号状态:0-未绑定(已解绑), 1-绑定成功, 2-绑定失败
  • --bind_mobile: 是否绑定了手机号:0 不过滤(默认),1 已绑定,2 未绑定
  • --create_start_time: 按记录的创建时间筛选,创建开始时间(格式:2006-01-02 15:04:05),create_time >= create_start_time
  • --advertiser_account_filter-bind_third_status: 巨量直播授权状态: 0-不限(默认值),1-巨量直播已授权,2-巨量直播未授权,3-巨量直播部分未授权
  • --display_uids: 展示账号ID
  • --bind_pc_client: 是否绑定PC客户端(0 不过滤(默认),1 已绑定,2 未绑定)
  • --platform_type: 平台类型: vc_account_ids 为空时必填 @required (required)
  • --need_pc_client: 是否需要返回pc客户端绑定信息
  • --bind_multi_platform_account: 是否绑定了多平台账号:0 不过滤(默认),1 已绑定,2 未绑定
  • --include_app_code_op: 多个 include_app_code 时,取交集还是并集,false 取交集,多个app_code都已授权(默认),true 取并集,任意一个app_code已授权
  • --vc_account_ids: 视频内核账号ID
  • --account_status: 账号状态:0 全部 1启用 2禁用
  • --include_app_code: 授权应用的账号,明源应用唯一code:
  • --create_end_time: 按记录的创建时间筛选,创建结束时间(格式:2006-01-02 15:04:05),create_time <= create_end_time
  • --account_relation_merge_op: account_relation_filters过滤出来的账号与vc_account_ids的账号取交集还是并集,false 取交集(默认),true 取并集
  • --data: 传入 JSON 格式的完整参数

示例:

# 使用独立 flag
myy-cli video-core GetAccountList --advertiser_account_filter-platform_type=<string> --like-keyword=<string> --like-fields=<string> --platform_type=<string> [--bind_multi_platform_account=<string>] [--include_app_code_op=<string>] [--vc_account_ids=<string>] [--account_status=<string>] [--include_app_code=<string>] [--create_end_time=<string>] [--account_relation_merge_op=<string>] [--client_status=<string>] [--need_advertiser_account=<string>] [--names=<string>] [--advertiser_account_filter-role_type=<string>] [--account_relation_filters=<string>] [--out_account_ids=<string>] [--pager-page_size=<string>] [--pager-total_rows=<string>] [--pager-page=<string>] [--exclude_app_code=<string>] [--no_page=<string>] [--mobiles=<string>] [--need_multi_platform_account=<string>] [--parent_vc_account_ids=<string>] [--exclude_app_code_op=<string>] [--need_auth=<string>] [--staff_ids=<string>] [--advertiser_account_filter-bind_status=<string>] [--include_multi_staff_ids=<string>] [--vc_pc_client_id=<string>] [--not_need_avatar=<string>] [--need_relation=<string>] [--exclude_multi_staff_ids=<string>] [--need_mobile=<string>] [--need_parent_out_account_id=<string>] [--advertiser_account_filter-bind_type=<string>] [--account_relation_filters_op=<string>] [--platform_uids=<string>] [--advertiser_account_filter-app_codes=<string>] [--app_status=<string>] [--status_change_reason=<string>] [--bind_third_statuses=<string>] [--bind_mobile=<string>] [--create_start_time=<string>] [--advertiser_account_filter-bind_third_status=<string>] [--display_uids=<string>] [--bind_pc_client=<string>] [--need_pc_client=<string>]
# 使用 --data 传入 JSON
myy-cli video-core GetAccountList --data='{
  "status_change_reason": "<status_change_reason>",
  "account_status": "<account_status>",
  "client_status": "<client_status>",
  "exclude_app_code": "<exclude_app_code>",
  "like-fields": "<fields>",
  "need_relation": "<need_relation>",
  "exclude_multi_staff_ids": "<exclude_multi_staff_ids>",
  "account_relation_filters": "<account_relation_filters>",
  "need_multi_platform_account": "<need_multi_platform_account>",
  "need_auth": "<need_auth>",
  "staff_ids": "<staff_ids>",
  "include_multi_staff_ids": "<include_multi_staff_ids>",
  "need_mobile": "<need_mobile>",
  "platform_uids": "<platform_uids>",
  "app_status": "<app_status>",
  "parent_vc_account_ids": "<parent_vc_account_ids>",
  "vc_pc_client_id": "<vc_pc_client_id>",
  "bind_pc_client": "<bind_pc_client>",
  "platform_type": "<platform_type>",
  "bind_multi_platform_account": "<bind_multi_platform_account>",
  "mobiles": "<mobiles>",
  "account_relation_filters_op": "<account_relation_filters_op>",
  "vc_account_ids": "<vc_account_ids>",
  "like-keyword": "<keyword>",
  "pager-page_size": "<page_size>",
  "exclude_app_code_op": "<exclude_app_code_op>",
  "need_parent_out_account_id": "<need_parent_out_account_id>",
  "bind_third_statuses": "<bind_third_statuses>",
  "bind_mobile": "<bind_mobile>",
  "create_start_time": "<create_start_time>",
  "include_app_code_op": "<include_app_code_op>",
  "advertiser_account_filter-role_type": "<role_type>",
  "out_account_ids": "<out_account_ids>",
  "not_need_avatar": "<not_need_avatar>",
  "advertiser_account_filter-bind_third_status": "<bind_third_status>",
  "display_uids": "<display_uids>",
  "create_end_time": "<create_end_time>",
  "names": "<names>",
  "pager-total_rows": "<total_rows>",
  "pager-page": "<page>",
  "no_page": "<no_page>",
  "advertiser_account_filter-bind_type": "<bind_type>",
  "need_pc_client": "<need_pc_client>",
  "include_app_code": "<include_app_code>",
  "account_relation_merge_op": "<account_relation_merge_op>",
  "need_advertiser_account": "<need_advertiser_account>",
  "advertiser_account_filter-platform_type": "<platform_type>",
  "advertiser_account_filter-bind_status": "<bind_status>",
  "advertiser_account_filter-app_codes": "<app_codes>"
}'

获取作品列表

用法:

myy-cli video-core GetCreativeList [flags]

参数:

  • --filter_use_mp_component: 是否挂载小程序:0未挂载 1已挂载 为空时,表示不过滤,返回全部
  • --order_by_field: 排序字段,可选值: play_cnt 播放量 like_cnt 点赞数 comment_cnt 评论数 share_cnt 分享数 collect_cnt 收藏数 completion_rate 完播率,实际要除以100,即1234表示12.34% public_time 对外发布时间/作品创建时间 recommend_cnt 推荐数 new_fans_cnt 新增关注数 avg_play_time_sec 平均播放时长秒 interaction_ratio 互动率,实际需要除以100。如1234实际表示12.34% create_time 创建时间 modify_time 修改时间 exposure_cnt 曝光数 read_rate 阅读率 interact_cnt 互动数 interact_rate 互动率
  • --name: 作品名称,支持模糊搜索
  • --vc_account_ids: 内核内部账号ID,若指定了vc_account_ids,则account_relation_filter无效
  • --pager-page_size: 页数
  • --platform_type: 所属平台,
  • --with_creative_account_relations: 是否需要作品的账号关联归属信息,默认为false。 为true时account_relations不为空,会增加响应耗时
  • --with_account_item: 是否需要账号信息,默认为false。 为true时account_item不为空,会增加响应耗时
  • --public_time_begin: 作品创建时间晚于该值(格式:2006-01-02 15:04:05)
  • --third_encrypt_item_ids: 外部加密的作品ID 注意:如果刚发布的作品马上查询,因为同步有延迟,有可能查不到。如果要实时查询建议改用GetCreativeListByThirdIds
  • --tags: 按作品标签过滤
  • --data_sources: 数据来源过滤,用于区分作品数据的来源
  • --with_account_relations: 是否需要账号最新的关联归属信息,默认为false。 为true时account_item.account_relations不为空,会增加响应耗时
  • --create_time_end: 作品创建时间早于该值(格式:2006-01-02 15:04:05)
  • --third_item_ids: 外部作品ID 注意:如果刚发布的作品马上查询,因为同步有延迟,有可能查不到。如果要实时查询建议改用GetCreativeListByThirdIds
  • --public_time_end: 作品创建时间早于该值(格式:2006-01-02 15:04:05)
  • --order_by_type: 排序顺序,可选值:ASC升序,DESC降序
  • --pager-total_rows: 总行数
  • --account_relation_filter-relation_params-list: @required (required)
  • --out_account_ids: 内核外部账号ID
  • --create_time_begin: 作品创建时间晚于该值(格式:2006-01-02 15:04:05)
  • --vc_creative_info_ids: 内核内部作品ID
  • --account_relation_filter-account_relation_source: 矩阵账号归属类型来源: @required (required)
  • --include_internal_video_status: 内部作品状态, 过滤作品状态属于以下数组的作品 为空数组时,表示不过滤,返回全部
  • --exclude_internal_video_status: 内部作品状态, 过滤作品状态不属于以下数组的作品 为空数组时,表示不过滤,返回全部
  • --with_creative_tag: 是否需要作品的账号关联归属信息,默认为false。 为true时tags不为空,会增加响应耗时
  • --filter_use_component: 是否挂载工具:0未挂载 1已挂载 为空时,表示不过滤,返回全部
  • --creative_types: 媒体类型: video 视频 image 图文 live_image 动图。与图文作品不同的是,动图作品主要是ios拍摄的live图片,类似gif图
  • --pager-page: 页码
  • --account_relation_filter-relation_params-op: 运算关系,仅支持:AND、OR @required (required)
  • --data: 传入 JSON 格式的完整参数

示例:

# 使用独立 flag
myy-cli video-core GetCreativeList --account_relation_filter-account_relation_source=<string> --account_relation_filter-relation_params-op=<string> --account_relation_filter-relation_params-list=<string> [--vc_creative_info_ids=<string>] [--include_internal_video_status=<string>] [--exclude_internal_video_status=<string>] [--with_creative_tag=<string>] [--filter_use_component=<string>] [--creative_types=<string>] [--pager-page=<string>] [--filter_use_mp_component=<string>] [--order_by_field=<string>] [--name=<string>] [--vc_account_ids=<string>] [--pager-page_size=<string>] [--platform_type=<string>] [--with_creative_account_relations=<string>] [--with_account_item=<string>] [--public_time_begin=<string>] [--third_encrypt_item_ids=<string>] [--tags=<string>] [--data_sources=<string>] [--with_account_relations=<string>] [--create_time_end=<string>] [--third_item_ids=<string>] [--public_time_end=<string>] [--order_by_type=<string>] [--pager-total_rows=<string>] [--out_account_ids=<string>] [--create_time_begin=<string>]
# 使用 --data 传入 JSON
myy-cli video-core GetCreativeList --data='{
  "pager-page_size": "<page_size>",
  "with_account_item": "<with_account_item>",
  "account_relation_filter-relation_params-list": "<list>",
  "create_time_begin": "<create_time_begin>",
  "include_internal_video_status": "<include_internal_video_status>",
  "name": "<name>",
  "platform_type": "<platform_type>",
  "tags": "<tags>",
  "create_time_end": "<create_time_end>",
  "order_by_type": "<order_by_type>",
  "vc_creative_info_ids": "<vc_creative_info_ids>",
  "account_relation_filter-account_relation_source": "<account_relation_source>",
  "creative_types": "<creative_types>",
  "public_time_end": "<public_time_end>",
  "exclude_internal_video_status": "<exclude_internal_video_status>",
  "third_encrypt_item_ids": "<third_encrypt_item_ids>",
  "out_account_ids": "<out_account_ids>",
  "account_relation_filter-relation_params-op": "<op>",
  "order_by_field": "<order_by_field>",
  "pager-total_rows": "<total_rows>",
  "vc_account_ids": "<vc_account_ids>",
  "data_sources": "<data_sources>",
  "with_creative_tag": "<with_creative_tag>",
  "filter_use_mp_component": "<filter_use_mp_component>",
  "with_creative_account_relations": "<with_creative_account_relations>",
  "public_time_begin": "<public_time_begin>",
  "filter_use_component": "<filter_use_component>",
  "with_account_relations": "<with_account_relations>",
  "third_item_ids": "<third_item_ids>",
  "pager-page": "<page>"
}'

获取作品详情

用法:

myy-cli video-core GetCreative [flags]

参数:

  • --with_creative_account_relations: 是否需要作品的账号关联归属信息,默认为false。 为true时account_relations不为空,会增加响应耗时
  • --with_creative_tag: 是否需要作品的账号关联归属信息,默认为false。 为true时tags不为空,会增加响应耗时
  • --creative_info_id: 作品ID
  • --with_account_item: 是否需要账号信息,默认为false。 为true时account_item不为空,会增加响应耗时
  • --with_account_relations: 是否需要账号最新的关联归属信息,默认为false。 为true时account_item.account_relations不为空,会增加响应耗时
  • --with_audio_task: 是否需要进行语音解析,默认为false 为true时, 会进行异步语音解析, 调用方自行轮询详情接口,获取语音解析结果 解析是否完成, 需要判断响应体里的audio_task_status字段是否为AUDIO_TASK_DONE 当值为AUDIO_TASK_DONE时,copywriting字段值即为语音转换的结果
  • --data: 传入 JSON 格式的完整参数

示例:

# 使用独立 flag
myy-cli video-core GetCreative [--with_audio_task=<string>] [--with_creative_account_relations=<string>] [--with_creative_tag=<string>] [--creative_info_id=<string>] [--with_account_item=<string>] [--with_account_relations=<string>]
# 使用 --data 传入 JSON
myy-cli video-core GetCreative --data='{
  "with_audio_task": "<with_audio_task>",
  "with_creative_account_relations": "<with_creative_account_relations>",
  "with_creative_tag": "<with_creative_tag>",
  "creative_info_id": "<creative_info_id>",
  "with_account_item": "<with_account_item>",
  "with_account_relations": "<with_account_relations>"
}'

获取直播列表

用法:

myy-cli video-core GetLiveList [flags]

参数:

  • --third_live_ids: 第三方外部直播ID
  • --out_account_ids: 内核外部账号ID
  • --tag_filters: 直播标签过滤,数组长度最大为3
  • --live_status: 直播状态,
  • --account_relation_filter-relation_params-list: @required (required)
  • --account_relation_filter-relation_params-op: 运算关系,仅支持:AND、OR @required (required)
  • --live_begin_at: 直播开始时间晚于该值(格式:2006-01-02 15:04:05)
  • --order_by_field: 排序字段,可选值: live_begin_at 直播开始时间 live_end_at 直播结束时间 live_duration 直播时长 show_cnt 曝光数 show_ucnt 曝光人数 watch_cnt 观看数 watch_ucnt 观看人数 watch_peak_cnt 观看峰值 watch_duration 观看时长 avg_watch_duration 人均停留时长 duration_60s_cnt 超1分钟观看数 duration_60s_ucnt 超1分钟观看人数 follow_cnt 关注数 fans_cnt 加入粉丝团数 comment_cnt 评论数 comment_ucnt 评论人数 share_cnt 分享数 card_component_click_cnt 组件曝光数,即小风车组件在直播间内的展现次数+卡片组件在直播间内的展现次数+卡片组件在信息流中的展现次数 card_component_show_cnt 组件点击数,即观众在直播间内点击小风车组件+卡片组件的总次数 form_submit_cnt 直播间线索收集用户信息提交数,即线索收集转化目标中,用户在落地页内提交信息的次数 form_submit_ucnt 全场景线索人数 like_cnt 点赞数 chat_ucnt 私信人数 mp_component_click_cnt 小程序点击数 mp_component_enter_cnt 小程序进入数 mp_component_enter_ucnt 小程序进入人数 mp_component_clue_cnt 小程序留电数 hot_quota 总热度 reward_hot_quota 送礼热度 interaction_rate 直播互动率 enter_rate 曝光进入率(观看人数/曝光人数)
  • --account_relation_filter-account_relation_source: 矩阵账号归属类型来源: @required (required)
  • --with_account_item: 是否需要账号信息,默认为false。 为true时account_item不为空,会增加响应耗时
  • --filter_use_component: 是否挂载工具:0未挂载 1已挂载 为空时,表示不过滤,返回全部
  • --live_client_list: 直播客户端, 为空时表示不过滤, 多个值时取并集
  • --live_name: 直播名称
  • --live_end_at: 直播结束时间早于该值(格式:2006-01-02 15:04:05)
  • --with_begin_time: 是否只需要过滤有开播时间的直播, 默认为false 为false表示不过滤, 为true则只返回有开播时间的数据
  • --order_by_type: 排序顺序,可选值:ASC升序,DESC降序
  • --need_live_tag: 是否需要返回标签信息,默认为false
  • --duration_filter-max: 最高时长,单位秒
  • --vc_account_ids: 内核内部账号ID,若指定了vc_account_ids,则account_relation_filter无效
  • --duration_filter-min: 最低时长,单位秒
  • --pager-total_rows: 总行数
  • --with_live_account_relations: 是否需要直播的账号关联归属信息,默认为false。 为true时account_relations不为空,会增加响应耗时
  • --pager-page: 页码
  • --pager-page_size: 页数
  • --filter_use_mp_component: 是否挂载小程序:0未挂载 1已挂载 为空时,表示不过滤,返回全部
  • --live_data_source_list: 直播数据来源, 为空时表示不过滤, 多个值时取并集
  • --with_video_url: 是否只需要过滤有播放地址的直播, 默认为false 为false表示不过滤, 为true则只返回有播放地址的数据
  • --platform_type: 所属平台,
  • --with_account_relations: 是否需要账号最新的关联归属信息,默认为false。 为true时account_item.account_relations不为空,会增加响应耗时
  • --need_internal_video_url: 是否需要内部视频地址,影响返回的video_url地址字段 默认是false,返回公网地址 传true时,返回内网地址
  • --data: 传入 JSON 格式的完整参数

示例:

# 使用独立 flag
myy-cli video-core GetLiveList --account_relation_filter-relation_params-list=<string> --account_relation_filter-relation_params-op=<string> --account_relation_filter-account_relation_source=<string> [--need_internal_video_url=<string>] [--third_live_ids=<string>] [--out_account_ids=<string>] [--tag_filters=<string>] [--live_status=<string>] [--live_begin_at=<string>] [--order_by_field=<string>] [--with_account_item=<string>] [--filter_use_component=<string>] [--live_client_list=<string>] [--live_name=<string>] [--live_end_at=<string>] [--with_begin_time=<string>] [--order_by_type=<string>] [--need_live_tag=<string>] [--duration_filter-max=<string>] [--vc_account_ids=<string>] [--duration_filter-min=<string>] [--pager-total_rows=<string>] [--with_live_account_relations=<string>] [--pager-page=<string>] [--pager-page_size=<string>] [--filter_use_mp_component=<string>] [--live_data_source_list=<string>] [--with_video_url=<string>] [--platform_type=<string>] [--with_account_relations=<string>]
# 使用 --data 传入 JSON
myy-cli video-core GetLiveList --data='{
  "tag_filters": "<tag_filters>",
  "pager-page_size": "<page_size>",
  "live_begin_at": "<live_begin_at>",
  "account_relation_filter-account_relation_source": "<account_relation_source>",
  "live_end_at": "<live_end_at>",
  "with_live_account_relations": "<with_live_account_relations>",
  "account_relation_filter-relation_params-op": "<op>",
  "third_live_ids": "<third_live_ids>",
  "with_begin_time": "<with_begin_time>",
  "vc_account_ids": "<vc_account_ids>",
  "need_internal_video_url": "<need_internal_video_url>",
  "need_live_tag": "<need_live_tag>",
  "duration_filter-min": "<min>",
  "with_video_url": "<with_video_url>",
  "live_status": "<live_status>",
  "with_account_item": "<with_account_item>",
  "order_by_type": "<order_by_type>",
  "pager-page": "<page>",
  "platform_type": "<platform_type>",
  "with_account_relations": "<with_account_relations>",
  "out_account_ids": "<out_account_ids>",
  "account_relation_filter-relation_params-list": "<list>",
  "order_by_field": "<order_by_field>",
  "live_client_list": "<live_client_list>",
  "live_name": "<live_name>",
  "filter_use_mp_component": "<filter_use_mp_component>",
  "live_data_source_list": "<live_data_source_list>",
  "filter_use_component": "<filter_use_component>",
  "duration_filter-max": "<max>",
  "pager-total_rows": "<total_rows>"
}'

获取直播详情

用法:

myy-cli video-core GetLive [flags]

参数:

  • --need_live_tag: 是否需要返回标签信息,默认为false
  • --platform_type: 所属平台,
  • --third_live_id: 第三方外部直播ID
  • --live_info_id: 直播ID,live_info_id和(third_live_id&platform_type)二选一,优先使用live_info_id
  • --data: 传入 JSON 格式的完整参数

示例:

# 使用独立 flag
myy-cli video-core GetLive [--third_live_id=<string>] [--live_info_id=<string>] [--need_live_tag=<string>] [--platform_type=<string>]
# 使用 --data 传入 JSON
myy-cli video-core GetLive --data='{
  "third_live_id": "<third_live_id>",
  "live_info_id": "<live_info_id>",
  "need_live_tag": "<need_live_tag>",
  "platform_type": "<platform_type>"
}'

鹰眼实验室

鹰眼外部事件上报

用法:

myy-cli yysys outerevent-push [flags]

参数:

  • --user-user_id:
  • --user-user_name:
  • --user-user_type:
  • --user-yw_proj_id:
  • --user-org_code:
  • --user-user_phone:
  • --events:
  • --user-appid:
  • --user-unionid:
  • --data: 传入 JSON 格式的完整参数

示例:

# 使用独立 flag
myy-cli yysys outerevent-push [--user-org_code=<string>] [--user-user_phone=<string>] [--events=<string>] [--user-appid=<string>] [--user-unionid=<string>] [--user-user_id=<string>] [--user-user_name=<string>] [--user-user_type=<string>] [--user-yw_proj_id=<string>]
# 使用 --data 传入 JSON
myy-cli yysys outerevent-push --data='{
  "user-org_code": "<org_code>",
  "user-appid": "<appid>",
  "user-user_id": "<user_id>",
  "user-user_type": "<user_type>",
  "user-user_phone": "<user_phone>",
  "events": "<events>",
  "user-unionid": "<unionid>",
  "user-user_name": "<user_name>",
  "user-yw_proj_id": "<yw_proj_id>"
}'

渠道管家

渠道管家 CLI 接口

获取客户列表

获取客户列表

用法:

myy-cli qdgj get-cst-list [flags]

参数:

  • --begin_date:
  • --brokerage_state:
  • --clue_state:
  • --page: (required)
  • --project_id: 兼容 string 或 string[] 入参
  • --sort_type: 兼容 number 或 string 入参
  • --end_date:
  • --keyword:
  • --business_state:
  • --page_size: (required)
  • --token:
  • --data: 传入 JSON 格式的完整参数

示例:

# 使用独立 flag
myy-cli qdgj get-cst-list --page_size=<string> --page=<string> [--sort_type=<string>] [--end_date=<string>] [--keyword=<string>] [--business_state=<string>] [--token=<string>] [--begin_date=<string>] [--brokerage_state=<string>] [--clue_state=<string>] [--project_id=<string>]
# 使用 --data 传入 JSON
myy-cli qdgj get-cst-list --data='{
  "sort_type": "<sort_type>",
  "end_date": "<end_date>",
  "business_state": "<business_state>",
  "page_size": "<page_size>",
  "begin_date": "<begin_date>",
  "project_id": "<project_id>",
  "keyword": "<keyword>",
  "token": "<token>",
  "brokerage_state": "<brokerage_state>",
  "clue_state": "<clue_state>",
  "page": "<page>"
}'

获取我的数据

我的数据信息

用法:

myy-cli qdgj my-data [flags]

参数:

  • --token:
  • --data: 传入 JSON 格式的完整参数

示例:

# 使用独立 flag
myy-cli qdgj my-data [--token=<string>]
# 使用 --data 传入 JSON
myy-cli qdgj my-data --data='{
  "token": "<token>"
}'

获取今日统计

获取今日统计数据

用法:

myy-cli qdgj get-recommend-statistics [flags]

参数:

  • --project_id: 兼容 string 或 string[] 入参
  • --token:
  • --data: 传入 JSON 格式的完整参数

示例:

# 使用独立 flag
myy-cli qdgj get-recommend-statistics [--project_id=<string>] [--token=<string>]
# 使用 --data 传入 JSON
myy-cli qdgj get-recommend-statistics --data='{
  "project_id": "<project_id>",
  "token": "<token>"
}'

获取用户中心账号绑定的经纪人列表

获取用户中心账号绑定的经纪人列表

用法:

myy-cli qdgj get-binding-brokers [flags]

参数:

  • --third_party_id:
  • --data: 传入 JSON 格式的完整参数

示例:

# 使用独立 flag
myy-cli qdgj get-binding-brokers [--third_party_id=<string>]
# 使用 --data 传入 JSON
myy-cli qdgj get-binding-brokers --data='{
  "third_party_id": "<third_party_id>"
}'

云行销

云行销cli 命令集合

当日行销业绩统计

查询当前用户所属团队的当日行销业绩统计,包括报备、到访、认筹、认购、签约及回溯数据。

用法:

myy-cli marketing get-today-achievement [flags]

示例:

# 使用独立 flag
myy-cli marketing get-today-achievement

当日团队考勤情况

查询当前用户所属团队的当日考勤情况,统计已考勤人数、未考勤人数和未考勤成员姓名。

用法:

myy-cli marketing get-today-attendance [flags]

示例:

# 使用独立 flag
myy-cli marketing get-today-attendance

正在进行中的任务列表

查询当前用户所属团队的进行中任务列表,并补充每个任务的已拓客人数。

用法:

myy-cli marketing get-in-progress-tasks [flags]

示例:

# 使用独立 flag
myy-cli marketing get-in-progress-tasks

获取邀请专员链接

获取当前行销经理用于邀请专员加入团队的链接,并返回链接的 base64 编码。

用法:

myy-cli marketing get-invite-link [flags]

示例:

# 使用独立 flag
myy-cli marketing get-invite-link

流程中心待审批数

查询当前用户所属团队在流程中心的待审批总数。

用法:

myy-cli marketing get-pending-approval-count [flags]

示例:

# 使用独立 flag
myy-cli marketing get-pending-approval-count

移动销售

客户信息

获取案场机会客户信息标准信息

用法:

myy-cli ydxs opp [flags]

参数:

  • --opp_id: 机会ID

示例:

# 使用独立 flag
myy-cli ydxs opp [--opp_id=<string>]
# 使用 --data 传入 JSON
myy-cli ydxs opp --data='{
  "opp_id": "<opp_id>"
}'

跟进流水

获取机会跟进流水

用法:

myy-cli ydxs follow [flags]

参数:

  • --user_id: 顾问id
  • --time_end: 跟进结束时间,小于等于,格式:2022-11-25 12:34:56
  • --page_index: 分页页码 默认不分页
  • --page_size: 分页每页数量 默认不分页
  • --time_start: 跟进开始时间,大于等于,格式:2022-11-25 12:34:56
  • --filter_erp: 过滤反补数据 0 过滤(默认值) 1 不过滤
  • --opp_id: 机会id
  • --gjfs: 跟进方式 1 来访 2 来电 3 去电 (枚举值不固定具体查接口)
  • --sort_order: 跟进时间排序顺序 DESC 升序(默认值) ASC 降序
  • --data: 传入 JSON 格式的完整参数

示例:

# 使用独立 flag
myy-cli ydxs follow [--sort_order=<string>] [--user_id=<string>] [--time_end=<string>] [--page_index=<string>] [--page_size=<string>] [--time_start=<string>] [--filter_erp=<string>] [--opp_id=<string>] [--gjfs=<string>]
# 使用 --data 传入 JSON
myy-cli ydxs follow --data='{
  "sort_order": "<sort_order>",
  "user_id": "<user_id>",
  "time_end": "<time_end>",
  "page_index": "<page_index>",
  "page_size": "<page_size>",
  "time_start": "<time_start>",
  "filter_erp": "<filter_erp>",
  "opp_id": "<opp_id>",
  "gjfs": "<gjfs>"
}'

获取已选字段配置信息

移动销售-客户信息采集设置-已配置字段信息

用法:

myy-cli ydxs params [flags]

参数:

  • --paramCode: 页签,枚举值:new_customer_ld:来电跟进|new_customer_lf:来访跟进|new_customer_qd:去电跟进|new_customer_qt:其他跟进|wenxun_customer_info:问询客户|laifang_customer_info:来访客户|renchou_customer_info:认筹客户|rengou_customer_info:认购客户|qianyue_customer_info:签约客户;默认值:所有页签的集合 (required)
  • --projId: 项目ID @required (required)

示例:

# 使用独立 flag
myy-cli ydxs params --paramCode=<string> --projId=<string>
# 使用 --data 传入 JSON
myy-cli ydxs params --data='{
  "paramCode": "<paramCode>",
  "projId": "<projId>"
}'

批量获取客户信息

批量获取客户信息

用法:

myy-cli ydxs batch-opp [flags]

参数:

  • --opp_ids: 机会ID(最大只支持100个)
  • --project_id: 项目ID
  • --data: 传入 JSON 格式的完整参数

示例:

# 使用独立 flag
myy-cli ydxs batch-opp [--opp_ids=<string>] [--project_id=<string>]
# 使用 --data 传入 JSON
myy-cli ydxs batch-opp --data='{
  "opp_ids": "<opp_ids>",
  "project_id": "<project_id>"
}'

客户扩展信息

客户的扩展信息,非可以直接填写的数据,系统自行记录的信息

用法:

myy-cli ydxs opp-ext [flags]

参数:

  • --oppId: 机会ID (required)

示例:

# 使用独立 flag
myy-cli ydxs opp-ext --oppId=<string>
# 使用 --data 传入 JSON
myy-cli ydxs opp-ext --data='{
  "oppId": "<oppId>"
}'

批量获取机会ID

批量查询机会ID(历史数据)

用法:

myy-cli ydxs opp-ids [flags]

参数:

  • --project_id: 项目ID (required)
  • --user_id: 顾问ID
  • --page_index: 页码(默认1)
  • --page_size: 每页条数(默认10,最大值1000)

示例:

# 使用独立 flag
myy-cli ydxs opp-ids --project_id=<string> [--user_id=<string>] [--page_index=<string>] [--page_size=<string>]
# 使用 --data 传入 JSON
myy-cli ydxs opp-ids --data='{
  "user_id": "<user_id>",
  "page_index": "<page_index>",
  "page_size": "<page_size>",
  "project_id": "<project_id>"
}'

根据号码获取机会信息

根据号码和项目ID 获取机会ID

用法:

myy-cli ydxs opp-by-mobile [flags]

参数:

  • --mobile: 客户号码 @required (required)
  • --project_id: 项目ID @required (required)

示例:

# 使用独立 flag
myy-cli ydxs opp-by-mobile --mobile=<string> --project_id=<string>
# 使用 --data 传入 JSON
myy-cli ydxs opp-by-mobile --data='{
  "mobile": "<mobile>",
  "project_id": "<project_id>"
}'

业务平台

获取租户所有授权项目

项目中心-获取租户所有授权项目

用法:

myy-cli ywpt GetAllAuthProject [flags]

参数:

  • --app_code: @required 应用code @inject_tag: validate:"required" comment:"应用code" (required)
  • --subject_id: 运营主体ID (与载体ID必须二选一)
  • --payload_id: 载体ID(小程序,公众号)
  • --payload_type: 1:小程序 2:公众号 3:抖音小程序(填了载体ID,请务必选择载体类型)
  • --is_sort: 是否按照项目中心后台项目排序

示例:

# 使用独立 flag
myy-cli ywpt GetAllAuthProject --app_code=<string> [--subject_id=<string>] [--payload_id=<string>] [--payload_type=<string>] [--is_sort=<string>]
# 使用 --data 传入 JSON
myy-cli ywpt GetAllAuthProject --data='{
  "is_sort": "<is_sort>",
  "app_code": "<app_code>",
  "subject_id": "<subject_id>",
  "payload_id": "<payload_id>",
  "payload_type": "<payload_type>"
}'

获取租户所有项目

获取租户所有项目

用法:

myy-cli ywpt GetAllProject [flags]

参数:

  • --pager.page: 页码
  • --pager.page_size: 页数
  • --pager.total_rows: 总行数
  • --project_name: 项目名称
  • --region.province_name: 省名称 @required @inject_tag: validate:"required" comment:"省份" (required)
  • --region.city_name: 城市名称
  • --region.area_name: 区域信息
  • --sort: 排序枚举(1:创建时间升序,2:创建时间降序)

示例:

# 使用独立 flag
myy-cli ywpt GetAllProject --region.province_name=<string> [--pager.page=<string>] [--pager.page_size=<string>] [--pager.total_rows=<string>] [--project_name=<string>] [--region.city_name=<string>] [--region.area_name=<string>] [--sort=<string>]
# 使用 --data 传入 JSON
myy-cli ywpt GetAllProject --data='{
  "sort": "<sort>",
  "pager.page": "<pager.page>",
  "pager.page_size": "<pager.page_size>",
  "pager.total_rows": "<pager.total_rows>",
  "project_name": "<project_name>",
  "region.province_name": "<region.province_name>",
  "region.city_name": "<region.city_name>",
  "region.area_name": "<region.area_name>"
}'

获取项目列表

获取项目列表(只读库)

用法:

myy-cli ywpt ListProjectsInfo [flags]

参数:

  • --subject_id: 运营主体 (与载体ID必须二选一)
  • --area_ids: 区域IDs
  • --sale_status: 项目销售状态(1.待售,2.在售,3.售罄,4.非售,5.未知)
  • --sort: 排序枚举(1:创建时间升序,2:创建时间降序,3:项目最低价升序,4:项目最低价降序,5:按项目中心项目排序值排序,6:项目名称升序, 7:项目名称降序, 8:项目热度降序)
  • --bedroom_num_ids: 户型居室(1:一居室 2:二居室 3:三居室 4:四居室 5:五居室 6:五居室以上)
  • --app_id: 应用id 与 appCode(应用code) 等同 @required (required)
  • --total_price_intervals: 户型总价区间
  • --new_manage_attributes: 项目经营属性(1.可租 2.可售 3.可租可售) @inject_tag: validate:"max=3,dive,oneof=1 2 3"
  • --city_id: 城市IDs
  • --payload_type: 1:小程序 2:公众号 3:抖音小程序(填了载体ID,请务必选择载体类型)
  • --unit_price_intervals: 项目单价区间
  • --pager-page: 页码
  • --pager-total_rows: 总行数
  • --project_id: 项目IDs
  • --is_forbidden_dispense: 是否禁用接口中项目分发控制,用来获取不分发的项目 true: 禁用 false: 不禁用
  • --total_price_mode: 户型总价区间计算模式 0:默认,1:在默认按(户型均价建筑面积)的基础上如果填了户型最高,最低价区间,优先只按最高最低价进行匹配,没填的情况下则按(户型均价建筑面积)进行匹配 @inject_tag: validate:"oneof=0 1"
  • --manage_attributes: 项目经营属性(1.可租 2.可售 3.可租可售) [不推荐使用,为了兼容保留] @inject_tag: validate:"max=50,dive,oneof=1 2 3 可租 可售 可租可售"
  • --payload_id: 小程序 id 或者 公众号 id
  • --province_id: 省份ID
  • --subway_line_names: 地铁线名称,传入该参数是请传入城市city_id 保障检索准确
  • --product_category_ids: 产品类型字典id(最多50个) @inject_tag: validate:"max=50"
  • --build_area_interval_ids: 户型建筑面积id(1:50㎡以下 2:50-70㎡ 3:70-90㎡ 4:90-110㎡ 5:110-130㎡ 6:130-150㎡ 7:150-200㎡ 8:200㎡以上)
  • --key_word: 关键词(项目名称)
  • --pager-page_size: 页数
  • --data: 传入 JSON 格式的完整参数

示例:

# 使用独立 flag
myy-cli ywpt ListProjectsInfo --app_id=<string> [--province_id=<string>] [--subway_line_names=<string>] [--product_category_ids=<string>] [--build_area_interval_ids=<string>] [--key_word=<string>] [--pager-page_size=<string>] [--subject_id=<string>] [--area_ids=<string>] [--sale_status=<string>] [--sort=<string>] [--bedroom_num_ids=<string>] [--total_price_intervals=<string>] [--new_manage_attributes=<string>] [--city_id=<string>] [--payload_type=<string>] [--unit_price_intervals=<string>] [--pager-page=<string>] [--pager-total_rows=<string>] [--project_id=<string>] [--is_forbidden_dispense=<string>] [--total_price_mode=<string>] [--manage_attributes=<string>] [--payload_id=<string>]
# 使用 --data 传入 JSON
myy-cli ywpt ListProjectsInfo --data='{
  "area_ids": "<area_ids>",
  "app_id": "<app_id>",
  "pager-page": "<page>",
  "is_forbidden_dispense": "<is_forbidden_dispense>",
  "total_price_mode": "<total_price_mode>",
  "manage_attributes": "<manage_attributes>",
  "province_id": "<province_id>",
  "product_category_ids": "<product_category_ids>",
  "sort": "<sort>",
  "payload_type": "<payload_type>",
  "unit_price_intervals": "<unit_price_intervals>",
  "pager-total_rows": "<total_rows>",
  "key_word": "<key_word>",
  "new_manage_attributes": "<new_manage_attributes>",
  "payload_id": "<payload_id>",
  "build_area_interval_ids": "<build_area_interval_ids>",
  "pager-page_size": "<page_size>",
  "subject_id": "<subject_id>",
  "sale_status": "<sale_status>",
  "bedroom_num_ids": "<bedroom_num_ids>",
  "total_price_intervals": "<total_price_intervals>",
  "city_id": "<city_id>",
  "project_id": "<project_id>",
  "subway_line_names": "<subway_line_names>"
}'

按经纬度获取项目列表

按经纬度获取项目列表

用法:

myy-cli ywpt ListProjectsByLocation [flags]

参数:

  • --pager.page: 页码
  • --pager.page_size: 页数
  • --pager.total_rows: 总行数
  • --app_id: 应用id @required (required)
  • --subject_id: 运营主体 @required (required)
  • --payload_id: 小程序 id 或者 公众号 id
  • --payload_type: 1:小程序 2:公众号 3:抖音小程序(填了载体ID,请务必选择载体类型)
  • --latitude: 纬度(百度BD-09、非百度需要转换)
  • --longitude: 经度(百度BD-09、非百度需要转换)
  • --radius: 半径/米(返回该半径内的项目,如果为0则不过滤超出该半径的项目)
  • --sort: 排序枚举(1:创建时间升序,2:创建时间降序,3:项目最低价升序,4:项目最低价降序,5:按项目中心项目排序值排序)
  • --manage_attributes: 项目经营属性(1.可租 2.可售 3.可租可售) @inject_tag: validate:"max=3,dive,oneof=1 2 3"

示例:

# 使用独立 flag
myy-cli ywpt ListProjectsByLocation --app_id=<string> --subject_id=<string> [--pager.page=<string>] [--pager.page_size=<string>] [--pager.total_rows=<string>] [--payload_id=<string>] [--payload_type=<string>] [--latitude=<string>] [--longitude=<string>] [--radius=<string>] [--sort=<string>] [--manage_attributes=<string>]
# 使用 --data 传入 JSON
myy-cli ywpt ListProjectsByLocation --data='{
  "payload_type": "<payload_type>",
  "latitude": "<latitude>",
  "longitude": "<longitude>",
  "subject_id": "<subject_id>",
  "radius": "<radius>",
  "sort": "<sort>",
  "manage_attributes": "<manage_attributes>",
  "pager.page": "<pager.page>",
  "pager.page_size": "<pager.page_size>",
  "pager.total_rows": "<pager.total_rows>",
  "app_id": "<app_id>",
  "payload_id": "<payload_id>"
}'

获取项目基本信息

获取项目基本信息(只读库)

用法:

myy-cli ywpt ListProjectInfos [flags]

参数:

  • --project_id: 项目ids @required (required)
  • --subject_id: 运营主体ID (与载体ID必须二选一)
  • --app_code: 应用code
  • --manage_attributes: 项目经营属性(1.可租 2.可售 3.可租可售) @inject_tag: validate:"max=3,dive,oneof=1 2 3" comment:"项目经营属性"
  • --payload_id: 载体ID(小程序,公众号)
  • --payload_type: 1:小程序 2:公众号 3:抖音小程序(填了载体ID,请务必选择载体类型)
  • --data: 传入 JSON 格式的完整参数

示例:

# 使用独立 flag
myy-cli ywpt ListProjectInfos --project_id=<string> [--payload_type=<string>] [--subject_id=<string>] [--app_code=<string>] [--manage_attributes=<string>] [--payload_id=<string>]
# 使用 --data 传入 JSON
myy-cli ywpt ListProjectInfos --data='{
  "project_id": "<project_id>",
  "subject_id": "<subject_id>",
  "app_code": "<app_code>",
  "manage_attributes": "<manage_attributes>",
  "payload_id": "<payload_id>",
  "payload_type": "<payload_type>"
}'

活动中心 - 管理后台

查询活动载体列表

查询活动载体列表。(活动需要在指定的载体下运行,产品一般代指某些应用、WEB项目、产品)

用法:

myy-cli activity-admin carriers [flags]

参数:

  • --yk_wx_token: 运营主体id (required)

示例:

# 使用独立 flag
myy-cli activity-admin carriers --yk_wx_token=<string>
# 使用 --data 传入 JSON
myy-cli activity-admin carriers --data='{
  "yk_wx_token": "<yk_wx_token>"
}'

生成活动访问二维码

生成指定活动的访问二维码

用法:

myy-cli activity-admin generate-activity-qrcode [flags]

参数:

  • --activity_id: (required)
  • --data: 传入 JSON 格式的完整参数

示例:

# 使用独立 flag
myy-cli activity-admin generate-activity-qrcode --activity_id=<string>
# 使用 --data 传入 JSON
myy-cli activity-admin generate-activity-qrcode --data='{
  "activity_id": "<activity_id>"
}'

查询组织树

查询指定union_app的组织树

用法:

myy-cli activity-admin organization-tree [flags]

参数:

  • --union_app: 应用类型
  • --subject_id: 运营主体id

示例:

# 使用独立 flag
myy-cli activity-admin organization-tree [--union_app=<string>] [--subject_id=<string>]
# 使用 --data 传入 JSON
myy-cli activity-admin organization-tree --data='{
  "union_app": "<union_app>",
  "subject_id": "<subject_id>"
}'

查询活动列表

根据指定条件查询活动列表

用法:

myy-cli activity-admin activities [flags]

参数:

  • --state: 活动状态:1.待发布,2.未开始,3.进行中,4.已结束,5.已下架 6 已删除 7 已作废
  • --exclude_default_tmpl_id: 默认排除模板
  • --union_app_param: 应用载体相关参数 (required)
  • --union_app_param_organization: 应用组织架构
  • --scheme_type: 活动方案类型:[0.全部],1.抽奖,2.投票,3拼团,4.助力,5.红包,6.礼品方案(优惠券),7.商品方案(优惠券),8.报名,9.签到,10.游戏方案,11.秒杀,...
  • --union_app: 应用载体类型:1.AI云店,2.全民营销 (required)
  • --name: 活动名称
  • --pager-total_rows: 总行数
  • --pager-page: 页码
  • --pager-page_size: 页数
  • --platform_type: 平台标签(非通用)( 1 微信(默认) 2 抖音 3 企业微信)
  • --data: 传入 JSON 格式的完整参数

示例:

# 使用独立 flag
myy-cli activity-admin activities --union_app_param=<string> --union_app=<string> [--pager-page_size=<string>] [--platform_type=<string>] [--state=<string>] [--exclude_default_tmpl_id=<string>] [--union_app_param_organization=<string>] [--scheme_type=<string>] [--name=<string>] [--pager-total_rows=<string>] [--pager-page=<string>]
# 使用 --data 传入 JSON
myy-cli activity-admin activities --data='{
  "pager-page_size": "<page_size>",
  "platform_type": "<platform_type>",
  "exclude_default_tmpl_id": "<exclude_default_tmpl_id>",
  "union_app_param": "<union_app_param>",
  "scheme_type": "<scheme_type>",
  "state": "<state>",
  "union_app_param_organization": "<union_app_param_organization>",
  "union_app": "<union_app>",
  "name": "<name>",
  "pager-total_rows": "<total_rows>",
  "pager-page": "<page>"
}'

AI云店 - 管理后台

查询集团客户列表

按指定的时间段查询集团级的客户列表

用法:

myy-cli aistore-admin customers [flags]

参数:

  • --pager-page_size: 每一页的长度
  • --phone_num: 手机号码
  • --start_time: 开始时间(秒级时间戳),建议传递某一天的0秒
  • --end_time: 结束时间,秒级时间戳,建议传递某一天的最后一秒
  • --filter_type: 是否收集购房意向: 1(已收集) 2(未收集)
  • --pager-page: 页码
  • --data: 传入 JSON 格式的完整参数

示例:

# 使用独立 flag
myy-cli aistore-admin customers [--filter_type=<string>] [--pager-page=<string>] [--pager-page_size=<string>] [--phone_num=<string>] [--start_time=<string>] [--end_time=<string>]
# 使用 --data 传入 JSON
myy-cli aistore-admin customers --data='{
  "start_time": "<start_time>",
  "end_time": "<end_time>",
  "filter_type": "<filter_type>",
  "pager-page": "<page>",
  "pager-page_size": "<page_size>",
  "phone_num": "<phone_num>"
}'

查询小程序的楼盘项目列表

查询当前账户授权的楼盘项目列表,可用于其他接口的筛选条件

用法:

myy-cli aistore-admin authorized-projects [flags]

参数:

  • --publish_status: 发布状态,2: 已发布(务必携带,避免获取无效的项目) (required)

示例:

# 使用独立 flag
myy-cli aistore-admin authorized-projects --publish_status=<string>
# 使用 --data 传入 JSON
myy-cli aistore-admin authorized-projects --data='{
  "publish_status": "<publish_status>"
}'

查询楼盘项目的客户列表

查询指定时间段内某个项目楼盘的客户列表

用法:

myy-cli aistore-admin project-customers [flags]

参数:

  • --filter_type: 是否已经收集购房意向,1已收集 2未收集
  • --pager-page_size: 每一页的大小
  • --pager-page: 页码
  • --phone_num: 手机号
  • --project_ids: 项目id列表,只需要填写一个 (required)
  • --start_time: 开始时间(秒级时间戳),建议使用某一天的0秒
  • --end_time: 结束时间(秒级时间宠),建议使用某一天的最后1秒
  • --data: 传入 JSON 格式的完整参数

示例:

# 使用独立 flag
myy-cli aistore-admin project-customers --project_ids=<string> [--start_time=<string>] [--end_time=<string>] [--filter_type=<string>] [--pager-page_size=<string>] [--pager-page=<string>] [--phone_num=<string>]
# 使用 --data 传入 JSON
myy-cli aistore-admin project-customers --data='{
  "pager-page": "<page>",
  "phone_num": "<phone_num>",
  "project_ids": "<project_ids>",
  "start_time": "<start_time>",
  "end_time": "<end_time>",
  "filter_type": "<filter_type>",
  "pager-page_size": "<page_size>"
}'

云会员 - 管理后台

云会员管理后台

查询会员列表

根据指定的运营主体与指定条件查询会员列表

用法:

myy-cli vip-admin vip-members [flags]

参数:

  • --yk_token: 运营主体id
  • --page: 页码
  • --page_size: 页码大小
  • --membership_id: 会籍id,多个会籍id用","隔开 (required)
  • --data_limits: 数据范围: 0表示全部、1表示只看有会籍、2表示只看无会籍
  • --mobile_verified: 会员激活状态:0表示全部、1表示已激活、2表示未激活

示例:

# 使用独立 flag
myy-cli vip-admin vip-members --membership_id=<string> [--yk_token=<string>] [--page=<string>] [--page_size=<string>] [--data_limits=<string>] [--mobile_verified=<string>]
# 使用 --data 传入 JSON
myy-cli vip-admin vip-members --data='{
  "page": "<page>",
  "page_size": "<page_size>",
  "membership_id": "<membership_id>",
  "data_limits": "<data_limits>",
  "mobile_verified": "<mobile_verified>",
  "yk_token": "<yk_token>"
}'

查询会籍列表

查询指定运营主体下的会籍列表

用法:

myy-cli vip-admin memberships [flags]

参数:

  • --yk_token: 运营主体id

示例:

# 使用独立 flag
myy-cli vip-admin memberships [--yk_token=<string>]
# 使用 --data 传入 JSON
myy-cli vip-admin memberships --data='{
  "yk_token": "<yk_token>"
}'

查询会员明细

查询会员的明细信息

用法:

myy-cli vip-admin member-detail [flags]

参数:

  • --yk_token: 运营主体id (required)
  • --member_id: 会员id (required)

示例:

# 使用独立 flag
myy-cli vip-admin member-detail --yk_token=<string> --member_id=<string>
# 使用 --data 传入 JSON
myy-cli vip-admin member-detail --data='{
  "yk_token": "<yk_token>",
  "member_id": "<member_id>"
}'

客服验房

客服验房命令

获取用户项目列表

获取客服有权限的项目列表

用法:

myy-cli kfyf get-user-project [flags]

示例:

# 使用独立 flag
myy-cli kfyf get-user-project

获取移动客服任务类型列表

获取移动客服任务类型列表

用法:

myy-cli kfyf get-task-type [flags]

示例:

# 使用独立 flag
myy-cli kfyf get-task-type

获取移动客服任务详情接口

获取移动客服任务详情接口

用法:

myy-cli kfyf get-task-detail [flags]

参数:

  • --task_id: 移动客服任务 ID(必填) (required)

示例:

# 使用独立 flag
myy-cli kfyf get-task-detail --task_id=<string>
# 使用 --data 传入 JSON
myy-cli kfyf get-task-detail --data='{
  "task_id": "<task_id>"
}'

获取移动客服当前用户的任务列表接口

获取移动客服当前用户的任务列表接口

用法:

myy-cli kfyf get-task-list [flags]

参数:

  • --page: 当前页码,从1开始
  • --pageSize: 每页记录数

示例:

# 使用独立 flag
myy-cli kfyf get-task-list [--page=<string>] [--pageSize=<string>]
# 使用 --data 传入 JSON
myy-cli kfyf get-task-list --data='{
  "page": "<page>",
  "pageSize": "<pageSize>"
}'

获取项目房产列表

获取项目房产列表

用法:

myy-cli kfyf get-room-list [flags]

示例:

# 使用独立 flag
myy-cli kfyf get-room-list

获取用户批次列表

获取用户批次列表

用法:

myy-cli kfyf get-engineer-batch-list [flags]

参数:

  • --o: 租户编码。与 header 参数 orgcode 二选一,至少提供一个。
  • --project_id: 项目ID (required)
  • --user_id: 用户ID(工程师ID)。与 header 参数 user-id 二选一,至少提供一个。

示例:

# 使用独立 flag
myy-cli kfyf get-engineer-batch-list --project_id=<string> [--o=<string>] [--user_id=<string>]
# 使用 --data 传入 JSON
myy-cli kfyf get-engineer-batch-list --data='{
  "o": "<o>",
  "project_id": "<project_id>",
  "user_id": "<user_id>"
}'

获取用户检查的批次单元列表

获取用户检查的批次单元列表

用法:

myy-cli kfyf get-engineer-batch-unit-list [flags]

参数:

  • --o: 租户编码。与 header 参数 orgcode 二选一,至少提供一个。
  • --batch_id: 批次ID。不传则自动查询该用户在当前项目下所有可见批次。
  • --project_id: 项目ID (required)
  • --user_id: 用户ID(工程师ID)。与 header 参数 user-id 二选一,至少提供一个。

示例:

# 使用独立 flag
myy-cli kfyf get-engineer-batch-unit-list --project_id=<string> [--o=<string>] [--batch_id=<string>] [--user_id=<string>]
# 使用 --data 传入 JSON
myy-cli kfyf get-engineer-batch-unit-list --data='{
  "o": "<o>",
  "batch_id": "<batch_id>",
  "project_id": "<project_id>",
  "user_id": "<user_id>"
}'

获取用户批次单元对应的问题列表

获取用户批次单元对应的问题列表

用法:

myy-cli kfyf get-engineer-problem-list [flags]

参数:

  • --o: 租户编码。与 header 参数 orgcode 二选一,至少提供一个。
  • --batch_unit_id: 批次单元ID (required)
  • --user_id: 用户ID(工程师ID)。与 header 参数 user-id 二选一,至少提供一个。
  • --page: 页码,定义在 SsoBaseQueryModel,默认 1。
  • --pageSize: 每页数量,定义在 SsoBaseQueryModel,默认 10。

示例:

# 使用独立 flag
myy-cli kfyf get-engineer-problem-list --batch_unit_id=<string> [--o=<string>] [--user_id=<string>] [--page=<string>] [--pageSize=<string>]
# 使用 --data 传入 JSON
myy-cli kfyf get-engineer-problem-list --data='{
  "o": "<o>",
  "batch_unit_id": "<batch_unit_id>",
  "user_id": "<user_id>",
  "page": "<page>",
  "pageSize": "<pageSize>"
}'

视频营销助手-运营数据分析

多平台数据分析

用法:

myy-cli opa multidata [flags]

参数:

  • --begin_date: 统计起始时间
  • --end_date: 统计结束时间
  • --data: 传入 JSON 格式的完整参数

示例:

# 使用独立 flag
myy-cli opa multidata [--begin_date=<string>] [--end_date=<string>]
# 使用 --data 传入 JSON
myy-cli opa multidata --data='{
  "end_date": "<end_date>",
  "begin_date": "<begin_date>"
}'

业绩排名

用法:

myy-cli opa ranking [flags]

参数:

  • --relation_filter.business_type: 1-ydxs 2-yxx 3-anchor @required (required)
  • --relation_filter.vcore_acc_ids: 帐号ids
  • --relation_filter.acc_ids: account_id(若vcore_acc_ids为空会转成vcore_acc_ids,如果vcore_acc_ids不为空默认只用vcore_acc_ids)
  • --org_ids: 组织ID
  • --project_ids: 项目ID
  • --relation_is: 置业顾问ID
  • --begin_date: 开始日期
  • --end_date: 结束日期
  • --order_by: 排序字段 枚举值如下:
  • --order_type: [1=新增作品数][2=总粉丝数][3=新增留电数][4=留电后到访次数][5=留电后签约笔数][6=留电后签约金额][7=视频(笔记)新增观看数] [8-新客新增留电][9-视频新增留电][10-直播新增留电][11-私信新增留电] [12-期内到访次数][13-期内认购笔数][14-期内签约笔数][15-留电后认购笔数] [16-新增粉丝数][17-直播观看人数][18-大于1分钟观看人次][19-新增直播场次]

升序1 降序2

  • --group_by: 分组类型 1组织 2项目 3顾问 4抖音账号
  • --pager.page: 页码
  • --pager.page_size: 页数
  • --pager.total_rows: 总行数
  • --bluev_ids: 蓝v账号id
  • --yxx_org_ids: 云行销组织ID
  • --yxx_project_ids: 云行销项目id
  • --yxx_saler_ids: 云行销专员id
  • --yxx_bluev_ids: 云行销蓝v账号id
  • --platform_type:
  • --business_type: 业务类型 1移动销售 2云行销
  • --vc_account_ids: 内核账号ID

示例:

# 使用独立 flag
myy-cli opa ranking --relation_filter.business_type=<string> [--relation_filter.vcore_acc_ids=<string>] [--relation_filter.acc_ids=<string>] [--org_ids=<string>] [--project_ids=<string>] [--relation_is=<string>] [--begin_date=<string>] [--end_date=<string>] [--order_by=<string>] [--order_type=<string>] [--group_by=<string>] [--pager.page=<string>] [--pager.page_size=<string>] [--pager.total_rows=<string>] [--bluev_ids=<string>] [--yxx_org_ids=<string>] [--yxx_project_ids=<string>] [--yxx_saler_ids=<string>] [--yxx_bluev_ids=<string>] [--platform_type=<string>] [--business_type=<string>] [--vc_account_ids=<string>]
# 使用 --data 传入 JSON
myy-cli opa ranking --data='{
  "group_by": "<group_by>",
  "relation_filter.business_type": "<relation_filter.business_type>",
  "relation_filter.vcore_acc_ids": "<relation_filter.vcore_acc_ids>",
  "order_by": "<order_by>",
  "order_type": "<order_type>",
  "yxx_org_ids": "<yxx_org_ids>",
  "yxx_saler_ids": "<yxx_saler_ids>",
  "business_type": "<business_type>",
  "relation_is": "<relation_is>",
  "yxx_project_ids": "<yxx_project_ids>",
  "vc_account_ids": "<vc_account_ids>",
  "pager.page": "<pager.page>",
  "pager.page_size": "<pager.page_size>",
  "pager.total_rows": "<pager.total_rows>",
  "relation_filter.acc_ids": "<relation_filter.acc_ids>",
  "org_ids": "<org_ids>",
  "begin_date": "<begin_date>",
  "end_date": "<end_date>",
  "yxx_bluev_ids": "<yxx_bluev_ids>",
  "project_ids": "<project_ids>",
  "bluev_ids": "<bluev_ids>",
  "platform_type": "<platform_type>"
}'

AI销售

查询账号列表

查询AI销售员的账号信息

用法:

myy-cli ai-sale query-account-list [flags]

参数:

  • --account_type: 账号类型 0 企业号 1 员工号 2 员工授权号 3 个人号 不传查全部类型
  • --belong_type: 归属类型 1 销售归属 2 行销售归属 -1查全部
  • --is_disabled: 是否禁用 1:禁用 2:未禁用
  • --is_expired: 是否过期 0 全部 1:过期 2:未过期
  • --node_id: 组织Id
  • --platform: @required 所属平台;1:抖音 2、快手 3、小红书 (required)
  • --search_is_exchange: 是否兑换过 0 全部 1:兑换过 2:未兑换过
  • --account_name: 账号名称 支持模糊搜索
  • --data: 传入 JSON 格式的完整参数

示例:

# 使用独立 flag
myy-cli ai-sale query-account-list --platform=<string> [--is_disabled=<string>] [--is_expired=<string>] [--node_id=<string>] [--search_is_exchange=<string>] [--account_name=<string>] [--account_type=<string>] [--belong_type=<string>]
# 使用 --data 传入 JSON
myy-cli ai-sale query-account-list --data='{
  "search_is_exchange": "<search_is_exchange>",
  "account_name": "<account_name>",
  "account_type": "<account_type>",
  "belong_type": "<belong_type>",
  "is_disabled": "<is_disabled>",
  "is_expired": "<is_expired>",
  "node_id": "<node_id>",
  "platform": "<platform>"
}'

获取触达计划动作规则列表

获取触达计划动作规则列表

用法:

myy-cli ai-sale list-reach-plan-action-rule [flags]

参数:

  • --account_id:

示例:

# 使用独立 flag
myy-cli ai-sale list-reach-plan-action-rule [--account_id=<string>]
# 使用 --data 传入 JSON
myy-cli ai-sale list-reach-plan-action-rule --data='{
  "account_id": "<account_id>"
}'

查询客服账号列表

查询客服账号列表

用法:

myy-cli ai-sale query-kefu-account [flags]

参数:

  • --belong_type: 归属类型 1 销售归属 2 行销售归属 不传默认查销售归属
  • --pager: (required)
  • --platform: 平台:1-抖音,2-快手,3-小红书 (required)
  • --status: 启用客服状态:0-全部,1-未启用,2-启用
  • --account_ids: 账号ID列表
  • --account_name: 账号名称
  • --belong_node_id: 归属节点
  • --belong_node_type: 归属节点类型:0为公司,1为部门,2为团队 3为区域 4=项目
  • --data: 传入 JSON 格式的完整参数

示例:

# 使用独立 flag
myy-cli ai-sale query-kefu-account --pager=<string> --platform=<string> [--belong_type=<string>] [--status=<string>] [--account_ids=<string>] [--account_name=<string>] [--belong_node_id=<string>] [--belong_node_type=<string>]
# 使用 --data 传入 JSON
myy-cli ai-sale query-kefu-account --data='{
  "belong_type": "<belong_type>",
  "pager": "<pager>",
  "platform": "<platform>",
  "status": "<status>",
  "account_ids": "<account_ids>",
  "account_name": "<account_name>",
  "belong_node_id": "<belong_node_id>",
  "belong_node_type": "<belong_node_type>"
}'

获取工作时间配置列表

获取客服的工作时间配置列表

用法:

myy-cli ai-sale get-work-time-config-list [flags]

参数:

  • --account_id:
  • --data: 传入 JSON 格式的完整参数

示例:

# 使用独立 flag
myy-cli ai-sale get-work-time-config-list [--account_id=<string>]
# 使用 --data 传入 JSON
myy-cli ai-sale get-work-time-config-list --data='{
  "account_id": "<account_id>"
}'

获取AI辅助优质接待配置

获取AI辅助优质接待配置

用法:

myy-cli ai-sale get-reception-config [flags]

参数:

  • --account_id: 账号id
  • --data: 传入 JSON 格式的完整参数

示例:

# 使用独立 flag
myy-cli ai-sale get-reception-config [--account_id=<string>]
# 使用 --data 传入 JSON
myy-cli ai-sale get-reception-config --data='{
  "account_id": "<account_id>"
}'

获取客服基础配置信息

获取客服基础配置信息

用法:

myy-cli ai-sale get-ke-fu-base-config [flags]

参数:

  • --account_id: 账号ID (required)

示例:

# 使用独立 flag
myy-cli ai-sale get-ke-fu-base-config --account_id=<string>
# 使用 --data 传入 JSON
myy-cli ai-sale get-ke-fu-base-config --data='{
  "account_id": "<account_id>"
}'

获取知识库(汽车/房产/中介)

获取客服基础配置信息

用法:

myy-cli ai-sale get-knowledge-info [flags]

参数:

  • --account_id: 账号 (required)

示例:

# 使用独立 flag
myy-cli ai-sale get-knowledge-info --account_id=<string>
# 使用 --data 传入 JSON
myy-cli ai-sale get-knowledge-info --data='{
  "account_id": "<account_id>"
}'

获取组织结构树

获取组织结构树

用法:

myy-cli ai-sale get-all-project-tree [flags]

示例:

# 使用独立 flag
myy-cli ai-sale get-all-project-tree

创意工场

项目列表

获取当前用户有权限的项目列表

用法:

myy-cli creative-workshop projects [flags]

参数:

  • --data: 传入 JSON 格式的完整参数

示例:

# 使用独立 flag
myy-cli creative-workshop projects

获取省心成片配置列表

获取省心成片配置列表

用法:

myy-cli creative-workshop list-convenient-clip-config [flags]

参数:

  • --name: 配置名称模糊搜索
  • --need_material: 是否只返回有素材的配置
  • --pager:
  • --project_id: 项目id (required)
  • --data: 传入 JSON 格式的完整参数

示例:

# 使用独立 flag
myy-cli creative-workshop list-convenient-clip-config --project_id=<string> [--name=<string>] [--need_material=<string>] [--pager=<string>]
# 使用 --data 传入 JSON
myy-cli creative-workshop list-convenient-clip-config --data='{
  "project_id": "<project_id>",
  "name": "<name>",
  "need_material": "<need_material>",
  "pager": "<pager>"
}'

发起省心成片任务

发起省心成片任务

用法:

myy-cli creative-workshop add-convenient-clip [flags]

参数:

  • --conf_ids: 成片配置数组 (required)
  • --name: 任务名称 (required)
  • --project_id: 项目id (required)
  • --quantity: 成片数量 (required)
  • --data: 传入 JSON 格式的完整参数

示例:

# 使用独立 flag
myy-cli creative-workshop add-convenient-clip --conf_ids=<string> --name=<string> --project_id=<string> --quantity=<string>
# 使用 --data 传入 JSON
myy-cli creative-workshop add-convenient-clip --data='{
  "conf_ids": "<conf_ids>",
  "name": "<name>",
  "project_id": "<project_id>",
  "quantity": "<quantity>"
}'

查询成片任务结果

查询成片任务结果

用法:

myy-cli creative-workshop get-mixed-task-result [flags]

参数:

  • --id: 成片主任务id (required)
  • --data: 传入 JSON 格式的完整参数

示例:

# 使用独立 flag
myy-cli creative-workshop get-mixed-task-result --id=<string>
# 使用 --data 传入 JSON
myy-cli creative-workshop get-mixed-task-result --data='{
  "id": "<id>"
}'

获取素材列表

获取素材列表

用法:

myy-cli creative-workshop list-material [flags]

参数:

  • --package_id: 所属素材包ID,为空时-表示顶级目录
  • --pager:
  • --project_id: 所属项目id (required)
  • --type: 类型:video|image|text|audio
  • --keyword: 模糊搜索关键字(标签)
  • --data: 传入 JSON 格式的完整参数

示例:

# 使用独立 flag
myy-cli creative-workshop list-material --project_id=<string> [--package_id=<string>] [--pager=<string>] [--type=<string>] [--keyword=<string>]
# 使用 --data 传入 JSON
myy-cli creative-workshop list-material --data='{
  "package_id": "<package_id>",
  "pager": "<pager>",
  "project_id": "<project_id>",
  "type": "<type>",
  "keyword": "<keyword>"
}'

新增视频切片任务

新增视频切片任务

用法:

myy-cli creative-workshop add-slice-task [flags]

参数:

  • --bgm_config-ap_bgm_types: 系统级背景音乐类型列表
  • --bgm_config-bgm_material_ids: 租户级背景音乐素材id列表
  • --material_end_time: 素材剪辑结束时间(毫秒),为空时默认为结束时间
  • --material_id: 素材ID (required)
  • --bgm_config-volume: 音量范围0-200%
  • --slice_duration_min: 切片最小时长(秒) (required)
  • --prompt_template_id: 提示词模板ID (required)
  • --lang: 方言类型 0-普通话 1-英语 2-中英混合 3-四川话+普通话 4-粤语+普通话 等等 (required)
  • --bgm_config-share_state: 共享状态 1未共享 2已共享(只有模板成片用到)
  • --material_start_time: 素材剪辑开始时间(毫秒) (required)
  • --is_hide_subtitle: 是否隐藏字幕 0:否 1:是
  • --slice_duration_max: 切片最大时长(秒) (required)
  • --name: 任务名称 (required)
  • --subject_keywords: 主题关键词,仅当类型为通用行业时需要填写
  • --add_bgm: 是否添加背景音乐 1-添加 2-不添加
  • --beginning_material_package_ids: 开头素材库ids
  • --cover_template_ids: 封面模板ids
  • --ending_material_package_ids: 结尾素材库ids
  • --data: 传入 JSON 格式的完整参数

示例:

# 使用独立 flag
myy-cli creative-workshop add-slice-task --material_id=<string> --slice_duration_min=<string> --prompt_template_id=<string> --lang=<string> --material_start_time=<string> --slice_duration_max=<string> --name=<string> [--subject_keywords=<string>] [--add_bgm=<string>] [--beginning_material_package_ids=<string>] [--cover_template_ids=<string>] [--ending_material_package_ids=<string>] [--bgm_config-ap_bgm_types=<string>] [--bgm_config-bgm_material_ids=<string>] [--material_end_time=<string>] [--bgm_config-volume=<string>] [--bgm_config-share_state=<string>] [--is_hide_subtitle=<string>]
# 使用 --data 传入 JSON
myy-cli creative-workshop add-slice-task --data='{
  "material_start_time": "<material_start_time>",
  "cover_template_ids": "<cover_template_ids>",
  "bgm_config-bgm_material_ids": "<bgm_material_ids>",
  "bgm_config-share_state": "<share_state>",
  "beginning_material_package_ids": "<beginning_material_package_ids>",
  "ending_material_package_ids": "<ending_material_package_ids>",
  "material_id": "<material_id>",
  "bgm_config-volume": "<volume>",
  "prompt_template_id": "<prompt_template_id>",
  "lang": "<lang>",
  "slice_duration_max": "<slice_duration_max>",
  "subject_keywords": "<subject_keywords>",
  "material_end_time": "<material_end_time>",
  "slice_duration_min": "<slice_duration_min>",
  "is_hide_subtitle": "<is_hide_subtitle>",
  "name": "<name>",
  "add_bgm": "<add_bgm>",
  "bgm_config-ap_bgm_types": "<ap_bgm_types>"
}'

查询切片任务结果

查询切片任务结果

用法:

myy-cli creative-workshop get-slice-task-result [flags]

参数:

  • --id: 主任务ID (required)
  • --data: 传入 JSON 格式的完整参数

示例:

# 使用独立 flag
myy-cli creative-workshop get-slice-task-result --id=<string>
# 使用 --data 传入 JSON
myy-cli creative-workshop get-slice-task-result --data='{
  "id": "<id>"
}'

获取提示词应用列表

获取提示词应用列表

用法:

myy-cli creative-workshop list-creation-app [flags]

参数:

  • --app_type: 应用分组 切片-slice (required)
  • --pager-page:
  • --pager-page_size:
  • --data: 传入 JSON 格式的完整参数

示例:

# 使用独立 flag
myy-cli creative-workshop list-creation-app --app_type=<string> [--pager-page=<string>] [--pager-page_size=<string>]
# 使用 --data 传入 JSON
myy-cli creative-workshop list-creation-app --data='{
  "app_type": "<app_type>",
  "pager-page": "<page>",
  "pager-page_size": "<page_size>"
}'

瑞士军刀

辅助Agent处理一些通用事项

处理时间范围

辅助处理查询时间范围的相关逻辑

用法:

myy-cli agent-sak time-range-parse [flags]

参数:

  • --endDate: 指定查询范围的最后时间,用于逆推开始时间,不填默认为当前时间。例如:"2026-03-29"
  • --range: 指定查询范围,以ms库定义的格式为准,具体定义 https://raw.githubusercontent.com/vercel/ms/8b5923d1d86c84a9f6aba8022d416dcf2361aa8d/src/index.ts (required)
  • --userTimezone: 用户所在时区,例如 Asia/Shanghai (required)
  • --data: 传入 JSON 格式的完整参数

示例:

# 使用独立 flag
myy-cli agent-sak time-range-parse --range=<string> --userTimezone=<string> [--endDate=<string>]
# 使用 --data 传入 JSON
myy-cli agent-sak time-range-parse --data='{
  "range": "<range>",
  "userTimezone": "<userTimezone>",
  "endDate": "<endDate>"
}'