Commit aba60b44 authored by wildfirecode13's avatar wildfirecode13

111

parent 203956d3
...@@ -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/1633932571126", "RES_PATH_PROD": "//yun.duiba.com.cn/spark/v2/temp_base/1633933001451",
"JS_PATH_PROD": "https://yun.duiba.com.cn/spark/v2/temp_base/1633932573845/js" "JS_PATH_PROD": "https://yun.duiba.com.cn/spark/v2/temp_base/1633933004136/js"
} }
\ No newline at end of file
...@@ -19,7 +19,7 @@ class App extends Component { ...@@ -19,7 +19,7 @@ class App extends Component {
const callBackUrl = 'http%3A%2F%2Factivity.m.duibatest.com.cn%2Fprojectx%2Fp19dcfe16%2Findex.html'; const callBackUrl = 'http%3A%2F%2Factivity.m.duibatest.com.cn%2Fprojectx%2Fp19dcfe16%2Findex.html';
let activityId = CFG.projectId; let activityId = CFG.projectId;
let { code, testact, iscallback, cmbdata } = queryParams; let { code, testact, iscallback, cmbdata } = queryParams;
if (testact == 1) activityId = 'p1b1d9168'; if (testact == 1) activityId = 'p19dcfe16';
cmbdata = '%7B%22respMsg%22%3A%22%E6%93%8D%E4%BD%9C%E6%88%90%E5%8A%9F%EF%BC%81%22%2C%22mid%22%3A%221611e17549f83f6d83c77822d0bf7bef%22%2C%22state%22%3A%22state%22%2C%22cmbKeyAlias%22%3A%22SM2_CMBLIFE%22%2C%22iscallback%22%3A%221%22%2C%22respCode%22%3A%221000%22%2C%22scope%22%3A%22defaultScope%22%2C%22code%22%3A%225394c93d48144ab8806e203%22%2C%22date%22%3A%2220211008174532%22%2C%22aid%22%3A%226b9a76cce8b54060a3a31867c4c9281d%22%2C%22sign%22%3A%22MEUCIFL%2BScttTBRCZTOYcC5IhFHJ5B%5C%2FwF6oykB7LyliFpqdnAiEA5Z%5C%2FT3HyYLk2XnSWNkHgNDbpD2Fq6r5FJ9tTR3MwEBXw%3D%22%7D'; cmbdata = '%7B%22respMsg%22%3A%22%E6%93%8D%E4%BD%9C%E6%88%90%E5%8A%9F%EF%BC%81%22%2C%22mid%22%3A%221611e17549f83f6d83c77822d0bf7bef%22%2C%22state%22%3A%22state%22%2C%22cmbKeyAlias%22%3A%22SM2_CMBLIFE%22%2C%22iscallback%22%3A%221%22%2C%22respCode%22%3A%221000%22%2C%22scope%22%3A%22defaultScope%22%2C%22code%22%3A%225394c93d48144ab8806e203%22%2C%22date%22%3A%2220211008174532%22%2C%22aid%22%3A%226b9a76cce8b54060a3a31867c4c9281d%22%2C%22sign%22%3A%22MEUCIFL%2BScttTBRCZTOYcC5IhFHJ5B%5C%2FwF6oykB7LyliFpqdnAiEA5Z%5C%2FT3HyYLk2XnSWNkHgNDbpD2Fq6r5FJ9tTR3MwEBXw%3D%22%7D';
...@@ -38,7 +38,7 @@ class App extends Component { ...@@ -38,7 +38,7 @@ class App extends Component {
const data = { const data = {
redirectUrl: "https://activity.m.duibatest.com.cn/projectx/p19dcfe16/index.html", redirectUrl: "https://activity.m.duibatest.com.cn/projectx/p19dcfe16/index.html",
cmbData:{"respMsg":"操作成功!","mid":"1611e17549f83f6d83c77822d0bf7bef","state":"state","cmbKeyAlias":"SM2_CMBLIFE","iscallback":"1","respCode":"1000","scope":"defaultScope","code":"4a45597e466446c99d934f7","date":"20211009183758","aid":"6b9a76cce8b54060a3a31867c4c9281d","sign":"MEUCIGWsTbWb1socl\/1tS2WA7NK0emTbQXoFNqZCc1jxe+R3AiEA9bS5Opbx4CYDdqfyw3NgVm8jAU\/aeMk8OJIR0Go1b5c="}, cmbData:{"respMsg":"操作成功!","mid":"1611e17549f83f6d83c77822d0bf7bef","state":"state","cmbKeyAlias":"SM2_CMBLIFE","iscallback":"1","respCode":"1000","scope":"defaultScope","code":"42593e323f4c416db7ba658","date":"20211011141335","aid":"6b9a76cce8b54060a3a31867c4c9281d","sign":"MEUCIFXNWTdsXXGi\/eRn1YNpiQu\/aMzJ8dJRPdHkQdWbZ5xDAiEAlx3oa2we1DsBSVo8aNVMQb1WUtGQ\/hzYrjzU9OCQyU4="},
// cmbData: decodeURIComponent(cmbdata), // cmbData: decodeURIComponent(cmbdata),
activityId: activityId activityId: activityId
}; };
...@@ -54,7 +54,7 @@ class App extends Component { ...@@ -54,7 +54,7 @@ class App extends Component {
} else { //没有获取到code } else { //没有获取到code
const protocol = 'cmblife://approval?aid=6b9a76cce8b54060a3a31867c4c9281d&callback=https%3A%2F%2Factivity.m.duibatest.com.cn%2Fprojectx%2Fp19dcfe16%2Findex.html&clientType=h5&date=20211011140531&keyAlias=CO_PUB_KEY_SM2&mid=1611e17549f83f6d83c77822d0bf7bef&random=d217ec83cc9c4f2d9a1d84e2d014749e&responseType=code&scope=defaultScope&sign=MEUCIQD90BlJEddOAKH3UJQ2sW5fyHyLNEi2fax6LNkV8wQr5gIga5nWuMlu5xBECvmc5l7CEkozUbcjyPeqdbutn%2FmhSmQ%3D&state=state'; const protocol = 'cmblife://approval?aid=6b9a76cce8b54060a3a31867c4c9281d&callback=https%3A%2F%2Factivity.m.duibatest.com.cn%2Fprojectx%2Fp19dcfe16%2Findex.html%3Fiscallback%3D1&clientType=h5&date=20211011141215&keyAlias=CO_PUB_KEY_SM2&mid=1611e17549f83f6d83c77822d0bf7bef&random=2e3dd8420301435caf8e42c87c7a0058&responseType=code&scope=defaultScope&sign=MEUCIQDZ7LkU98LwvlCb40UlgBWS%2ByAugW7kSlZn5F2%2FAJE%2B3QIgKKZ4ZR9d5i4ma5IF8il6VsDMuzhvD5%2BShG87L6ymlYM%3D&state=state';
setTimeout(() => { setTimeout(() => {
window.location.href = protocol; window.location.href = protocol;
}, 100); }, 100);
......
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