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

This commit is contained in:
刘祥超
2023-03-26 12:24:31 +08:00
parent 4806025f89
commit 3a3b5bca20

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 {