总览
全部功能
状态未知
更新公告
客服
刷新
保存全部
仙门
造化仙府
仙门令牌 · 托管授权
激活仙门令牌
一令一机,输入卡密即可开启托管。
卡密
邀请码
选填 · 激活后 7 天内可补填
激活令牌
先看看
卡密由仙门执事发放
造化仙府
仙门托管
造化仙府
SMART AUTO
登录仙门
已激活令牌 · 绑定账号后开始托管
手机号登录
微信扫码
手机号
+86
短信验证码
获取验证码
登录并绑定
请使用微信扫一扫
扫码后自动登录
模拟扫码
登录即代表同意
《用户协议》
与
《隐私政策》
跳过登录
正在登录仙门…
造化仙府
选择角色
正在读取账号下的角色…
角色选定后,前端不可更改;如需更换角色,请联系仙门执事。
返回登录
进入托管
更新公告
×
联系客服
×
联系方式
在线客服
工作时间 10:00–23:00。
微
微信客服
wyz19950606
复制
T
Telegram
@wyz19950606
复制
联系方式由对应代理或总后台统一配置。
发送
消息会同步到对应代理后台;总后台也能看到。
/* ===== 抖音登录(长效托管)===== 用户只看到「拿口令 → 等代理 → 确认账号」三步,界面上不出现任何内部实现细节: 采集/账号库/Realm/userId/userPwd/token/协议/接口/抓包/模拟器 这些词一律不出现。 口令由后端生成,浏览器不知道采集服务在哪、也不知道密钥。 */ let DY_CODE = ''; let DY_TIMER = null; let DY_BUSY = false; const DY_TEXT = { waiting: '正在等待代理完成登录,请稍候…', empty: '还没收到账号信息,请确认代理已经完成登录。', need_select: '检测到多个抖音账号,代理正在确认,请稍候…', expired: '口令已失效,请重新点击「抖音登录」。' }; function dyEl(id){ return document.getElementById(id); } function dyShow(step){ ['dy-s1','dy-s2','dy-s3'].forEach(function(x){ const e = dyEl(x); if(e) e.style.display = (x === step) ? '' : 'none'; }); } async function dyApi(path, body){ const opt = {credentials: 'same-origin', headers: {}}; if(body !== undefined){ opt.method = 'POST'; opt.headers['Content-Type'] = 'application/json'; opt.body = JSON.stringify(body); } const r = await fetch(path, opt); const j = await r.json().catch(function(){ return {}; }); if(!r.ok || !j || !j.ok){ const msg = (j && j.msg) || '暂时无法连接服务,请稍后再试'; throw new Error(msg); } return j.data || {}; } async function dyStart(){ if(DY_BUSY) return; DY_BUSY = true; const btn = dyEl('dy-start'); if(btn){ btn.disabled = true; btn.textContent = '正在获取口令…'; } try{ const d = await dyApi('/douyin/ticket', {}); DY_CODE = String(d.ticket || ''); const code = dyEl('dy-code'); if(code) code.textContent = DY_CODE; const note = dyEl('dy-note'); if(note) note.textContent = '把口令发给代理。代理完成操作后,这里会自动继续,不用刷新。'; dyShow('dy-s1'); dyPollStart(); }catch(e){ const note = dyEl('dy-note'); if(note) note.textContent = e.message || '获取口令失败,请重试'; }finally{ DY_BUSY = false; if(btn){ btn.disabled = false; btn.textContent = '重新获取口令'; } } } function dyPollStart(){ dyPollStop(); DY_TIMER = setInterval(dyPollOnce, 2000); } function dyPollStop(){ if(DY_TIMER){ clearInterval(DY_TIMER); DY_TIMER = null; } } async function dyPollOnce(){ if(!DY_CODE) return; let d; try{ d = await dyApi('/douyin/status?code=' + encodeURIComponent(DY_CODE)); }catch(e){ return; /* 网络抖动不打断轮询 */ } const st = String(d.status || 'waiting'); if(st === 'ready'){ dyPollStop(); dyReady(d); return; } if(st === 'expired'){ dyPollStop(); dyShow('dy-s3'); const t = dyEl('dy-msg'); if(t) t.textContent = DY_TEXT.expired; return; } const t = dyEl('dy-status'); if(t) t.textContent = DY_TEXT[st] || DY_TEXT.waiting; } async function dyReady(st){ const name = String(st.name || ''); const who = dyEl('dy-who'); if(who) who.textContent = name ? ('已确认抖音账号:' + name) : '已确认抖音账号'; dyShow('dy-s2'); try{ const cred = await dyApi('/douyin/cred', {ticket: DY_CODE}); window.__dyCred = cred; /* 交给后续绑定流程用,不落盘、不打印 */ const t = dyEl('dy-next'); if(t) t.textContent = '正在为你准备微信绑定二维码…'; if(typeof dyToWechat === 'function'){ dyToWechat(cred); } }catch(e){ const t = dyEl('dy-next'); if(t) t.textContent = '绑定没有完成,请重新点击「抖音登录」再试一次。若多次失败,请联系客服。'; } } function dyCopy(){ const txt = DY_CODE; if(!txt) return; try{ navigator.clipboard.writeText(txt).then(function(){ dyToast('口令已复制'); }, function(){ dyFallbackCopy(txt); }); }catch(e){ dyFallbackCopy(txt); } } function dyFallbackCopy(txt){ const ta = document.createElement('textarea'); ta.value = txt; ta.style.position = 'fixed'; ta.style.opacity = '0'; document.body.appendChild(ta); ta.select(); try{ document.execCommand('copy'); dyToast('口令已复制'); }catch(e){} ta.remove(); } function dyCopyMsg(){ const txt = '帮我登录抖音:口令 ' + DY_CODE + '。请在专用设备上登录我的抖音号并进入造化仙府完成抖音登录,' + '然后在工具里输入这个口令提交。完成后告诉我一声。'; try{ navigator.clipboard.writeText(txt).then(function(){ dyToast('已复制,发给代理即可'); }, function(){ dyToast('复制失败,请手动选择文字'); }); }catch(e){ dyToast('复制失败,请手动选择文字'); } } function dyToast(msg){ const t = dyEl('dy-toast'); if(!t){ return; } t.textContent = msg; t.style.display = ''; setTimeout(function(){ t.style.display = 'none'; }, 2200); }