上传单个证书时也可以选择所属用户

This commit is contained in:
GoEdgeLab
2023-03-26 12:24:31 +08:00
parent 4934088f6a
commit 86abd50c94

View File

@@ -25,6 +25,11 @@ func (this *SSLCertService) CreateSSLCert(ctx context.Context, req *pb.CreateSSL
return nil, err
}
// 用户ID
if adminId > 0 && req.UserId > 0 {
userId = req.UserId
}
var tx = this.NullTx()
if req.TimeBeginAt < 0 {