This commit is contained in:
zhouwentao 2024-04-15 20:21:56 +08:00
parent 1380e03375
commit ebe75a7f7d
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ public class DouYinUtil {
//
JSONObject jsonObject = JSONObject.parseObject("{\"appid\":\"" + appId + "\",\"grant_type\":\"client_credential\",\"secret\":\"" + appSecret + "\"}");
JSONObject post = RestUtil.post(getAccessTokenUrl, jsonObject);
log.debug("获取access_toekn:"+post.toJSONString());
if (post==null) {
return null;
}