tt
This commit is contained in:
@@ -59,8 +59,10 @@ func (a *API) CreateOrderByTicktock(param *TickTokCreateOrder) (string, string,
|
||||
// 获取抖音token
|
||||
func (a *API) GetTiktokToken() error {
|
||||
tokenReq := make(map[string]interface{}, 3)
|
||||
tokenReq["appid"] = TiktokAppId
|
||||
tokenReq["secret"] = TiktokSecret
|
||||
tokenReq["appid"] = TiktokJXDJAppID
|
||||
tokenReq["secret"] = TiktokJXDJSecret
|
||||
//tokenReq["appid"] = TiktokAppId
|
||||
//tokenReq["secret"] = TiktokSecret
|
||||
tokenReq["grant_type"] = "client_credential"
|
||||
globals.SugarLogger.Debug("=============", tokenReq)
|
||||
result, err := a.AccessAPI2(GetTiktokToken, tokenReq)
|
||||
|
||||
@@ -11,7 +11,7 @@ const (
|
||||
TiktokAppId = "tta6a1d01c399f264201"
|
||||
TiktokSecret = "5c08a0465cf0f996af254a03b6c2548defef87ad"
|
||||
TiktokJXDJAppID = "ttaceeda5333d7a7ab01"
|
||||
tiktokJXDJSecret = "5c8492ec2744fb72bb6cc356983f3cfc317f85d4"
|
||||
TiktokJXDJSecret = "5c8492ec2744fb72bb6cc356983f3cfc317f85d4"
|
||||
)
|
||||
|
||||
// OauthAccessTokenResData access_token
|
||||
|
||||
Reference in New Issue
Block a user