优化履约路由并重命名乐玩通道

This commit is contained in:
yml2213
2026-07-09 10:49:33 +08:00
parent 71602683d2
commit 4d5b0d6fc6
28 changed files with 1448 additions and 53 deletions
@@ -176,7 +176,7 @@ try {
updated_at: now,
})
console.log('已生成快手 Cloud 领取 mock 数据:')
console.log('已生成 kuaishou-lewan 领取 mock 数据:')
console.log(` 91订单号:${orderNo}`)
console.log(` 商品:${productName}`)
console.log(` 当前步骤:${step}`)
@@ -197,7 +197,7 @@ async function ensureKuaishouCloudProfile(timestamp: string) {
const profile = await upsertFulfillmentProfile({
profileKey: 'kuaishou_ct_assisted',
name: '快手 cloud 履约',
name: 'kuaishou-lewan 履约',
executorKey: 'kuaishou_ct_assisted',
requiresClaim: false,
autoDispatch: false,
@@ -243,7 +243,7 @@ function buildMockTaskContext({
return {
profileKey: 'kuaishou_ct_assisted',
profileName: '快手 cloud 履约',
profileName: 'kuaishou-lewan 履约',
skuCode: productName,
skuName: productName,
kuaishouCloudFulfillment: {
@@ -426,7 +426,7 @@ function buildFrontendClaimUrl(token: string, rawBaseUrl: unknown) {
function printHelp() {
console.log(`
生成快手 Cloud 领取 mock 数据:
生成 kuaishou-lewan 领取 mock 数据:
npm run mock:claim
npm run mock:claim -- --step=binding