[Bug] Lecdn v4 部署错误
Author: YeqingkyCreated Sep 19, 2026Updated Sep 19, 2026
Labelsbug
Release Version / 软件版本
v0.4.33
Description / 缺陷描述
- 认证方式判断分支错误 apikey
- 证书需要base64编码
https://wdk0pwf8ul.feishu.cn/wiki/YE1XwCRIHiLYeKkPupgcXrlgnDd
src/views/certificate/components/cert_form_drawer.vue:208
- api路由错误
https://wdk0pwf8ul.feishu.cn/wiki/Gu1pwp5IPitkRIk5c0EcAfMandb
见/prod-api/auth/login 前端使用方案
前台走 /prod-api/login,后台走 /prod-api/auth/login;登录成功后统一把 token 放到 Authorization 请求头。Steps to reproduce / 复现步骤
问题1 使用apikey部署
[2026-09-19 11:05:00]
could not deploy certificate
[2026-09-19 11:05:00]
failed to initialize deployment provider 'lecdn': could not create client: sdkerr: unset apiKey or username/password问题2 证书需要base64编码
[2026-09-19 13:16:26]
could not deploy certificate
[2026-09-19 13:16:26]
failed to execute sdk request 'UpdateCertificate': sdkerr: api error: code='400', message='请求参数错误: 证书必须是一个有效的Base64字符串'问题3 api路由错误
客户用户+账号密码
[2026-09-19 11:04:36]
could not deploy certificate
[2026-09-19 11:04:36]
failed to execute sdk request 'UpdateCertificate': sdkerr: unexpected status code: 404 (resp: {"code":404,"message":"404 Not Found","data":null})Logs / 日志
No response
Miscellaneous / 其他
No response
Contribution / 贡献代码
- I am interested in contributing a PR for this! / 我乐意为此提交代码并发起 PR!
Source: certimate-go/certimate