package com.rf.psychological.douyin.config;

import lombok.Data;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @Description:抖音相关配置参数
 * @Author: mimang
 * @Date: 2023/8/15
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "douyin")
@ConditionalOnProperty(prefix="douyin",name = "isDouYin", havingValue = "true")
public class DouYinConfig {

    private String appid;

    private String appName;

    private String secret;

    private String sessionUrl;

    private String tokenUrl;

    private String codeUrl;

    private String notifyUrl;

    private String createOrderUrl;

    private String queryOrderUrl;

    private String pushOrderUrl;
}
