feat: 接入天河链存证接口

This commit is contained in:
Nixevol
2026-07-06 18:25:55 +08:00
parent 3efc1ecd88
commit 07114b759d
26 changed files with 412 additions and 236 deletions
+23 -6
View File
@@ -152,7 +152,10 @@
"3014": "Batch not found",
"3015": "Artwork file has business data and cannot be deleted"
},
"lang": { "zh": "Simplified Chinese", "en": "English" }
"lang": {
"zh": "Simplified Chinese",
"en": "English"
}
},
"menu": {
"dashboard": "Dashboard",
@@ -354,8 +357,8 @@
"import": "Batch Import",
"outTime": "Outbound Time",
"outImage": "Outbound Photo",
"onchainSection": "On-chain info (optional; filling a hash records the result)",
"txHashTip": "Paste the on-chain transaction/attestation hash",
"onchainSection": "On-chain Info",
"txHashTip": "Written automatically from the blockchain API response",
"moreOnchainInfo": "More On-chain Info",
"saveRecord": "Save Record",
"saveAndTriggerOnchain": "Save & Trigger On-chain",
@@ -365,7 +368,7 @@
"successCount": "Success",
"failCount": "Failed",
"downloadResult": "Download Details",
"tip": "Download the template first, fill it in and upload (xlsx). Includes outbound photo, on-chain hash/time/block height.",
"tip": "Download the template ZIP, fill it in, and upload. On-chain results are recorded automatically from the blockchain API response.",
"downloadZipTemplate": "Download Template ZIP",
"uploadZipPreview": "Upload & Preview",
"totalRows": "Rows",
@@ -390,7 +393,8 @@
"IMPORTED": "Imported",
"FAILED": "Failed",
"EXPIRED": "Expired"
}
},
"onchainAutoTip": "On-chain hash, attestation link, and on-chain time are written automatically from the configured blockchain API response."
},
"blockchain": {
"title": "Blockchain Attestation",
@@ -441,7 +445,20 @@
"scheduleOff": "Off",
"scheduleDaily": "Daily",
"scheduleWeekly": "Weekly",
"saved": "Settings saved"
"saved": "Settings saved",
"blockchainSettings": "Blockchain Attestation",
"blockchainDriver": "Attestation Driver",
"blockchainDriverMock": "Mock",
"blockchainDriverTianhe": "Tianhe Chain",
"tianheEnv": "Tianhe Environment",
"tianheEnvTest": "Test",
"tianheEnvProduction": "Production",
"tianheEnvCustom": "Custom",
"tianheBaseUrl": "API URL",
"tianheAppId": "App ID",
"tianheAppKey": "App Key",
"tianheUserId": "User ID",
"tianheUserKey": "User Key"
},
"profile": {
"title": "Personal Info",
+23 -6
View File
@@ -152,7 +152,10 @@
"3014": "批次不存在",
"3015": "艺术品档案已有业务数据,无法删除"
},
"lang": { "zh": "简体中文", "en": "English" }
"lang": {
"zh": "简体中文",
"en": "English"
}
},
"menu": {
"dashboard": "数据看板",
@@ -354,8 +357,8 @@
"import": "批量导入",
"outTime": "出库时间",
"outImage": "出库实况图",
"onchainSection": "上链信息(选填,填写哈希即登记上链结果)",
"txHashTip": "粘贴链上交易/存证哈希",
"onchainSection": "上链信息",
"txHashTip": "由区块链接口返回后自动写入",
"moreOnchainInfo": "更多上链信息",
"saveRecord": "保存登记",
"saveAndTriggerOnchain": "保存并触发上链",
@@ -365,7 +368,7 @@
"successCount": "成功",
"failCount": "失败",
"downloadResult": "下载结果明细",
"tip": "请先下载模板,按模板填写后上传(支持 xlsx)。模板含出库实况图、上链哈希/时间/区块高度等字段。",
"tip": "下载模板 ZIP 后按说明填写并上传;链上结果由区块链接口返回后自动记录。",
"downloadZipTemplate": "下载模板包",
"uploadZipPreview": "上传并预览",
"totalRows": "总行数",
@@ -390,7 +393,8 @@
"IMPORTED": "已导入",
"FAILED": "失败",
"EXPIRED": "已过期"
}
},
"onchainAutoTip": "链上哈希、存证链接、上链时间由当前配置的区块链接口返回后自动写入。"
},
"blockchain": {
"title": "区块链存证",
@@ -441,7 +445,20 @@
"scheduleOff": "关闭",
"scheduleDaily": "每天",
"scheduleWeekly": "每周",
"saved": "设置已保存"
"saved": "设置已保存",
"blockchainSettings": "区块链存证",
"blockchainDriver": "存证驱动",
"blockchainDriverMock": "模拟存证",
"blockchainDriverTianhe": "天河链",
"tianheEnv": "天河链环境",
"tianheEnvTest": "测试环境",
"tianheEnvProduction": "正式环境",
"tianheEnvCustom": "自定义",
"tianheBaseUrl": "接口地址",
"tianheAppId": "App ID",
"tianheAppKey": "App Key",
"tianheUserId": "User ID",
"tianheUserKey": "User Key"
},
"profile": {
"title": "个人信息",