获取客户端临时Key
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
package com.vetti.common.core.domain.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* openAi 客户端密钥返回结构
|
||||
*
|
||||
* @author wangxiangshun
|
||||
* @date 2025-10-29
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class RealtimeClientSecretDto {
|
||||
|
||||
|
||||
@ApiModelProperty("生成的客户端密钥")
|
||||
private String clientSecret;
|
||||
|
||||
@ApiModelProperty("过期时间(Unix 时间戳,秒")
|
||||
private long expiresAt;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user