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)
|
||||
|
||||
Reference in New Issue
Block a user