update
This commit is contained in:
parent
ebe75a7f7d
commit
93572b2285
|
|
@ -31,7 +31,7 @@ public class DouYinUtil {
|
||||||
//
|
//
|
||||||
JSONObject jsonObject = JSONObject.parseObject("{\"appid\":\"" + appId + "\",\"grant_type\":\"client_credential\",\"secret\":\"" + appSecret + "\"}");
|
JSONObject jsonObject = JSONObject.parseObject("{\"appid\":\"" + appId + "\",\"grant_type\":\"client_credential\",\"secret\":\"" + appSecret + "\"}");
|
||||||
JSONObject post = RestUtil.post(getAccessTokenUrl, jsonObject);
|
JSONObject post = RestUtil.post(getAccessTokenUrl, jsonObject);
|
||||||
log.debug("获取access_toekn:"+post.toJSONString());
|
System.out.println("获取access_toekn:"+post.toJSONString());
|
||||||
if (post==null) {
|
if (post==null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue