change sdk

This commit is contained in:
李子铭 2024-10-23 15:45:51 +08:00
parent 83c54628dd
commit a241f05370
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ func GetCert(mchCertPath, rootCertPath, PublicKeyPath, appId string) (*CertConfi
} }
c := getCertConfig(appId) c := getCertConfig(appId)
if c != nil { if c != nil {
return nil, fmt.Errorf("appId %s already exists", appId) return c, nil
} }
mchCertSN, err := getMchCertSN(mchCertPath) mchCertSN, err := getMchCertSN(mchCertPath)
if err != nil { if err != nil {