feat(履约绑定): 支持工作台修改客户资料、扫码不匹配时间线及确认后斗鱼复核
This commit is contained in:
@@ -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`,
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user