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

login

parent 0f06a132
...@@ -46,10 +46,10 @@ ...@@ -46,10 +46,10 @@
// alert("【警告】检测到活动url中没有appID参数\n缺少该参数会导致埋点、分享、app信息获取错误。") // alert("【警告】检测到活动url中没有appID参数\n缺少该参数会导致埋点、分享、app信息获取错误。")
} }
</script> </script>
<script type="module" crossorigin src="https://yun.duiba.com.cn/db_games/spark/v3/1752054825543/assets/index-CsO-x6xE.js"></script> <script type="module" crossorigin src="https://yun.duiba.com.cn/db_games/spark/v3/1752055631439/assets/index-YTDvdrkx.js"></script>
<link rel="modulepreload" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1752054825543/assets/vendor-Cw84r4Fx.js"> <link rel="modulepreload" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1752055631439/assets/vendor-Cw84r4Fx.js">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1752054825543/assets/vendor-BQh5NVNk.css"> <link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1752055631439/assets/vendor-BQh5NVNk.css">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1752054825543/assets/index-BvaX4S4W.css"> <link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1752055631439/assets/index-gE9JpUWA.css">
<script type="module">import.meta.url;import("_").catch(()=>1);(async function*(){})().next();if(location.protocol!="file:"){window.__vite_is_modern_browser=true}</script> <script type="module">import.meta.url;import("_").catch(()=>1);(async function*(){})().next();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> <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> </head>
...@@ -57,8 +57,8 @@ ...@@ -57,8 +57,8 @@
<body> <body>
<div id="root"></div> <div id="root"></div>
<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>!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="https://yun.duiba.com.cn/db_games/spark/v3/1752054825543/assets/polyfills-legacy-D0AVcSo7.js"></script> <script nomodule crossorigin id="vite-legacy-polyfill" src="https://yun.duiba.com.cn/db_games/spark/v3/1752055631439/assets/polyfills-legacy-D0AVcSo7.js"></script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="https://yun.duiba.com.cn/db_games/spark/v3/1752054825543/assets/index-legacy-BLZiEXK3.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script> <script nomodule crossorigin id="vite-legacy-entry" data-src="https://yun.duiba.com.cn/db_games/spark/v3/1752055631439/assets/index-legacy-Bl_GiInT.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
</body> </body>
</html> </html>
...@@ -137,7 +137,7 @@ export default [ ...@@ -137,7 +137,7 @@ export default [
return { return {
"code": "magna laborum amet", "code": "magna laborum amet",
"data": { "data": {
"code": 0, // 状态码(0 表示成功 0100 短信验证码发送失败) "resCode": "0000",
"errorMsg": '错误信息', // 错误信息 "errorMsg": '错误信息', // 错误信息
}, },
"message": "nostrud aliqua irure dolore mollit", "message": "nostrud aliqua irure dolore mollit",
......
...@@ -100,7 +100,7 @@ class Loginpop extends React.Component { ...@@ -100,7 +100,7 @@ class Loginpop extends React.Component {
} }
const { success, data } = await API.coop_sendCode(params) const { success, data } = await API.coop_sendCode(params)
if (success) { if (success) {
if (data?.code == 0) { if (data?.resCode == "0000") {
Toast.show("验证码已发送"); Toast.show("验证码已发送");
this.setState({ this.setState({
showSend: false, showSend: false,
...@@ -161,12 +161,12 @@ class Loginpop extends React.Component { ...@@ -161,12 +161,12 @@ class Loginpop extends React.Component {
"phoneNumber": loginPhone, "phoneNumber": loginPhone,
"smsCode": loginCode, "smsCode": loginCode,
"origenUid": uid || '', // 华夏理财渠道才拿得到 其他渠道不用传 "origenUid": uid || '', // 华夏理财渠道才拿得到 其他渠道不用传
"redirectUrl": encodeURIComponent(window.location.href) "redirectUrl": window.location.href
} }
const { success, data } = await API.coop_checkCode(params) const { success, data } = await API.coop_checkCode(params)
if (success) { if (success) {
console.info("华夏理财 绑定手机号 结果>>>>>>>>>>>>>>>>", data) console.info("华夏理财 绑定手机号 结果>>>>>>>>>>>>>>>>", data)
// location.replace(data); location.replace(data);
} }
} }
......
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