package com.doumee.core.douyin.dto;
|
|
import com.alibaba.fastjson.annotation.JSONField;
|
import lombok.Data;
|
|
/**
|
* 「生成 client_token」入参
|
* POST https://open.douyin.com/oauth/client_token/
|
*
|
* @author rk
|
* @date 2026/06/22
|
*/
|
@Data
|
public class DouyinClientTokenReq {
|
|
/** 服务商/应用 client_key(抖音开放平台颁发) */
|
@JSONField(name = "client_key")
|
private String clientKey;
|
|
/** 服务商/应用 client_secret(抖音开放平台颁发,需妥善保管) */
|
@JSONField(name = "client_secret")
|
private String clientSecret;
|
|
/** 固定值 client_credential */
|
@JSONField(name = "grant_type")
|
private String grantType = "client_credential";
|
}
|