Commit 6a80db27 authored by wildfirecode13's avatar wildfirecode13

1111

parent 5791c5be
......@@ -9,6 +9,6 @@ module.exports ={
"IMAGE_Q1": 0.6,
"IMAGE_Q2": 0.8,
"RES_PATH": "/src/assets/",
"RES_PATH_PROD": "//yun.duiba.com.cn/spark/v2/temp_base/1634026726463",
"JS_PATH_PROD": "https://yun.duiba.com.cn/spark/v2/temp_base/1634026728426/js"
"RES_PATH_PROD": "//yun.duiba.com.cn/spark/v2/temp_base/1634029365727",
"JS_PATH_PROD": "https://yun.duiba.com.cn/spark/v2/temp_base/1634029367657/js"
}
\ No newline at end of file
......@@ -52,17 +52,17 @@ class App extends Component {
//请求授权协议,需要如果是同一活动需求区分是起始页还是授权回调页,注意开头要https
//请求授权协议
const result = await API.generateApproval({
activityId: activityId,
callBackUrl: callBackUrl
});
const protocol = result.data;
// const result = await API.generateApproval({
// activityId: activityId,
// callBackUrl: callBackUrl
// });
// const protocol = result.data;
// const protocol = 'cmblife://approval?aid=6b9a76cce8b54060a3a31867c4c9281d&callback=https%3A%2F%2Factivity.m.duibatest.com.cn%2Fprojectx%2Fp19dcfe16%2Findex.html%3Fiscallback%3D1&clientType=h5&date=20211012150848&keyAlias=CO_PUB_KEY_SM2&mid=1611e17549f83f6d83c77822d0bf7bef&random=975fc466216e4ccc8f37668a7928cc64&responseType=code&scope=defaultScope&sign=MEUCIF5YBj%2Brgp%2FSqBN%2BBRwvR7evMVLs41d6mXgHzOw3cFQfAiEAkEo0j0AEeeWBYNFPIi7e6LiQvZ5m54aMei22Y7i91Kw%3D&state=state'
// setTimeout(() => {
// console.error('protocol', protocol)
// }, 1000);
// window.location.href = protocol;
const protocol = 'cmblife://approval?aid=6b9a76cce8b54060a3a31867c4c9281d&callback=https%3A%2F%2Factivity.m.duibatest.com.cn%2Fprojectx%2Fp19dcfe16%2Findex.html%3Fiscallback%3D1&clientType=h5&date=20211012163851&keyAlias=CO_PUB_KEY_SM2&mid=1611e17549f83f6d83c77822d0bf7bef&random=cc8b45de7e90468bb49b17ad8777c427&responseType=code&scope=defaultScope&sign=MEYCIQD5wJvbKbZMymWbeKj2o4FVYGoklcqqt2ShaiM8ty0aEgIhANF7ZTCHulvvkqfMCTaE7o2Ya2TON9YXKv7raukxKkHY&state=state';
setTimeout(() => {
console.error('protocol', protocol)
}, 1000);
window.location.href = protocol;
}
}
......
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