Commit 12a00754 authored by lijin's avatar lijin

替换成 https 域名

parent e4c66708
......@@ -11,14 +11,14 @@ if (idx > 0) {
BASE_API = '"http://cms.huolea.com:8888"';
CLOND_API = '"http://apitest.nms.huolea.com"';
BXDD_API = '"http://localhost:9311"';
PUTIN_API = '"http://putinapi.zhangxindiet.com"';
PUTIN_API = '"https://putinapi.zhangxindiet.com"';
AD_API = '"http://adsptest.huolea.com"';
} else {
ZX_NMS_BASE_API = '"http://api.nms.huolea.com"';
BASE_API = '"http://cms.huolea.com"';
CLOND_API = '"http://api.nms.huolea.com"';
BXDD_API = '"https://data-api.zhangxinhulian.com"';
PUTIN_API = '"http://putinapi.zhangxindiet.com"';
PUTIN_API = '"https://putinapi.zhangxindiet.com"';
AD_API = '"http://adsp.zhangxindiet.com"';
}
console.log("==============", BASE_API);
......
......@@ -118,7 +118,7 @@ export default {
// }
// const alias=this.alias;
const state = "auth";
const redirectUri = `https://putinapi.zhangxindiet.com/youtube/add/getRefreshToken`;
const redirectUri = `${process.env.PUTIN_API}/youtube/add/getRefreshToken`;
const clientId ='797378266354-sd6e02o2qpdk2rhsb0ltjc98i5k9l2co.apps.googleusercontent.com'
const scope = 'https://www.googleapis.com/auth/youtube https://www.googleapis.com/auth/youtube.readonly https://www.googleapis.com/auth/youtubepartner https://www.googleapis.com/auth/yt-analytics-monetary.readonly https://www.googleapis.com/auth/yt-analytics.readonly https://www.googleapis.com/auth/youtube https://www.googleapis.com/auth/youtube.channel-memberships.creator https://www.googleapis.com/auth/youtube.force-ssl https://www.googleapis.com/auth/youtube.readonly https://www.googleapis.com/auth/youtube.upload https://www.googleapis.com/auth/youtubepartner https://www.googleapis.com/auth/youtubepartner-channel-audit https://www.googleapis.com/auth/yt-analytics-monetary.readonly https://www.googleapis.com/auth/yt-analytics.readonly';
const responseType = 'code';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment