Files
37duAutomation/plugins/XQ0001-0100/XQ0042 抖音平台核对/plugin.json
T
puddy f2b6f7ab31 feat(xq0042): 推荐字段剔除出单宝/AIGC 4 列,版本升至 0.9.2
- 出单宝托管服务费/费率、平台费用抵扣、AIGC 服务费 台账不取,推荐字段(preset)不再勾选:后端 PRESET_EXCLUDE_KEYS 剔除,自定义勾选仍可选

- 前后端字段目录与界面文案同步,推荐列数 76 → 72;版本号与打包产物 0.9.2(已在测试通道发布,未转正)
2026-11-06 15:40:54 +08:00

140 lines
5.8 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"schema_version": 1,
"id": "xq0042",
"name": "抖音平台核对",
"version": "0.9.2",
"description": "抖音来客(life.douyin.com)数据自动导出:打开官方页面人工登录(含验证码/滑块),按日期区间导出核销明细(字段可选平台默认字段或自定义勾选,自定义会写入该账号的导出字段设置)与提现记录,轮询生成完成后下载到本机目录;导出记录超过保留阈值自动删最早的(阈值可在界面改);核销明细按「核销时间」增量并入台账「抖音到账统计YYYY.M月.xlsx」的「金色印象--抖音」sheet,A 与 BT~CA 公式列自动下拉;并按 A 列日期把「抖音到账核对」整行同源取数公式([n]资金组取数!$B$xx,实测 O/P/R/S)的链接换成当天那份共享总表。",
"category": "财务",
"icon": "",
"platform": "",
"uses_month": false,
"runTimeoutSeconds": 0,
"ui": true,
"capabilities": [
"xq0042"
],
"permissions": {
"platforms": []
},
"fields": {
"type": "object",
"properties": {
"date_from": {
"type": "string",
"title": "核销时间-开始日期",
"default": "",
"description": "YYYY-MM-DD;留空=昨天"
},
"date_to": {
"type": "string",
"title": "核销时间-结束日期",
"default": "",
"description": "YYYY-MM-DD;留空=今天"
},
"withdraw_from": {
"type": "string",
"title": "提现时间-开始日期",
"default": "",
"description": "YYYY-MM-DD;留空=昨天"
},
"withdraw_to": {
"type": "string",
"title": "提现时间-结束日期",
"default": "",
"description": "YYYY-MM-DD;留空=今天"
},
"export_verify": {
"type": "boolean",
"title": "导出核销明细",
"default": true,
"description": "履约管理订单列表 → 核销明细(按核销时间区间)"
},
"export_withdraw": {
"type": "boolean",
"title": "导出提现记录",
"default": true,
"description": "财务 → 导出记录 → 余额提现记录(资金账户交易提现记录)"
},
"export_field_mode": {
"type": "string",
"title": "核销明细-导出字段",
"default": "preset",
"enum": [
"preset",
"default",
"custom"
],
"description": "preset=推荐字段(平台默认列 + 台账列:核销门店省份/核销人昵称/核销人ID/保险费用,已剔除出单宝托管服务费/费率、平台费用抵扣、AIGC 服务费);default=平台默认字段(会缺上述台账 4 列);custom=按 export_fields 自定义勾选。preset/custom 会写入该账号的导出字段设置"
},
"export_fields": {
"type": "array",
"title": "自定义导出字段(field_key)",
"default": [],
"items": {
"type": "string"
},
"description": "仅 export_field_mode=custom 生效;系统默认字段与台账必需列(核销时间、订单编号)会自动补上"
},
"run_mode": {
"type": "string",
"title": "执行模式",
"default": "full",
"enum": [
"full",
"export_only"
],
"description": "full=含写表(只导金色印象,导出后并台账 + 补核对表取数);export_only=仅导出(金色印象 + 金色湖畔各导一份,不写表,湖畔文件名带「金色湖畔_」前缀)"
},
"record_limit_verify": {
"type": "integer",
"title": "核销明细-导出记录保留条数",
"default": 60,
"description": "导出前查记录,超过该条数就删最早的、只留最新 N 条;核销明细暂无平台 30 条限制,默认 60"
},
"record_limit_withdraw": {
"type": "integer",
"title": "提现记录-导出记录保留条数",
"default": 25,
"description": "导出前查记录,超过该条数就删最早的、只留最新 N 条;平台硬上限 30,默认 25 留余量"
},
"save_dir": {
"type": "string",
"title": "保存目录",
"default": "",
"description": "留空=D:\\资料\\财务\\抖音平台核对"
},
"run_merge": {
"type": "boolean",
"title": "并入台账(金色印象--抖音)",
"default": true,
"description": "核销明细按「核销时间」增量并入台账金色印象--抖音 sheet,A 与 BT~CA 公式列自动下拉(CC 列不写)"
},
"run_stat_links": {
"type": "boolean",
"title": "补核对表同源取数公式",
"default": true,
"description": "扫「抖音到账核对」整行所有 [n]资金组取数!$B$xx 公式(实测 O/P/R/S),按 A 列日期把 [n] 换成当天那份共享总表(\\\\caiwu01\\...\\马敏团购总表M.D.xlsx);已是目标链接的单元格保留不动"
},
"dry_run": {
"type": "boolean",
"title": "只统计不写入(演练)",
"default": false,
"description": "只输出将追加的行数与起止行号,不修改台账文件"
},
"force_login": {
"type": "boolean",
"title": "强制重新登录",
"default": false,
"description": "忽略浏览器里残留的登录态,直接等人工重新登录(换账号/排查登录问题时用)"
},
"debug_mode": {
"type": "boolean",
"title": "调试日志",
"default": false,
"description": "输出完整调试日志(含页面跳转轨迹,默认关闭)"
}
},
"required": []
}
}