- 天阙会生活商户平台(mch-web.tianquetech.com)扫码交易记录导出:账密登录(图形验证码 OCR + AES 密码加密,token 按账号缓存复用)→ 平台导出接口生成 xlsx → 下载中心取文件直存本地 - 支持两套账号串行导出(第 2 套可留空),日期区间界面可选,产物按商户名区分
90 lines
3.0 KiB
JSON
90 lines
3.0 KiB
JSON
{
|
|
"schema_version": 1,
|
|
"id": "xq0079",
|
|
"name": "金色湖畔扫码数据导出",
|
|
"version": "1.1.4",
|
|
"description": "天阙会生活商户平台(mch-web.tianquetech.com)扫码交易记录接口化导出:账密自动登录(图形验证码 OCR + AES 密码加密,token 按账号缓存复用)→ 平台导出接口生成 xlsx → 下载中心取文件直存本地;支持两套账号串行导出(第 2 套可留空),日期区间可在界面选择(默认昨天 00:00:00 ~ 今天 23:59:59),产物按商户名区分。",
|
|
"category": "财务",
|
|
"icon": "",
|
|
"platform": "",
|
|
"uses_month": false,
|
|
"ui": true,
|
|
"capabilities": [
|
|
"xq0079"
|
|
],
|
|
"permissions": {
|
|
"platforms": []
|
|
},
|
|
"fields": {
|
|
"type": "object",
|
|
"properties": {
|
|
"tq_account1": {
|
|
"type": "string",
|
|
"title": "账号一",
|
|
"default": "",
|
|
"description": "天阙商户平台登录账号(手机号/商户编号)"
|
|
},
|
|
"tq_password1": {
|
|
"type": "string",
|
|
"title": "密码一",
|
|
"default": "",
|
|
"format": "password",
|
|
"description": "账号一密码,仅保存在本机配置(%LOCALAPPDATA%\\37duAutomation\\plugin_configs),下次免填"
|
|
},
|
|
"tq_account2": {
|
|
"type": "string",
|
|
"title": "账号二",
|
|
"default": "",
|
|
"description": "第二个账号,留空则只导出账号一"
|
|
},
|
|
"tq_password2": {
|
|
"type": "string",
|
|
"title": "密码二",
|
|
"default": "",
|
|
"format": "password",
|
|
"description": "账号二密码,仅保存在本机配置"
|
|
},
|
|
"login_mode": {
|
|
"type": "string",
|
|
"title": "登录方式",
|
|
"default": "自动",
|
|
"enum": [
|
|
"自动",
|
|
"人工登录"
|
|
],
|
|
"description": "自动=接口登录(图形验证码 OCR,静默不弹浏览器);人工登录=弹出浏览器并预填账号密码,人工输入验证码并点登录(验证码识别不准时用这项,不消耗接口登录重试次数)"
|
|
},
|
|
"date_from": {
|
|
"type": "string",
|
|
"format": "date",
|
|
"title": "开始日期",
|
|
"default": "",
|
|
"description": "yyyy-MM-dd;留空=昨天"
|
|
},
|
|
"date_to": {
|
|
"type": "string",
|
|
"format": "date",
|
|
"title": "结束日期",
|
|
"default": "",
|
|
"description": "yyyy-MM-dd;留空=今天"
|
|
},
|
|
"save_dir": {
|
|
"type": "string",
|
|
"title": "保存目录",
|
|
"default": "D:\\资料\\财务\\金色湖畔扫码数据导出",
|
|
"description": "导出的 xlsx 统一输出目录,文件名为 商户名_交易记录_起止日期.xlsx"
|
|
},
|
|
"debug_mode": {
|
|
"type": "boolean",
|
|
"title": "调试日志",
|
|
"default": false,
|
|
"description": "开启后输出完整调试日志(默认关闭)"
|
|
}
|
|
},
|
|
"required": [
|
|
"tq_account1",
|
|
"tq_password1"
|
|
]
|
|
}
|
|
}
|