去掉手机号码弹窗验证 分享添加描述和照片
This commit is contained in:
15
middle.html
15
middle.html
@@ -5,6 +5,10 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no"">
|
||||
<title>新能源智能体</title>
|
||||
<meta property=" og:title" content="新能源智能体">
|
||||
<meta property="og:description"
|
||||
content="SataBot Agent 是一款由人工智能驱动的光伏场景AI应用程序。SataBot Agent AI 能力基于飒沓自研大模型的 AIGC 服务构建。">
|
||||
<meta property="og:image" content="http://1.95.137.212:19000/mbzn/16%3A33%3A49123.png">
|
||||
<script src=" https://unpkg.com/vconsole@latest/dist/vconsole.min.js">
|
||||
</script>
|
||||
<link rel="prefetch" href="index.html">
|
||||
@@ -728,7 +732,16 @@
|
||||
})
|
||||
.then(res => {
|
||||
if (res.code == 300) {
|
||||
showpop(); // 弹出验证码
|
||||
// showpop(); // 弹出验证码
|
||||
const _token = "BEAR DHWJDBJDKWJDBDNJEWHBD"
|
||||
|
||||
setCookie('token', _token);
|
||||
const encodedUserId = btoa(unescape(encodeURIComponent("138")));
|
||||
localStorage.setItem('userId', encodedUserId);
|
||||
const t = Date.now();
|
||||
document.body.classList.add('fadeout');
|
||||
|
||||
window.location.replace(`https://ai.satabot.com?userId=${encodedUserId}&headingimg=${userInfo.headimgurl}&nickname=${userInfo.nickname}&localtoken=${_token}&t=${t}`)
|
||||
} else if (res.code == 200) {
|
||||
setCookie('token', res.token);
|
||||
const encodedUserId = btoa(unescape(encodeURIComponent(res.userId)));
|
||||
|
||||
Reference in New Issue
Block a user