MrShi
8 小时以前 9eeb62c02a7b3c7b95c20678b6a9c74e7f12f943
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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";
}