#560·AiToEarn

6.11 私有化部署后进行频道授权失败

Author: dev-junxiCreated Jun 11, 2026Updated Jul 20, 2026
Labelsbug

Self Checks

  • I have read the Contributing Guide.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I can provide the report in English if needed to help more contributors participate in the discussion.
  • Please do not modify this template :) and fill in all the required fields.

Aitoearn version

v2.4.0

Please select your platform

Mac

Steps to reproduce

Image

curl -s "https://aitoearn.cn/api/plat/douyin/auth/url?spaceId=test&callbackUrl=http%3A%2F%2Flocalhost%3A8080%2Fapi%2Fplat%2Frelay-callback&callbackMethod=POST"
-H "x-api-key: ak_******" 返回 {"code":404,"message":"Cannot GET /plat/douyin/auth/url..."} 而 /api/health 正常,说明是路由缺失而非服务宕机

步骤指引:我的频道-链接新频道-抖音 已配置RELAY_API_KEY(中国)

✔️ Expected Behavior

频道授权成功

❌ Actual Behavior

频道授权失败