package com.slodon.bbc.starter.thirdParty.constant;

/**
 * 三方常量
 */
public class ThirdPartyConst {
    /**
     * 小程序分享二维码，小程序来源 1、抖音 2、支付宝；3、百度；4、微信小程序
     */
    public final static int MINIAPP_QRCODE_SOURCE_DOUYIN = 1;
    public final static int MINIAPP_QRCODE_SOURCE_ALI = 2;
    public final static int MINIAPP_QRCODE_SOURCE_BAIDU = 3;
    public final static int MINIAPP_QRCODE_SOURCE_WX = 4;

    /**
     * redis中，三方接口调用凭证缓存key
     */
    public final static String REDIS_ACCESS_TOKEN_KEY_DOUYIN = "third_party_access_token_douyin";
    public final static String REDIS_ACCESS_TOKEN_KEY_BAIDU = "third_party_access_token_baidu";
    public final static String REDIS_ACCESS_TOKEN_KEY_WX = "third_party_access_token_wx";
}
