Commit a950a501 authored by 俞嘉婷's avatar 俞嘉婷

token更新

parent b0c75974
......@@ -10,4 +10,9 @@ Currently, two official plugins are available:
ssh weiyan@bm.dui88.com -p60022
测试环境
免登示例:
https://unionpay-task.duibatest.com.cn/dbcpic-nj-api/app/login/testLogin?partnerUserId=15727663681&redirect=https%3A%2F%2Funionpay-task.duibatest.com.cn%2Fdbcpic-nj%2Findex.html%3FsourceFrom%3Dguanwei
https://unionpay-task.duibatest.com.cn/dbcpic-nj/index.html?sourceFrom=guanwei
\ No newline at end of file
......@@ -35,7 +35,7 @@
};
s(), e.addEventListener && i.addEventListener(m, s, !1);
})(document, window);
})</script><style></style><script type="module" crossorigin src="./assets/index-6db85ebe.js"></script><link rel="modulepreload" crossorigin href="./assets/api-c914b43f.js"><link rel="stylesheet" href="./assets/api-5a972db1.css"><link rel="stylesheet" href="./assets/index-4682e55f.css"><script type="module">import.meta.url;import("_").catch(()=>1);async function* g(){};if(location.protocol!="file:"){window.__vite_is_modern_browser=true}</script><script type="module">!function(){if(window.__vite_is_modern_browser)return;console.warn("vite: loading legacy chunks, syntax error above and the same error below should be ignored");var e=document.getElementById("vite-legacy-polyfill"),n=document.createElement("script");n.src=e.src,n.onload=function(){System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))},document.body.appendChild(n)}();</script></head><body><div id="root"></div><script src="//res.wx.qq.com/open/js/jweixin-1.6.0.js"></script><script src="./assets/js/duiba.js"></script><script>var CFG = {}
})</script><style></style><script type="module" crossorigin src="./assets/index-99c20b96.js"></script><link rel="modulepreload" crossorigin href="./assets/api-c914b43f.js"><link rel="stylesheet" href="./assets/api-5a972db1.css"><link rel="stylesheet" href="./assets/index-4682e55f.css"><script type="module">import.meta.url;import("_").catch(()=>1);async function* g(){};if(location.protocol!="file:"){window.__vite_is_modern_browser=true}</script><script type="module">!function(){if(window.__vite_is_modern_browser)return;console.warn("vite: loading legacy chunks, syntax error above and the same error below should be ignored");var e=document.getElementById("vite-legacy-polyfill"),n=document.createElement("script");n.src=e.src,n.onload=function(){System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))},document.body.appendChild(n)}();</script></head><body><div id="root"></div><script src="//res.wx.qq.com/open/js/jweixin-1.6.0.js"></script><script src="./assets/js/duiba.js"></script><script>var CFG = {}
function getUrlParam(name) {
var search = window.location.search;
......@@ -60,4 +60,4 @@
CFG.sensorUrl = 'https://xnjkfxsit.cpic.com.cn/sa?project=SXGW';
// 海报二维码
CFG.qrCodeImg = 'https://yun.duiba.com.cn/aurora/assets/86edddb7cb2ab51fc7234a3e62279b2c6bfbc2ff.png';
}</script><script nomodule>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",(function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()}),!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script><script nomodule crossorigin id="vite-legacy-polyfill" src="./assets/polyfills-legacy-45485735.js"></script><script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/index-legacy-dbb60464.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script></body></html>
\ No newline at end of file
}</script><script nomodule>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",(function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()}),!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script><script nomodule crossorigin id="vite-legacy-polyfill" src="./assets/polyfills-legacy-014252d2.js"></script><script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/index-legacy-2097a4c5.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script></body></html>
\ No newline at end of file
......@@ -25,7 +25,7 @@ const AuthPage = () => {
const { loginFlag, authBaseFlag, interestCollectionFlag, autoLoginUrl, token } = res.data || {};
// 授权三合一(登录、授权、兴趣收集合并
if (!loginFlag || !authBaseFlag || !interestCollectionFlag) {
const link = `/packageAgent/pages/loading/loading?gwAuthToken=P_PT_PHONE_25Adolescentvision&token=${token}&channel=${CFG.channel}`
const link = `/packageAgent/pages/loading/loading?gwAuthToken=P_HD_DuiBaNanJian&token=${token}&channel=${CFG.channel}`
console.info("官微小程序", link);
wx?.miniProgram?.navigateTo({ url: link });
} else {
......
......@@ -93,7 +93,7 @@ class HomePage extends Component {
const { home, huadong, box, saoguang } = skinStore.svga;
const { curTab } = this.state;
const { babyCredits } = store.indexInfo?.activityBaseInfo || {};
const { babyCredits } = store.indexInfo || {};
const medalInfoList = store.indexInfo?.medalInfoList?.filter(item => item.medalType === curTab) || [];
// 第一行 奇数索引的勋章
const medalList1 = medalInfoList.filter((_, index) => index % 2 === 0);
......
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