feat(douyu): 新增客户领取与角色绑定工作台
This commit is contained in:
@@ -103,6 +103,7 @@ export type DevDouyuFulfillmentMockResult = {
|
||||
configId: number
|
||||
mappingId: number
|
||||
skuKey: string
|
||||
customerPath: string
|
||||
adminPath: string
|
||||
tips: string[]
|
||||
}
|
||||
@@ -976,6 +977,12 @@ export async function createDouyuFulfillmentMock(
|
||||
},
|
||||
configNote: '开发 Mock:斗鱼直播账号履约',
|
||||
})
|
||||
await query(
|
||||
`UPDATE manual_fulfillment_configs
|
||||
SET douyu_fulfillment_enabled = TRUE, updated_at = NOW()
|
||||
WHERE id = $1`,
|
||||
[persisted.configId],
|
||||
)
|
||||
|
||||
const verification = await query<{
|
||||
semi_auto_task_count: number
|
||||
@@ -1004,6 +1011,7 @@ export async function createDouyuFulfillmentMock(
|
||||
platform: 'douyu',
|
||||
pipeline: 'order_service',
|
||||
...persisted,
|
||||
customerPath: `/coll/d/${encodeURIComponent(persisted.orderNo)}`,
|
||||
adminPath: `/admin/orders/${persisted.orderId}`,
|
||||
tips: [
|
||||
'订单已通过 upsertOrderFromSource 正式入库。',
|
||||
|
||||
Reference in New Issue
Block a user