shuzhi-open
数秦开放平台统一接口封装,支持区块链API服务、自动化取证、保管单组件、电子签章
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/alex098929/shuzhi-openshuzhi-open
数秦开放平台统一接口封装,支持区块链API服务、自动化取证、保管单组件、电子签章。
⚠️ 重要原则:所有不确定的信息必须询问用户,禁止自动填充!
本 skill 涉及法律效力文件(保管单、电子合同等),所有字段必须:
- ✅ 由用户明确提供
- ✅ 来源可追溯
- ✅ 格式已确认
禁止行为:
- ❌ 自动填充任何未确认的字段
- ❌ 假设字段的计算方式(如 evidenceHash)
- ❌ 猜测模板的字段定义
配置
编辑 config.json,填入你的凭证和产品标识:
{
"baseUrl": "接口地址",
"appKey": "你的 appKey",
"appSecret": "你的 appSecret",
"products": {
"chain": {
"endpoints": {
"upload": { "productId": "上链产品标识" },
"queryResult": { "productId": "查询结果产品标识" }
}
},
"evidence": { "productId": "自动化取证产品标识" },
"certificate": { "productId": "保管单产品标识" },
"sign": { "productId": "电子签章产品标识" }
}
}
⚠️ 注意:
appKey和appSecret由数秦开放平台提供- 区块链API服务的每个接口都有独立的产品标识,需要分别配置
用法
区块链API服务
支持数据上链存证,支持 tritium 和 conflux 两条链。
数据上链
node scripts/chain/upload.js --data "业务数据"
带可选参数上链
node scripts/chain/upload.js --data '{"ano":"BQ123","sha256":"xxx"}' --business EVIDENCE_PRESERVATION --source BQ_INTERNATIONAL
批量查询上链结果
node scripts/chain/query.js --index "交易索引"
查询多个交易
node scripts/chain/query.js --index "索引1,索引2,索引3"
自动化取证
支持拼多多、淘宝、抖音、公众号取证。
⚠️ 重要:所有不确定的信息必须询问用户!
取证类型:
1- 拼多多电商取证3- 淘宝电商取证4- 抖音电商取证12- 公众号取证
🌟 推荐:交互式取证(会询问所有必要信息)
node scripts/evidence/create-task-interactive.js
创建取证任务(命令行)
node scripts/evidence/create-task.js --batch-id "批次ID" --url "https://..." --type 1 --att-id "保全号"
📋 自动化取证流程(交互式)
核心原则:所有不确定的信息必须询问用户!
Step 1: 询问取证类型
📋 请选择取证类型:
| 序号 | 类型 | 说明 |
|------|------|------|
| 1 | 拼多多电商取证 | 商品详情页、店铺信息等 |
| 3 | 淘宝电商取证 | 商品详情页、店铺信息等 |
| 4 | 抖音电商取证 | 商品详情页、店铺信息等 |
| 12 | 公众号取证 | 公众号文章内容 |
请输入序号或类型代码:
Step 2: 询问取证信息
❓ 请提供以下信息:
取证类型: [已选择]
取证信息:
取证URL: [填写网页地址]
批次ID: [填写]
保全号: [填写]
取证名称: [可选,直接回车跳过]
可选参数:
是否取证营业执照: [yes/no]
示例回复:
取证类型: 拼多多电商取证
取证信息:
取证URL: https://mobile.yangkeduo.com/goods.html?goods_id=xxx
批次ID: batch-001
保全号: att-001
取证名称: 测试取证
可选参数:
是否取证营业执照: no
Step 3: 确认信息
📝 确认信息
取证类型: 拼多多电商取证
取证信息:
取证URL: https://mobile.yangkeduo.com/goods.html?goods_id=xxx
批次ID: batch-001
保全号: att-001
取证名称: 测试取证
可选参数:
是否取证营业执照: 否
确认创建取证任务?(yes/no)
Step 4: 执行并返回结果
确认后执行:
1. 创建取证任务
2. 返回任务状态
3.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-alex098929-shuzhi-open": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
feishu-notify
This skill should be used when users need to send notifications to Feishu (Lark) via webhook. It supports multiple message types including text, rich text, interactive cards, and images. Users must configure webhook URLs in ~/.openclaw/skills/feishu-notify/config.json before using this skill.
shuzhi-weather
This skill should be used when users need to query weather information via the Shuzhi Weather API with HMAC-SHA256 authentication. It provides hourly weather forecasts based on latitude and longitude coordinates. Users must configure app_key and app_secret in ~/.openclaw/skills/shuzhi-weather/config.json before using this skill.
weather-forecast
This skill should be used when users ask about weather forecasts, temperature information, or need to retrieve weather data for specific locations. It provides access to the Open-Meteo weather API for getting hourly temperature forecasts based on latitude and longitude coordinates.