Commit a2eed90a authored by wildfirecode13's avatar wildfirecode13

111

parent df7fcfb6
...@@ -9,6 +9,6 @@ module.exports ={ ...@@ -9,6 +9,6 @@ module.exports ={
"IMAGE_Q1": 0.6, "IMAGE_Q1": 0.6,
"IMAGE_Q2": 0.8, "IMAGE_Q2": 0.8,
"RES_PATH": "/src/assets/", "RES_PATH": "/src/assets/",
"RES_PATH_PROD": "//yun.duiba.com.cn/spark/v2/temp_base/1635143894406", "RES_PATH_PROD": "//yun.duiba.com.cn/spark/v2/temp_base/1635146963591",
"JS_PATH_PROD": "https://yun.duiba.com.cn/spark/v2/temp_base/1635143896407/js" "JS_PATH_PROD": "https://yun.duiba.com.cn/spark/v2/temp_base/1635146966282/js"
} }
\ No newline at end of file
...@@ -16,10 +16,10 @@ class App extends Component { ...@@ -16,10 +16,10 @@ class App extends Component {
async componentDidMount() { async componentDidMount() {
const urlPrefix = 'https://activity.m.duibatest.com.cn/projectx/p45d740bc/'; const urlPrefix = 'https://activity.m.duibatest.com.cn/projectx/p45d740bc/';
const url = urlPrefix + 'index.html'; const url = urlPrefix + 'index.html?appID=19432';
const callBackUrl = urlPrefix + 'callback.html'; const callBackUrl = urlPrefix + 'callback.htmlappID=19432';
const redirectUrl = urlPrefix + 'redirect.html'; const redirectUrl = urlPrefix + 'redirect.htmlappID=19432';
const iscallback = location.href.indexOf('callback.html') > 0; const iscallback = location.href.indexOf('callback.html') > 0;
const isredirect = location.href.indexOf('redirect.html') > 0; const isredirect = location.href.indexOf('redirect.html') > 0;
...@@ -52,7 +52,7 @@ class App extends Component { ...@@ -52,7 +52,7 @@ class App extends Component {
setTimeout(() => { setTimeout(() => {
console.error('generateLoginUrlResult', generateLoginUrlResult) console.error('generateLoginUrlResult', generateLoginUrlResult)
}, 1000); }, 1000);
// location.href = generateLoginUrlResult.data; location.href = generateLoginUrlResult.data;
} else { } else {
//没有获取到code //没有获取到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