修复(半自动履约): 拆分虎牙账号与角色身份并恢复CK注入
This commit is contained in:
@@ -723,7 +723,7 @@ function resolveEventSummary(event: SemiAutoTaskHistoryEvent) {
|
||||
if (event.eventType === 'customer_profile_saved') {
|
||||
return [
|
||||
text(detail.roleName) ? `角色:${text(detail.roleName)}` : '',
|
||||
text(detail.roleId) ? `编号:${text(detail.roleId)}` : '',
|
||||
text(detail.roleId) ? `游戏角色 UID:${text(detail.roleId)}` : '',
|
||||
text(detail.serverZone) ? `区服:${text(detail.serverZone)}` : '',
|
||||
]
|
||||
.filter(Boolean)
|
||||
@@ -732,11 +732,13 @@ function resolveEventSummary(event: SemiAutoTaskHistoryEvent) {
|
||||
if (event.eventType === 'binding_status_changed') {
|
||||
const parts: string[] = []
|
||||
if (text(detail.gameRole)) {
|
||||
parts.push(
|
||||
`绑定角色:${text(detail.gameRole)}${
|
||||
text(detail.gameRoleId) ? `(${text(detail.gameRoleId)})` : ''
|
||||
}`,
|
||||
)
|
||||
parts.push(`当前角色:${text(detail.gameRole)}`)
|
||||
}
|
||||
if (text(detail.pendingGameRole)) {
|
||||
parts.push(`待确认角色:${text(detail.pendingGameRole)}`)
|
||||
}
|
||||
if (text(detail.gameRoleToken) || text(detail.pendingGameRoleToken)) {
|
||||
parts.push('虎牙平台已返回加密角色标识')
|
||||
}
|
||||
if (detail.rebindUnchanged === true) parts.push('平台仍返回原绑定角色')
|
||||
const message = text(detail.message) || text(detail.rebindConfirmMessage)
|
||||
|
||||
@@ -483,11 +483,16 @@ export default function AdminSemiAutoTasksPage() {
|
||||
<Text type="secondary">
|
||||
{`绑定:${BINDING_STATUS_LABELS[task.bindingStatus] || task.bindingStatus}`}
|
||||
</Text>
|
||||
{task.bindGameRole || task.bindGameRoleId ? (
|
||||
{task.bindGameRole || task.bindGameRoleToken ? (
|
||||
<Text type="secondary">
|
||||
{`角色:${task.bindGameRole || '-'}${task.bindGameRoleId ? `(${task.bindGameRoleId})` : '(无角色ID)'}`}
|
||||
{`当前角色:${task.bindGameRole || '-'}${
|
||||
task.bindGameRoleToken ? '(平台加密标识已识别)' : ''
|
||||
}`}
|
||||
</Text>
|
||||
) : null}
|
||||
{task.pendingBindGameRole ? (
|
||||
<Text type="secondary">{`待确认角色:${task.pendingBindGameRole}`}</Text>
|
||||
) : null}
|
||||
<Text type="secondary">
|
||||
CK:
|
||||
{task.credentialStatus === 'valid'
|
||||
@@ -770,11 +775,18 @@ export default function AdminSemiAutoTasksPage() {
|
||||
<Descriptions.Item label="绑定状态">
|
||||
{BINDING_STATUS_LABELS[detail.task.bindingStatus] || detail.task.bindingStatus}
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item label="平台绑定角色">
|
||||
<Descriptions.Item label="平台当前角色">
|
||||
{detail.task.bindGameRole || '-'}
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item label="平台角色ID">
|
||||
{detail.task.bindGameRoleId || detail.task.huyaUid || '-'}
|
||||
<Descriptions.Item label="待确认角色">
|
||||
{detail.task.pendingBindGameRole || '-'}
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item label="平台角色标识">
|
||||
{detail.task.platformGameRoleUid
|
||||
? `游戏角色 UID ${detail.task.platformGameRoleUid}`
|
||||
: detail.task.bindGameRoleToken || detail.task.pendingBindGameRoleToken
|
||||
? '已识别的虎牙加密角色标识'
|
||||
: '-'}
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item label="平台绑定渠道">
|
||||
{[
|
||||
@@ -787,7 +799,7 @@ export default function AdminSemiAutoTasksPage() {
|
||||
<Descriptions.Item label="客户填写角色">
|
||||
{detail.task.customerGameRoleName || '-'}
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item label="客户游戏编号">
|
||||
<Descriptions.Item label="客户游戏角色 UID">
|
||||
{detail.task.customerGameRoleId || '-'}
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item label="客户区服">
|
||||
|
||||
@@ -105,8 +105,8 @@ export default function CustomerFulfillmentPage({
|
||||
[selectedTaskId, tasks],
|
||||
)
|
||||
const isWeibo = selectedTask?.platform === 'weibo'
|
||||
// 虎牙流程:登录 → 填写资料(区服/游戏编号/角色名)→ 绑定角色。
|
||||
// 三项资料齐全前不生成绑定二维码,避免客户在资料缺失时先绑错角色。
|
||||
// 虎牙流程:登录 → 填写资料(区服/游戏角色 UID/角色名)→ 绑定角色。
|
||||
// 资料齐全前不生成绑定二维码,避免客户在资料缺失时先绑错角色。
|
||||
const profileComplete = Boolean(
|
||||
String(selectedTask?.customerServerZone || '').trim() &&
|
||||
String(selectedTask?.customerGameRoleId || '').trim() &&
|
||||
@@ -400,7 +400,7 @@ export default function CustomerFulfillmentPage({
|
||||
selectedTask?.platform,
|
||||
])
|
||||
|
||||
// 进入 role_ready 时补一次绑定详情,保证确认弹窗能拿到两侧角色 ID。
|
||||
// 进入 role_ready 时补一次绑定详情,保证确认弹窗能拿到待确认角色。
|
||||
useEffect(() => {
|
||||
if (!selectedTask || !orderNo || selectedTask.platform !== 'huya') return
|
||||
if (bindingSessionExpired) return
|
||||
@@ -439,10 +439,12 @@ export default function CustomerFulfillmentPage({
|
||||
if (!bindingInfo?.comparison) return
|
||||
// 换绑后仍是原角色时只展示失败原因,不能自动弹出确认框。
|
||||
if (bindingInfo.rebindUnchanged) return
|
||||
// 只有三项完全一致才自动弹出核对框,让客户直接提交平台绑定;
|
||||
// 只有角色名与区服一致才自动弹出核对框,让客户直接确认平台绑定;
|
||||
// 不一致时不弹框,由下方「重新扫码换绑 / 上一步修改资料」两个按钮处理。
|
||||
if (bindingInfo.comparison.verdict !== 'match') return
|
||||
const key = `${selectedTask.id}:${bindingInfo.bindGameRoleId || ''}`
|
||||
const key = `${selectedTask.id}:${
|
||||
bindingInfo.pendingBindGameRoleToken || bindingInfo.bindGameRoleToken || ''
|
||||
}`
|
||||
if (autoOpenedRoleRef.current === key) return
|
||||
autoOpenedRoleRef.current = key
|
||||
setBindingConfirmOpen(true)
|
||||
@@ -700,7 +702,7 @@ export default function CustomerFulfillmentPage({
|
||||
}
|
||||
return
|
||||
}
|
||||
// 只有三项完全一致才打开核对框;不一致由页面按钮引导换绑或修改资料。
|
||||
// 只有角色名与区服一致才打开核对框;不一致由页面按钮引导换绑或修改资料。
|
||||
if (nextBinding?.comparison?.verdict === 'match') {
|
||||
setBindingConfirmOpen(true)
|
||||
} else {
|
||||
@@ -729,7 +731,7 @@ export default function CustomerFulfillmentPage({
|
||||
message.info('虎牙已受理换绑,正在等待角色生效')
|
||||
return
|
||||
}
|
||||
message.info(detail || '已扫码,请选好角色后点「已选好角色,提交换绑」')
|
||||
message.info(detail || '已扫码,请选好角色后点「核对平台角色」')
|
||||
return
|
||||
}
|
||||
if (nextTask.bindingStatus === 'qr_pending') {
|
||||
@@ -784,10 +786,10 @@ export default function CustomerFulfillmentPage({
|
||||
return
|
||||
}
|
||||
if (nextTask.bindingStatus === 'role_ready') {
|
||||
message.success('换绑已生效,请核对角色后提交平台绑定')
|
||||
message.success('已识别本次待确认角色,请核对后再确认绑定')
|
||||
return
|
||||
}
|
||||
message.info('已向虎牙提交换绑,正在等待角色生效')
|
||||
message.info('尚未识别到新的待确认角色,请重新选择并刷新')
|
||||
} catch (error) {
|
||||
if (isConnectorSessionExpired(error)) {
|
||||
setBindingSessionExpired(true)
|
||||
@@ -813,7 +815,13 @@ export default function CustomerFulfillmentPage({
|
||||
)
|
||||
setBindingInfo(response.data.binding)
|
||||
setBindingConfirmOpen(false)
|
||||
message.success('已提交平台绑定,等待客服处理')
|
||||
if (response.data.task.bindingStatus === 'confirmed') {
|
||||
message.success('平台绑定已确认,等待客服处理')
|
||||
} else if (response.data.task.bindingStatus === 'failed') {
|
||||
message.error(response.data.binding?.message || '虎牙未接受本次绑定')
|
||||
} else {
|
||||
message.info('虎牙已受理绑定,正在等待角色生效,请稍后刷新')
|
||||
}
|
||||
} catch (error) {
|
||||
if (isConnectorSessionExpired(error)) {
|
||||
setBindingSessionExpired(true)
|
||||
@@ -869,7 +877,7 @@ export default function CustomerFulfillmentPage({
|
||||
async function handleSaveProfile() {
|
||||
if (!selectedTask) return
|
||||
if (!profileServerZone.trim() || !profileRoleId.trim() || !profileRoleName.trim()) {
|
||||
message.warning('请完整填写区服、游戏编号和角色名')
|
||||
message.warning('请完整填写区服、游戏角色 UID 和角色名')
|
||||
return
|
||||
}
|
||||
if (!SERVER_ZONE_OPTIONS.includes(profileServerZone.trim())) {
|
||||
@@ -877,7 +885,7 @@ export default function CustomerFulfillmentPage({
|
||||
return
|
||||
}
|
||||
if (!/^\d+$/.test(profileRoleId.trim())) {
|
||||
message.warning('游戏编号只能是数字')
|
||||
message.warning('游戏角色 UID 只能是数字')
|
||||
return
|
||||
}
|
||||
setProfileSaving(true)
|
||||
@@ -913,7 +921,7 @@ export default function CustomerFulfillmentPage({
|
||||
}
|
||||
}
|
||||
|
||||
/** 缺角色 ID 时引导客户把订单号发给客服人工核实。 */
|
||||
/** 角色信息无法自动核对时引导客户把订单号发给客服。 */
|
||||
async function copyOrderNoForSupport() {
|
||||
const text = String(orderNo || selectedTask?.orderNo || '').trim()
|
||||
if (!text) {
|
||||
@@ -922,7 +930,7 @@ export default function CustomerFulfillmentPage({
|
||||
}
|
||||
try {
|
||||
await navigator.clipboard.writeText(text)
|
||||
message.success('订单号已复制,请联系客服核实角色ID')
|
||||
message.success('订单号已复制,请联系客服核实角色信息')
|
||||
} catch {
|
||||
message.error('复制失败,请手动记录订单号后联系客服')
|
||||
}
|
||||
@@ -950,15 +958,20 @@ export default function CustomerFulfillmentPage({
|
||||
profileComplete &&
|
||||
['not_started', 'qr_pending', 'scanned'].includes(selectedTask?.bindingStatus || '')
|
||||
const bindingComparison = bindingInfo?.comparison || null
|
||||
const bindingRoleId = bindingInfo?.bindGameRoleId || selectedTask?.bindGameRoleId || ''
|
||||
// 虎牙 gameRole.roleId 是加密串,客户侧统一展示数值 UID(huyaUid)。
|
||||
const bindingPendingUid = (() => {
|
||||
const comparisonId = String(bindingComparison?.boundRoleId || '').trim()
|
||||
if (/^\d+$/.test(comparisonId)) return comparisonId
|
||||
const huyaUid = String(selectedTask?.huyaUid || '').trim()
|
||||
return /^\d+$/.test(huyaUid) ? huyaUid : comparisonId
|
||||
})()
|
||||
const bindingRoleName = bindingInfo?.bindGameRole || selectedTask?.bindGameRole || ''
|
||||
const currentRoleName = bindingInfo?.bindGameRole || selectedTask?.bindGameRole || ''
|
||||
const pendingRoleName =
|
||||
bindingInfo?.pendingBindGameRole || selectedTask?.pendingBindGameRole || ''
|
||||
const pendingRoleToken =
|
||||
bindingInfo?.pendingBindGameRoleToken || selectedTask?.pendingBindGameRoleToken || ''
|
||||
const bindingRoleName = pendingRoleName || currentRoleName
|
||||
const accountUid = String(selectedTask?.huyaUid || '').trim()
|
||||
const boundRoleIdKind = bindingComparison?.boundRoleIdKind || 'missing'
|
||||
const boundRoleReference =
|
||||
boundRoleIdKind === 'game_role_uid'
|
||||
? `游戏角色 UID ${bindingComparison?.boundRoleId || '未知'}`
|
||||
: boundRoleIdKind === 'huya_role_token'
|
||||
? '平台已返回加密角色标识(不与游戏角色 UID 混用)'
|
||||
: '平台未返回可核对角色标识'
|
||||
const rebindUnchanged = bindingInfo?.rebindUnchanged === true
|
||||
// 换绑被虎牙拒绝或未生效时展示失败原因;若客户已把资料改成与平台当前角色一致,
|
||||
// 比对为 match,则回到正常提交流程,不再显示换绑失败。
|
||||
@@ -969,12 +982,8 @@ export default function CustomerFulfillmentPage({
|
||||
const bindConfirmState = bindingInfo?.bindConfirmState || 'idle'
|
||||
const bindConfirmRejected = bindConfirmState === 'rejected'
|
||||
const bindConfirmPending = bindConfirmState === 'submitting' || bindConfirmState === 'accepted'
|
||||
const bindingRoleIdNumeric = /^\d+$/.test(String(bindingPendingUid || bindingRoleId || '').trim())
|
||||
// 平台返回了绑定角色但没有可核对的角色ID:提示联系客服,不能直接确认或重新扫码。
|
||||
const bindingRequiresSupport =
|
||||
Boolean(bindingInfo) &&
|
||||
(bindingInfo?.requiresSupport ??
|
||||
(Boolean(bindingInfo?.bindGameRole || bindingRoleName) && !bindingRoleIdNumeric))
|
||||
// 只有角色名缺失时才需要人工核实;加密 role token 不再冒充客户游戏角色 UID。
|
||||
const bindingRequiresSupport = Boolean(bindingInfo?.requiresSupport)
|
||||
// 绑定阶段顶部状态条:按 bindingStatus 显式映射,已确认/已过期/失败不再显示(各自有卡片)。
|
||||
const comparisonMismatch =
|
||||
selectedTask?.bindingStatus === 'role_ready' && bindingComparison?.verdict === 'mismatch'
|
||||
@@ -1391,9 +1400,22 @@ export default function CustomerFulfillmentPage({
|
||||
</strong>
|
||||
</div>
|
||||
<div>
|
||||
<span>绑定角色</span>
|
||||
<strong>{bindingRoleName || '未识别到角色'}</strong>
|
||||
<span>虎牙账号 UID</span>
|
||||
<strong>{accountUid || '未获取'}</strong>
|
||||
</div>
|
||||
<div>
|
||||
<span>当前绑定角色</span>
|
||||
<strong>{currentRoleName || '未识别到角色'}</strong>
|
||||
</div>
|
||||
{pendingRoleName ? (
|
||||
<div>
|
||||
<span>本次待确认角色</span>
|
||||
<strong>
|
||||
{pendingRoleName}
|
||||
{pendingRoleToken ? '(平台加密标识已识别)' : ''}
|
||||
</strong>
|
||||
</div>
|
||||
) : null}
|
||||
</div>
|
||||
) : null}
|
||||
|
||||
@@ -1427,8 +1449,8 @@ export default function CustomerFulfillmentPage({
|
||||
<div className="customer-auth-profile" id="customer-profile-form">
|
||||
<p>
|
||||
{profileComplete
|
||||
? '第二步:修改资料后会用最新资料重新核对平台角色,三项完全一致才能提交平台绑定。'
|
||||
: '第二步:请填写游戏角色资料:区服、游戏编号(虎牙账号 UID)与角色名,提交后才能生成绑定二维码。'}
|
||||
? '第二步:修改资料后会用最新资料重新核对平台角色;角色名与区服一致后才能确认绑定。'
|
||||
: '第二步:请填写区服、游戏角色 UID 和角色名。游戏角色 UID 与上方虎牙登录账号 UID 不是同一个编号。'}
|
||||
</p>
|
||||
<div className="customer-profile-form">
|
||||
<label className="customer-collect-label">
|
||||
@@ -1443,13 +1465,13 @@ export default function CustomerFulfillmentPage({
|
||||
options={SERVER_ZONE_OPTIONS.map((value) => ({ value, label: value }))}
|
||||
/>
|
||||
<label className="customer-collect-label">
|
||||
游戏编号 <span>*</span>
|
||||
游戏角色 UID <span>*</span>
|
||||
</label>
|
||||
<Input
|
||||
className="customer-collect-input"
|
||||
value={profileRoleId}
|
||||
onChange={(event) => setProfileRoleId(event.target.value)}
|
||||
placeholder="请输入游戏编号"
|
||||
placeholder="请输入游戏角色 UID"
|
||||
maxLength={64}
|
||||
inputMode="numeric"
|
||||
/>
|
||||
@@ -1521,7 +1543,7 @@ export default function CustomerFulfillmentPage({
|
||||
: '请使用微信APP扫码进行游戏角色绑定'}
|
||||
</p>
|
||||
<p className="customer-binding-qr-hint">
|
||||
扫码后系统会核对平台角色与已填资料;三项完全一致才能提交平台绑定。
|
||||
扫码后系统会核对待确认角色的名称与区服,不会用虎牙账号 UID 代替游戏角色 UID。
|
||||
</p>
|
||||
<p className="customer-binding-qr-tip">
|
||||
{selectedTask?.bindingStatus === 'scanned'
|
||||
@@ -1530,7 +1552,7 @@ export default function CustomerFulfillmentPage({
|
||||
: bindConfirmPending
|
||||
? '已向虎牙提交绑定,正在等待角色生效,请稍候刷新。'
|
||||
: bindingInfo?.rebindRequested
|
||||
? '扫码后请在虎牙弹窗中选中目标角色;选好后点下方「已选好角色,提交换绑」。'
|
||||
? '扫码后请在虎牙弹窗中选中目标角色;选好后点下方「核对平台角色」。'
|
||||
: '请在微信中完成角色绑定确认,再点击下方按钮核对平台角色。'
|
||||
: '扫码后请在微信确认框中核对目标角色。'}
|
||||
</p>
|
||||
@@ -1562,7 +1584,7 @@ export default function CustomerFulfillmentPage({
|
||||
loading={bindingLoading}
|
||||
onClick={() => void handleSubmitRebind()}
|
||||
>
|
||||
已选好角色,提交换绑
|
||||
核对平台角色
|
||||
</Button>
|
||||
) : (
|
||||
<Button
|
||||
@@ -1658,8 +1680,7 @@ export default function CustomerFulfillmentPage({
|
||||
<Space direction="vertical" size={2}>
|
||||
<span>
|
||||
平台角色:{bindingComparison.boundZone || '区服未知'} ·{' '}
|
||||
{bindingComparison.boundRoleName || '角色未知'}(ID{' '}
|
||||
{bindingComparison.boundRoleId || '未知'})
|
||||
{bindingComparison.boundRoleName || '角色未知'} · {boundRoleReference}
|
||||
</span>
|
||||
<span>
|
||||
已填资料:{bindingComparison.customerZone || '区服未填'} ·{' '}
|
||||
@@ -1667,7 +1688,7 @@ export default function CustomerFulfillmentPage({
|
||||
{bindingComparison.customerRoleId || '未填'})
|
||||
</span>
|
||||
<span>
|
||||
三项完全一致才能提交平台绑定;请重新扫码换绑,或上一步修改资料。
|
||||
角色名称与区服一致后才能确认绑定;请重新扫码换绑,或上一步修改资料。
|
||||
</span>
|
||||
{nextRebindText ? (
|
||||
<span>平台预计下次允许换绑:{nextRebindText}</span>
|
||||
@@ -1849,7 +1870,7 @@ export default function CustomerFulfillmentPage({
|
||||
loading={bindingLoading}
|
||||
onClick={() => void handleConfirmBinding()}
|
||||
>
|
||||
提交平台绑定
|
||||
确认绑定此角色
|
||||
</Button>
|
||||
</div>
|
||||
) : (
|
||||
@@ -1873,7 +1894,7 @@ export default function CustomerFulfillmentPage({
|
||||
>
|
||||
<Space direction="vertical" size={14} style={{ width: '100%' }}>
|
||||
<p style={{ margin: 0 }}>
|
||||
请核对两侧区服、角色名称与角色 ID,三项完全一致才能提交平台绑定。
|
||||
请核对角色名称与区服。游戏角色 UID 单独留档,不会与虎牙登录账号 UID 比对。
|
||||
</p>
|
||||
<div className="customer-binding-compare">
|
||||
<div className="customer-binding-compare-side">
|
||||
@@ -1884,11 +1905,11 @@ export default function CustomerFulfillmentPage({
|
||||
</Button>
|
||||
</div>
|
||||
<strong>{bindingComparison?.customerRoleName || '未填写'}</strong>
|
||||
<em>{bindingComparison?.customerRoleId || '未填写角色ID'}</em>
|
||||
<em>{bindingComparison?.customerRoleId || '未填写游戏角色 UID'}</em>
|
||||
</div>
|
||||
<div className="customer-binding-compare-side">
|
||||
<div className="customer-binding-compare-head">
|
||||
<span>平台识别角色</span>
|
||||
<span>{pendingRoleName ? '本次待确认角色' : '平台当前角色'}</span>
|
||||
<Button
|
||||
type="link"
|
||||
size="small"
|
||||
@@ -1899,7 +1920,7 @@ export default function CustomerFulfillmentPage({
|
||||
</Button>
|
||||
</div>
|
||||
<strong>{bindingComparison?.boundRoleName || '未识别到角色'}</strong>
|
||||
<em>{bindingPendingUid || '未获取到角色ID'}</em>
|
||||
<em>{boundRoleReference}</em>
|
||||
</div>
|
||||
</div>
|
||||
</Space>
|
||||
|
||||
@@ -41,7 +41,15 @@ export type SemiAutoTask = {
|
||||
bindGameAccount: string
|
||||
bindGameRole: string
|
||||
bindGameRoleId: string
|
||||
bindGameRoleToken: string
|
||||
platformGameRoleUid: string
|
||||
bindGameChannel: string
|
||||
pendingBindGameAccount: string
|
||||
pendingBindGameRole: string
|
||||
pendingBindGameRoleToken: string
|
||||
pendingBindGameChannel: string
|
||||
roleIdentitySource: string
|
||||
verificationBasis: string
|
||||
customerGameRoleId: string
|
||||
customerGameRoleName: string
|
||||
customerServerZone: string
|
||||
|
||||
@@ -5,7 +5,9 @@ export type CustomerBindingComparison = {
|
||||
customerZone: string
|
||||
boundRoleName: string
|
||||
boundRoleId: string
|
||||
boundRoleIdKind: 'game_role_uid' | 'huya_role_token' | 'missing'
|
||||
boundZone: string
|
||||
verificationBasis: 'role_name_zone' | 'platform_numeric_uid' | 'manual'
|
||||
message: string
|
||||
}
|
||||
|
||||
@@ -42,7 +44,15 @@ export type CustomerSemiAutoTask = {
|
||||
bindGameAccount: string
|
||||
bindGameRole: string
|
||||
bindGameRoleId: string
|
||||
bindGameRoleToken: string
|
||||
platformGameRoleUid: string
|
||||
bindGameChannel: string
|
||||
pendingBindGameAccount: string
|
||||
pendingBindGameRole: string
|
||||
pendingBindGameRoleToken: string
|
||||
pendingBindGameChannel: string
|
||||
roleIdentitySource: string
|
||||
verificationBasis: string
|
||||
customerGameRoleId: string
|
||||
customerGameRoleName: string
|
||||
customerServerZone: string
|
||||
@@ -71,10 +81,19 @@ export type CustomerBindingInfo = {
|
||||
bindGameAccount: string
|
||||
bindGameRole: string
|
||||
bindGameRoleId: string
|
||||
bindGameRoleToken?: string
|
||||
bindGameChannel: string
|
||||
/** 平台角色 ID 是否可核对(纯数字);false 时客户页只提示联系客服。 */
|
||||
pendingBindGameAccount?: string
|
||||
pendingBindGameRole?: string
|
||||
pendingBindGameRoleToken?: string
|
||||
pendingBindGameChannel?: string
|
||||
pendingChangeBindTime?: number
|
||||
pendingChangeBindDay?: number
|
||||
roleIdentitySource?: 'huya_outer_current' | 'huya_inner_pending' | ''
|
||||
verificationBasis?: 'role_name_zone' | 'platform_numeric_uid' | 'manual' | ''
|
||||
/** 平台是否独立返回数值游戏角色 UID;加密 role token 不算。 */
|
||||
roleIdVerified?: boolean
|
||||
/** 已绑定角色但缺少可核对角色 ID,需要客服人工核实。 */
|
||||
/** 平台未返回角色名等可核对事实,需要客服人工核实。 */
|
||||
requiresSupport?: boolean
|
||||
hasExistingBinding: boolean
|
||||
rebindRequested: boolean
|
||||
|
||||
Reference in New Issue
Block a user