fix(blockchain): 修复 MPC 签名 API 路径
mpc-service 使用全局前缀 api/v1,调整签名 API 路径: - /mpc/sign → /api/v1/mpc/sign - /mpc/sign/:sessionId/status → /api/v1/mpc/sign/:sessionId/status 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
71e805b1fd
commit
9b3f33ea42
|
|
@ -86,7 +86,7 @@ export class MpcSigningClient {
|
||||||
sessionId: string;
|
sessionId: string;
|
||||||
status: string;
|
status: string;
|
||||||
}>(
|
}>(
|
||||||
`${this.mpcServiceUrl}/mpc/sign`,
|
`${this.mpcServiceUrl}/api/v1/mpc/sign`,
|
||||||
{
|
{
|
||||||
username: this.hotWalletUsername,
|
username: this.hotWalletUsername,
|
||||||
messageHash,
|
messageHash,
|
||||||
|
|
@ -115,7 +115,7 @@ export class MpcSigningClient {
|
||||||
status: string;
|
status: string;
|
||||||
signature?: string;
|
signature?: string;
|
||||||
}>(
|
}>(
|
||||||
`${this.mpcServiceUrl}/mpc/sign/${sessionId}/status`,
|
`${this.mpcServiceUrl}/api/v1/mpc/sign/${sessionId}/status`,
|
||||||
{
|
{
|
||||||
headers: { 'Content-Type': 'application/json' },
|
headers: { 'Content-Type': 'application/json' },
|
||||||
timeout: 10000,
|
timeout: 10000,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue