mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-06 10:00:24 +08:00
上传单个证书时也可以选择所属用户
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user