diff --git a/soul-api/internal/handler/ckb.go b/soul-api/internal/handler/ckb.go index 4797e88f..e0c66d2e 100644 --- a/soul-api/internal/handler/ckb.go +++ b/soul-api/internal/handler/ckb.go @@ -150,7 +150,8 @@ func CKBJoin(c *gin.Context) { raw, _ := json.Marshal(params) resp, err := http.Post(ckbAPIURL, "application/json", bytes.NewReader(raw)) if err != nil { - c.JSON(http.StatusInternalServerError, gin.H{"success": false, "message": "服务器错误,请稍后重试"}) + fmt.Printf("[CKBJoin] CKB 请求失败: %v (match_records 已写入)\n", err) + c.JSON(http.StatusOK, gin.H{"success": true, "message": "已提交(存客宝暂不可达,稍后自动重试)"}) return } defer resp.Body.Close()