trustbase-seller-backend 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/routes/agent-serviceprovider.js +1 -1
- package/routes/onboard.html +1 -1
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* agent-serviceprovider.js — AI Agent 服务商路由 (C5)
|
|
4
4
|
*
|
|
5
|
-
*
|
|
5
|
+
* 契约方(历史): ShopXO trustbasechain 插件 ServiceProviderService.php (pi 2026-09-20; ShopXO 已于 2026-09-22 下架, 该插件契约已废弃, 本路由保留给通用服务商对接),
|
|
6
6
|
* 字段以插件源码为准, 不可改:
|
|
7
7
|
* POST /api/agent/serviceprovider/register {provider, wechat_mchid, stake, name}
|
|
8
8
|
* POST /api/agent/serviceprovider/submit-fact {provider, order_ref, psp_txn_id, amount, evidence_hash}
|
package/routes/onboard.html
CHANGED
|
@@ -178,7 +178,7 @@ img.auprev{display:none;width:100%;max-height:140px;object-fit:cover;border-radi
|
|
|
178
178
|
<div class="body">② 备份店铺安全卡
|
|
179
179
|
<div class="desc">安全卡 = 店铺的全部资产钥匙。丢了它且电脑坏了,谁也找不回 (服务商也不行)。请抄写或打印收好。</div>
|
|
180
180
|
<div class="ops"><button class="sbtn" onclick="reprintKey()">重新打印安全卡</button><button class="sbtn" onclick="var h=document.getElementById('hint-recover');h.style.display=h.style.display==='block'?'none':'block'">如何恢复店铺</button><button class="sbtn primary" onclick="startBackupVerify()">我已抄好, 验证备份</button></div>
|
|
181
|
-
<div class="hintbox" id="hint-reprint">出于安全,24 个安全词只在生成时在本页展示一次。<br>重新打印请在你的电脑上运行: <code>npx
|
|
181
|
+
<div class="hintbox" id="hint-reprint">出于安全,24 个安全词只在生成时在本页展示一次。<br>重新打印请在你的电脑上运行: <code>npx trustbase-shop-init print-key</code></div>
|
|
182
182
|
<div class="hintbox" id="hint-recover">丢了/换电脑,在新机器的入驻页恢复店铺,两种方式:<br>① 扫码: 用手机相机扫安全卡上的二维码,屏幕上会显示 24 个安全词;<br>② 手填: 把安全卡上的 24 个安全词按顺序填到下面。<br>
|
|
183
183
|
<textarea id="restore-words" rows="3" placeholder="24 个安全词, 按顺序, 空格分隔" style="width:100%;margin-top:8px;padding:10px 12px;border:1px solid #D4CDBF;border-radius:8px;font-size:14px"></textarea>
|
|
184
184
|
<button class="sbtn primary" style="margin-top:6px" onclick="restoreIdentity()">恢复店铺</button>
|