feat(履约绑定): 支持工作台修改客户资料、扫码不匹配时间线及确认后斗鱼复核

This commit is contained in:
yml
2026-11-26 16:23:30 +08:00
parent ed91fb7549
commit 917c11f203
14 changed files with 1293 additions and 19 deletions
@@ -147,6 +147,28 @@ export const platformFulfillmentApi = {
`/platform-fulfillment/tasks/${taskId}/bind/manual-confirm`,
{ role_name: roleName, note },
),
verifyBinding: (taskId: number) =>
api.post<PlatformFulfillmentDetail, PlatformFulfillmentDetail>(
`/platform-fulfillment/tasks/${taskId}/bind/verify`,
),
updateCustomerProfile: (
taskId: number,
data: {
customerRoleName: string;
customerPlatform: 'wechat' | 'qq';
customerSystem: 'ios' | 'android';
reopenBinding: boolean;
},
) =>
api.patch<PlatformFulfillmentDetail, PlatformFulfillmentDetail>(
`/platform-fulfillment/tasks/${taskId}/customer-profile`,
{
customer_role_name: data.customerRoleName,
customer_platform: data.customerPlatform,
customer_system: data.customerSystem,
reopen_binding: data.reopenBinding,
},
),
refreshEligibility: (taskId: number) =>
api.post<PlatformFulfillmentDetail, PlatformFulfillmentDetail>(
`/platform-fulfillment/tasks/${taskId}/eligibility/refresh`,
+9
View File
@@ -2555,6 +2555,15 @@ export interface PlatformFulfillmentBindingEvidence {
confirmable: boolean;
targetRole: string;
scannedRole: string;
mismatchedRole?: {
alias: string;
roleName: string;
areaName: string;
platName: string;
channel: string;
expectedRoleName: string;
observedAt: string;
} | null;
baselineRole: string;
samePair: boolean;
actionCurrent: PlatformFulfillmentBindingCandidate | null;