配置初始化时增加context参数

This commit is contained in:
刘祥超
2023-03-18 22:12:22 +08:00
parent 081be04592
commit 05bee642e9
12 changed files with 15 additions and 15 deletions

View File

@@ -85,7 +85,7 @@ func (this *UploadPopupAction) RunPost(params struct {
CertData: certData,
KeyData: keyData,
}
err := certConfig.Init()
err := certConfig.Init(nil)
if err != nil {
if params.IsCA {
this.Fail("证书校验错误:" + err.Error())