修改cf使用authToken的方式申请证书,修复因前后端cf名称不一致导致的指针错误

This commit is contained in:
wsczx
2023-05-04 19:08:40 +08:00
parent fd5ec7f86a
commit fe9b84ce98
3 changed files with 10 additions and 18 deletions

View File

@@ -115,9 +115,8 @@ func addInitData() error {
SecretKey string `json:"secretKey"`
}{SecretID: "", SecretKey: ""},
CfCloud: struct {
AuthEmail string `json:"authEmail"`
AuthKey string `json:"authKey"`
}{AuthEmail: "", AuthKey: ""}},
AuthToken string `json:"authToken"`
}{AuthToken: ""}},
}
err = SettingSessAdd(sess, provider)
if err != nil {