522
This commit is contained in:
parent
2c6c10b79c
commit
02bf99d229
@ -45,18 +45,25 @@ export type ExpressInterfaceCreateParams = {
|
||||
name: string
|
||||
express_code: string
|
||||
platform_code: string
|
||||
sys_express_code?: string
|
||||
sender_name?: string
|
||||
sender_tel?: string
|
||||
weight?: number
|
||||
weight_type?: number
|
||||
token?: string
|
||||
viewer?: string
|
||||
is_share?: number
|
||||
client_id?: string
|
||||
share_id?: number
|
||||
ispickup?: number
|
||||
shipperno?: string
|
||||
can_use_count?: number
|
||||
province_name?: string
|
||||
city_name?: string
|
||||
district_name?: string
|
||||
address?: string
|
||||
town_name?: string
|
||||
site_code?: string
|
||||
product_type?: string
|
||||
shop_name?: string
|
||||
ext_data?: Record<string, any>
|
||||
}
|
||||
|
||||
@ -39,14 +39,14 @@
|
||||
<div class="split-stack" ref="splitStackRef">
|
||||
<div class="upper-wrapper" :style="detailVisible ? upperPaneStyle : upperPaneFullStyle">
|
||||
<div class="upper-pane-inner">
|
||||
<el-alert
|
||||
<!-- <el-alert
|
||||
v-if="scanHint"
|
||||
class="recheck-hint"
|
||||
:type="scanHintType"
|
||||
:closable="false"
|
||||
show-icon
|
||||
:title="scanHint"
|
||||
/>
|
||||
/> -->
|
||||
|
||||
<!-- 车号命中:订单选择区(对应收货单列表区) -->
|
||||
<template v-if="scanPayload && isCartMatch && cartMatchView">
|
||||
|
||||
@ -1,50 +1,74 @@
|
||||
import pcasCodeData from 'china-division/dist/pcas-code.json'
|
||||
import type { ExpressInterfaceCreateParams } from '@/api/setting.expressInterface/expressInterface'
|
||||
import type { ExpressInterfaceCreateParams } from '@/api/setting.expressinterface/expressInterface'
|
||||
|
||||
/** setting.expressInterface.list 单条记录字段顺序(与接口返回一致) */
|
||||
export const expressInterfaceListFieldOrder = [
|
||||
'id',
|
||||
'warehouse_id',
|
||||
'name',
|
||||
'platform_code',
|
||||
'express_code',
|
||||
'sys_express_code',
|
||||
'express_name',
|
||||
'shop_name',
|
||||
'sender_name',
|
||||
'sender_tel',
|
||||
'province_name',
|
||||
'city_name',
|
||||
'district_name',
|
||||
'address',
|
||||
'town_name',
|
||||
'site_code',
|
||||
'product_type',
|
||||
'weight',
|
||||
'weight_type',
|
||||
'viewer',
|
||||
'client_id',
|
||||
'token',
|
||||
'ispickup',
|
||||
'shipperno',
|
||||
'can_use_count',
|
||||
'share_id',
|
||||
'is_share',
|
||||
'ext_data'
|
||||
] as const
|
||||
|
||||
export const expressInterfaceFieldLabels: Record<string, string> = {
|
||||
id: 'ID',
|
||||
name: '配置名称',
|
||||
express_code: '快递编码',
|
||||
sys_express_code: '系统快递编码',
|
||||
platform_code: '平台编码',
|
||||
sender_name: '发件人',
|
||||
sender_tel: '发件电话',
|
||||
weight: '权重',
|
||||
weight: '默认重量',
|
||||
weight_type: '重量类型',
|
||||
token: 'Token',
|
||||
viewer: '验视人',
|
||||
client_id: '客户端 ID',
|
||||
is_share: '是否共享',
|
||||
ispickup: '上门取件',
|
||||
shipperno: '电子面单客户号',
|
||||
share_id: '共享记录ID',
|
||||
can_use_count: '可用单量',
|
||||
province_name: '省',
|
||||
city_name: '市',
|
||||
district_name: '区/县',
|
||||
address: '详细地址',
|
||||
town_name: '乡镇/街道',
|
||||
site_code: '站点编码',
|
||||
product_type: '快递产品类型',
|
||||
shop_name: '店铺名称',
|
||||
warehouse_id: '仓库ID',
|
||||
ext_data: '扩展数据',
|
||||
express: '关联快递',
|
||||
express_name: '关联快递',
|
||||
express_platform_label: '快递平台'
|
||||
express_platform_label: '快递平台',
|
||||
express_polyapi_extra_info: 'PolyAPI 扩展',
|
||||
express_pdd_code: '拼多多编码'
|
||||
}
|
||||
|
||||
const DETAIL_KEY_ORDER = [
|
||||
'id',
|
||||
'name',
|
||||
'express_code',
|
||||
'platform_code',
|
||||
'weight',
|
||||
'sender_name',
|
||||
'sender_tel',
|
||||
'site_code',
|
||||
'shop_name',
|
||||
'can_use_count',
|
||||
'province_name',
|
||||
'city_name',
|
||||
'district_name',
|
||||
'viewer',
|
||||
'is_share',
|
||||
'share_id',
|
||||
'token',
|
||||
'warehouse_id'
|
||||
]
|
||||
const DETAIL_KEY_ORDER = [...expressInterfaceListFieldOrder]
|
||||
|
||||
export function sortExpressInterfaceDetailKeys(keys: string[]) {
|
||||
const head = DETAIL_KEY_ORDER.filter((k) => keys.includes(k))
|
||||
@ -398,20 +422,125 @@ export function getDistrictNodes(provinceCode: string, cityCode: string): Region
|
||||
|
||||
export const defaultExpressInterfaceForm = {
|
||||
id: undefined as number | undefined,
|
||||
warehouse_id: undefined as number | undefined,
|
||||
name: '',
|
||||
express_code: '',
|
||||
sys_express_code: '',
|
||||
platform_code: '',
|
||||
express_name: '',
|
||||
sender_name: '',
|
||||
sender_tel: '',
|
||||
weight: 1,
|
||||
weight_type: undefined as number | undefined,
|
||||
token: '',
|
||||
viewer: '',
|
||||
is_share: 0,
|
||||
client_id: '',
|
||||
share_id: undefined as number | undefined,
|
||||
ispickup: 0,
|
||||
shipperno: '',
|
||||
can_use_count: undefined as number | undefined,
|
||||
site_code: '',
|
||||
shop_name: '',
|
||||
product_type: '',
|
||||
address: '',
|
||||
town_name: '',
|
||||
ext_data: undefined as Record<string, any> | undefined,
|
||||
province_name: '',
|
||||
city_name: '',
|
||||
district_name: ''
|
||||
district_name: '',
|
||||
/** 列表展示字段,不作为 create/update 入参 */
|
||||
is_share: 0
|
||||
}
|
||||
|
||||
export function parseExpressInterfaceExtData(
|
||||
ext: unknown
|
||||
): Record<string, any> | undefined {
|
||||
if (ext == null || ext === '') return undefined
|
||||
if (typeof ext === 'object') return ext as Record<string, any>
|
||||
if (typeof ext === 'string') {
|
||||
try {
|
||||
const parsed = JSON.parse(ext)
|
||||
return parsed && typeof parsed === 'object' ? parsed : undefined
|
||||
} catch {
|
||||
return undefined
|
||||
}
|
||||
}
|
||||
return undefined
|
||||
}
|
||||
|
||||
function toFormString(val: unknown): string {
|
||||
if (val === null || val === undefined) return ''
|
||||
return String(val).trim()
|
||||
}
|
||||
|
||||
function toFormOptionalNumber(val: unknown): number | undefined {
|
||||
if (val === null || val === undefined || val === '') return undefined
|
||||
const n = Number(val)
|
||||
return Number.isFinite(n) ? n : undefined
|
||||
}
|
||||
|
||||
/** 将 list 接口单条记录写入编辑表单 */
|
||||
export function applyExpressInterfaceRowToForm(
|
||||
form: Record<string, any>,
|
||||
row: Record<string, any>
|
||||
) {
|
||||
const ext = parseExpressInterfaceExtData(row.ext_data)
|
||||
Object.assign(form, {
|
||||
id: row.id,
|
||||
warehouse_id: toFormOptionalNumber(row.warehouse_id),
|
||||
name: toFormString(row.name),
|
||||
express_code: toFormString(row.express_code),
|
||||
sys_express_code: toFormString(row.sys_express_code),
|
||||
platform_code: toFormString(row.platform_code),
|
||||
express_name: toFormString(row.express_name || row.express?.name),
|
||||
sender_name: toFormString(row.sender_name),
|
||||
sender_tel: toFormString(row.sender_tel),
|
||||
weight: toFormOptionalNumber(row.weight) ?? 1,
|
||||
weight_type: toFormOptionalNumber(row.weight_type),
|
||||
token: toFormString(row.token),
|
||||
viewer: toFormString(row.viewer),
|
||||
client_id: toFormString(row.client_id),
|
||||
share_id: toFormOptionalNumber(row.share_id),
|
||||
ispickup: row.ispickup === 1 || row.ispickup === true ? 1 : 0,
|
||||
shipperno: toFormString(row.shipperno),
|
||||
can_use_count: toFormOptionalNumber(row.can_use_count),
|
||||
site_code: toFormString(row.site_code),
|
||||
shop_name: toFormString(row.shop_name),
|
||||
product_type: toFormString(row.product_type),
|
||||
address: toFormString(row.address),
|
||||
town_name: toFormString(row.town_name),
|
||||
province_name: toFormString(row.province_name),
|
||||
city_name: toFormString(row.city_name),
|
||||
district_name: toFormString(row.district_name),
|
||||
ext_data: ext,
|
||||
is_share: row.is_share === 1 || row.is_share === true ? 1 : 0
|
||||
})
|
||||
}
|
||||
|
||||
export function formatExpressInterfaceFormDisplayValue(
|
||||
key: string,
|
||||
val: unknown
|
||||
): string {
|
||||
if (key === 'is_share' || key === 'ispickup') {
|
||||
if (val === 1 || val === true) return '是'
|
||||
if (val === 0 || val === false) return '否'
|
||||
return '--'
|
||||
}
|
||||
if (key === 'ext_data') {
|
||||
if (val == null || val === '') return '--'
|
||||
if (typeof val === 'object') {
|
||||
try {
|
||||
return JSON.stringify(val, null, 2)
|
||||
} catch {
|
||||
return '--'
|
||||
}
|
||||
}
|
||||
return String(val)
|
||||
}
|
||||
if (['can_use_count', 'weight', 'weight_type', 'id', 'warehouse_id', 'share_id'].includes(key)) {
|
||||
return formatExpressInterfaceNumber(val)
|
||||
}
|
||||
return formatExpressInterfaceCell(val)
|
||||
}
|
||||
|
||||
function omitEmptyString(val: unknown): string | undefined {
|
||||
@ -436,13 +565,20 @@ export function buildExpressInterfaceCreatePayload(
|
||||
}
|
||||
|
||||
const optionalStrings = [
|
||||
'sys_express_code',
|
||||
'sender_name',
|
||||
'sender_tel',
|
||||
'token',
|
||||
'viewer',
|
||||
'client_id',
|
||||
'shipperno',
|
||||
'province_name',
|
||||
'city_name',
|
||||
'district_name',
|
||||
'address',
|
||||
'town_name',
|
||||
'site_code',
|
||||
'product_type',
|
||||
'shop_name'
|
||||
] as const
|
||||
for (const key of optionalStrings) {
|
||||
@ -450,11 +586,16 @@ export function buildExpressInterfaceCreatePayload(
|
||||
if (v !== undefined) payload[key] = v
|
||||
}
|
||||
|
||||
const weight = omitOptionalNumber(form.weight)
|
||||
if (weight !== undefined) payload.weight = Math.round(weight)
|
||||
|
||||
const isShare = omitOptionalNumber(form.is_share)
|
||||
if (isShare !== undefined) payload.is_share = isShare
|
||||
const optionalNumbers = ['weight', 'weight_type', 'share_id', 'ispickup', 'can_use_count'] as const
|
||||
for (const key of optionalNumbers) {
|
||||
const n = omitOptionalNumber(form[key])
|
||||
if (n === undefined) continue
|
||||
if (key === 'weight' || key === 'weight_type' || key === 'ispickup' || key === 'can_use_count') {
|
||||
;(payload as Record<string, number>)[key] = Math.round(n)
|
||||
} else {
|
||||
;(payload as Record<string, number>)[key] = n
|
||||
}
|
||||
}
|
||||
|
||||
if (form.ext_data && typeof form.ext_data === 'object') {
|
||||
payload.ext_data = form.ext_data
|
||||
|
||||
@ -120,12 +120,63 @@
|
||||
<el-dialog
|
||||
v-model="dialogVisible"
|
||||
:title="dialogMode === 'create' ? '新增快递接口配置' : '编辑快递接口配置'"
|
||||
width="1080px"
|
||||
:width="dialogMode === 'edit' ? '1160px' : '1080px'"
|
||||
align-center
|
||||
class="config-dialog"
|
||||
:class="{ 'config-dialog--edit': dialogMode === 'edit' }"
|
||||
@close="resetForm"
|
||||
>
|
||||
<el-form ref="formRef" :model="formData" :rules="rules" label-width="120px" class="dialog-form">
|
||||
<el-form ref="formRef" :model="formData" :rules="rules" label-width="128px" class="dialog-form">
|
||||
<div v-if="dialogMode === 'edit'" class="form-section">
|
||||
<div class="form-section-title">列表记录(只读)</div>
|
||||
<el-row :gutter="16">
|
||||
<el-col :span="8">
|
||||
<el-form-item label="ID">
|
||||
<el-input :model-value="formatExpressInterfaceFormDisplayValue('id', formData.id)" readonly />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="仓库ID">
|
||||
<el-input
|
||||
:model-value="formatExpressInterfaceFormDisplayValue('warehouse_id', formData.warehouse_id)"
|
||||
readonly
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="是否共享">
|
||||
<el-input
|
||||
:model-value="formatExpressInterfaceFormDisplayValue('is_share', formData.is_share)"
|
||||
readonly
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="系统快递编码">
|
||||
<el-input v-model="formData.sys_express_code" placeholder="可选,留空由服务端解析" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="关联快递">
|
||||
<el-input :model-value="formData.express_name || '--'" readonly />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col v-if="editExpressRelation" :span="24">
|
||||
<el-descriptions :column="3" border size="small" class="express-inline-desc">
|
||||
<el-descriptions-item label="快递编码">
|
||||
{{ editExpressRelation.code || formData.express_code || '--' }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="快递名称">
|
||||
{{ editExpressRelation.name || formData.express_name || '--' }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="平台">
|
||||
{{ editExpressRelation.platform ?? '--' }}
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</div>
|
||||
|
||||
<div class="form-section">
|
||||
<div class="form-section-title">基础配置</div>
|
||||
<el-row :gutter="16">
|
||||
@ -201,6 +252,11 @@
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col v-if="dialogMode === 'create'" :span="12">
|
||||
<el-form-item label="系统快递编码">
|
||||
<el-input v-model="formData.sys_express_code" placeholder="可选,留空由服务端解析" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col v-for="field in flatServiceFields" :key="field.key" :span="12">
|
||||
<el-form-item
|
||||
class="service-field-item"
|
||||
@ -269,34 +325,70 @@
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col v-if="showSenderNameField" :span="12">
|
||||
<el-col v-if="dialogMode === 'create' || showSenderNameField" :span="12">
|
||||
<el-form-item label="发件人">
|
||||
<el-input v-model="formData.sender_name" placeholder="可选" />
|
||||
<el-input v-model="formData.sender_name" placeholder="可选,最长 50 字符" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col v-if="showSenderTelField" :span="12">
|
||||
<el-col v-if="dialogMode === 'create' || showSenderTelField" :span="12">
|
||||
<el-form-item label="发件电话">
|
||||
<el-input v-model="formData.sender_tel" placeholder="可选" />
|
||||
<el-input v-model="formData.sender_tel" placeholder="可选,最长 11 字符" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col v-if="showRegionField" :span="24">
|
||||
<el-col v-if="dialogMode === 'create' || showRegionField" :span="24">
|
||||
<el-form-item label="省市区">
|
||||
<el-row :gutter="8" class="region-display-row">
|
||||
<el-col :span="8">
|
||||
<el-input :model-value="formData.province_name || ''" readonly placeholder="--" />
|
||||
<el-input
|
||||
v-model="formData.province_name"
|
||||
:readonly="dialogMode !== 'edit' && !!selectedSite"
|
||||
placeholder="省"
|
||||
/>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-input :model-value="formData.city_name || ''" readonly placeholder="--" />
|
||||
<el-input
|
||||
v-model="formData.city_name"
|
||||
:readonly="dialogMode !== 'edit' && !!selectedSite"
|
||||
placeholder="市"
|
||||
/>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-input :model-value="formData.district_name || ''" readonly placeholder="--" />
|
||||
<el-input
|
||||
v-model="formData.district_name"
|
||||
:readonly="dialogMode !== 'edit' && !!selectedSite"
|
||||
placeholder="区/县"
|
||||
/>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col v-if="dialogSiteOptions.length === 0" :span="12">
|
||||
<el-col :span="12">
|
||||
<el-form-item label="详细地址">
|
||||
<el-input
|
||||
v-model="formData.address"
|
||||
:readonly="dialogMode === 'create' && !!selectedSite"
|
||||
placeholder="可选,最长 255 字符"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="乡镇/街道">
|
||||
<el-input v-model="formData.town_name" placeholder="可选,最长 255 字符" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col v-if="dialogMode === 'edit' || dialogSiteOptions.length === 0" :span="12">
|
||||
<el-form-item label="站点编码">
|
||||
<el-input v-model="formData.site_code" placeholder="可选" />
|
||||
<el-input v-model="formData.site_code" placeholder="可选,最长 255 字符" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col v-if="dialogMode === 'edit'" :span="12">
|
||||
<el-form-item label="店铺名称">
|
||||
<el-input v-model="formData.shop_name" placeholder="与 list 返回 shop_name 一致" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col v-if="dialogMode === 'create'" :span="12">
|
||||
<el-form-item label="快递产品类型">
|
||||
<el-input v-model="formData.product_type" placeholder="可选,最长 50 字符" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
@ -306,17 +398,92 @@
|
||||
<div class="form-section-title">接口参数</div>
|
||||
<el-row :gutter="16">
|
||||
<el-col :span="12">
|
||||
<el-form-item label="权重">
|
||||
<el-form-item label="默认重量">
|
||||
<el-input-number v-model="formData.weight" :min="0" :precision="0" :step="1" style="width: 100%" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="重量类型">
|
||||
<el-input-number
|
||||
v-model="formData.weight_type"
|
||||
:min="0"
|
||||
:precision="0"
|
||||
:step="1"
|
||||
style="width: 100%"
|
||||
placeholder="可选"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="验视人">
|
||||
<el-input v-model="formData.viewer" placeholder="可选,最长 50 字符" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="客户端 ID">
|
||||
<el-input v-model="formData.client_id" placeholder="可选,最长 50 字符" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="Token">
|
||||
<el-input v-model="formData.token" placeholder="可选,最长 500 字符" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="电子面单客户号">
|
||||
<el-input v-model="formData.shipperno" placeholder="可选,最长 255 字符" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col v-if="dialogMode === 'edit'" :span="12">
|
||||
<el-form-item label="快递产品类型">
|
||||
<el-input v-model="formData.product_type" placeholder="可选,最长 50 字符" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="可用单量">
|
||||
<el-input-number
|
||||
v-model="formData.can_use_count"
|
||||
:min="0"
|
||||
:precision="0"
|
||||
:step="1"
|
||||
style="width: 100%"
|
||||
placeholder="可选"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="共享记录 ID">
|
||||
<el-input-number
|
||||
v-model="formData.share_id"
|
||||
:min="0"
|
||||
:precision="0"
|
||||
:step="1"
|
||||
style="width: 100%"
|
||||
placeholder="可选"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="上门取件">
|
||||
<el-switch v-model="formData.ispickup" :active-value="1" :inactive-value="0" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</div>
|
||||
|
||||
<!-- <div v-if="dialogMode === 'edit'" class="form-section form-section--last">
|
||||
<div class="form-section-title">扩展数据(ext_data)</div>
|
||||
<el-form-item label="扩展 JSON">
|
||||
<el-input
|
||||
:model-value="editExtDataDisplay"
|
||||
type="textarea"
|
||||
:rows="8"
|
||||
readonly
|
||||
placeholder="无扩展数据"
|
||||
class="ext-data-preview"
|
||||
/>
|
||||
</el-form-item>
|
||||
</div> -->
|
||||
</el-form>
|
||||
<template #footer>
|
||||
<el-button @click="dialogVisible = false">取消</el-button>
|
||||
@ -345,13 +512,14 @@ import {
|
||||
expressInterfaceList,
|
||||
expressInterfaceListByWarehousePlatformCode,
|
||||
expressInterfaceUpdate
|
||||
} from '@/api/setting.expressInterface/expressInterface'
|
||||
} from '@/api/setting.expressinterface/expressInterface'
|
||||
import { useUserStore } from '@/stores/modules/user'
|
||||
import { useSettingsStore } from '@/stores/modules/settings'
|
||||
import { useVerticalSplitPane } from '@/composables/useVerticalSplitPane'
|
||||
import {
|
||||
expressInterfaceColumns,
|
||||
expressInterfaceFieldLabels,
|
||||
expressInterfaceListFieldOrder,
|
||||
expressInterfaceScanFields,
|
||||
expressInterfaceWarehouseColumns,
|
||||
extractPlainWhereValue,
|
||||
@ -359,8 +527,9 @@ import {
|
||||
formatExpressInterfaceData,
|
||||
formatExpressInterfaceNumber,
|
||||
normalizeScanConditionToWhere,
|
||||
sortExpressInterfaceDetailKeys,
|
||||
defaultExpressInterfaceForm,
|
||||
applyExpressInterfaceRowToForm,
|
||||
formatExpressInterfaceFormDisplayValue,
|
||||
buildExpressInterfaceCreatePayload,
|
||||
buildExpressInterfaceUpdatePayload
|
||||
} from './express-interface-config'
|
||||
@ -567,13 +736,20 @@ const detailKeys = computed(() => {
|
||||
const keys = Object.keys(selectedRow.value).filter(
|
||||
(k) => k !== 'express' && !k.startsWith('express_')
|
||||
)
|
||||
return sortExpressInterfaceDetailKeys(keys)
|
||||
const ordered = expressInterfaceListFieldOrder.filter((k) => keys.includes(k))
|
||||
const rest = keys.filter((k) => !expressInterfaceListFieldOrder.includes(k as any)).sort()
|
||||
return [...ordered, ...rest]
|
||||
})
|
||||
|
||||
const dialogVisible = ref(false)
|
||||
const dialogMode = ref<'create' | 'edit'>('create')
|
||||
const formRef = ref<FormInstance>()
|
||||
const formData = reactive<ExpressInterfaceRecord>({ ...defaultExpressInterfaceForm })
|
||||
const editExpressRelation = ref<Record<string, any> | null>(null)
|
||||
|
||||
const editExtDataDisplay = computed(() =>
|
||||
formatExpressInterfaceFormDisplayValue('ext_data', formData.ext_data)
|
||||
)
|
||||
|
||||
const rules = computed<FormRules>(() => {
|
||||
return {
|
||||
@ -581,6 +757,14 @@ const rules = computed<FormRules>(() => {
|
||||
express_code: [
|
||||
{
|
||||
validator: (_rule, value, callback) => {
|
||||
if (dialogMode.value === 'create') {
|
||||
if (value === null || value === undefined || String(value).trim() === '') {
|
||||
callback(new Error('请选择快递编码'))
|
||||
return
|
||||
}
|
||||
callback()
|
||||
return
|
||||
}
|
||||
if (!selectedShopId.value || dialogExpressOptions.value.length === 0) {
|
||||
callback()
|
||||
return
|
||||
@ -641,16 +825,7 @@ function fieldLabel(key: string) {
|
||||
|
||||
function detailValue(key: string) {
|
||||
if (!selectedRow.value) return '--'
|
||||
const v = selectedRow.value[key]
|
||||
if (key === 'is_share') {
|
||||
if (v === 1 || v === true) return '是'
|
||||
if (v === 0 || v === false) return '否'
|
||||
return '--'
|
||||
}
|
||||
if (['can_use_count', 'weight', 'id', 'warehouse_id', 'share_id'].includes(key)) {
|
||||
return formatExpressInterfaceNumber(v)
|
||||
}
|
||||
return formatExpressInterfaceCell(v)
|
||||
return formatExpressInterfaceFormDisplayValue(key, selectedRow.value[key])
|
||||
}
|
||||
|
||||
function isWideKey(key: string) {
|
||||
@ -941,26 +1116,30 @@ async function loadShopExpressOptions(shopId: string | number) {
|
||||
}
|
||||
}
|
||||
|
||||
const addressFieldKeys = ['full_address', 'detail', 'address', 'send_address']
|
||||
|
||||
function handleSiteChange(value: string) {
|
||||
selectedSiteKey.value = value || ''
|
||||
const site = selectedSite.value
|
||||
if (!site) {
|
||||
formData.site_code = ''
|
||||
formData.address = ''
|
||||
return
|
||||
}
|
||||
|
||||
formData.site_code = String(site.branch_code || '').trim()
|
||||
|
||||
if (showSenderNameField.value) {
|
||||
if (dialogMode.value === 'create' || showSenderNameField.value) {
|
||||
formData.sender_name = pickFirstExistingString(site.raw, senderNameFieldKeys)
|
||||
}
|
||||
if (showSenderTelField.value) {
|
||||
if (dialogMode.value === 'create' || showSenderTelField.value) {
|
||||
formData.sender_tel = pickFirstExistingString(site.raw, senderTelFieldKeys)
|
||||
}
|
||||
|
||||
formData.province_name = String(site.raw?.province || '').trim()
|
||||
formData.city_name = String(site.raw?.city || '').trim()
|
||||
formData.district_name = String(site.raw?.district || '').trim()
|
||||
formData.address = pickFirstExistingString(site.raw, addressFieldKeys)
|
||||
}
|
||||
|
||||
function syncExtDataByServiceSelection() {
|
||||
@ -1055,6 +1234,7 @@ function isExternalSharedInterface(row: ExpressInterfaceRecord | null | undefine
|
||||
|
||||
function resetForm() {
|
||||
Object.assign(formData, { ...defaultExpressInterfaceForm })
|
||||
editExpressRelation.value = null
|
||||
serviceValueMap.value = {}
|
||||
formRef.value?.clearValidate()
|
||||
}
|
||||
@ -1085,32 +1265,11 @@ async function openEdit(row: ExpressInterfaceRecord) {
|
||||
shopExpressSitesMap.value = {}
|
||||
selectedSiteKey.value = ''
|
||||
await loadShopOptions()
|
||||
formData.id = row.id
|
||||
formData.name = row.name || ''
|
||||
formData.express_code = row.express_code || ''
|
||||
formData.platform_code = row.platform_code || ''
|
||||
formData.sender_name = row.sender_name || ''
|
||||
formData.sender_tel = row.sender_tel || ''
|
||||
formData.weight = Number(row.weight || 1)
|
||||
formData.site_code = row.site_code || ''
|
||||
formData.shop_name = row.shop_name || ''
|
||||
formData.province_name = row.province_name || ''
|
||||
formData.city_name = row.city_name || ''
|
||||
formData.district_name = row.district_name || ''
|
||||
formData.viewer = row.viewer || ''
|
||||
formData.ext_data =
|
||||
row.ext_data && typeof row.ext_data === 'object'
|
||||
? row.ext_data
|
||||
: (() => {
|
||||
if (typeof row.ext_data !== 'string') return undefined
|
||||
try {
|
||||
return JSON.parse(row.ext_data)
|
||||
} catch {
|
||||
return undefined
|
||||
}
|
||||
})()
|
||||
formData.is_share = row.is_share === 1 || row.is_share === true ? 1 : 0
|
||||
const rowShopId = row.shop_id ?? row.shopId
|
||||
applyExpressInterfaceRowToForm(formData, row)
|
||||
editExpressRelation.value =
|
||||
row.express && typeof row.express === 'object' ? (row.express as Record<string, any>) : null
|
||||
const rowShopId =
|
||||
row.shop_id ?? row.shopId ?? (formData.ext_data as Record<string, any> | undefined)?.shop_id
|
||||
if (rowShopId !== undefined && rowShopId !== null && rowShopId !== '') {
|
||||
selectedShopId.value = rowShopId
|
||||
await loadShopExpressOptions(rowShopId)
|
||||
@ -1395,6 +1554,19 @@ onMounted(async () => {
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.config-dialog--edit :deep(.el-dialog__body) {
|
||||
max-height: min(82vh, 780px);
|
||||
}
|
||||
|
||||
.ext-data-preview :deep(textarea) {
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.express-inline-desc {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.dialog-form {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
@ -8,219 +8,361 @@
|
||||
"message": "登录成功",
|
||||
"success": true,
|
||||
"data": {
|
||||
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywidXNlcm5hbWUiOiJ5am0iLCJyZWFsX25hbWUiOiJ5aW4iLCJwbGF0Zm9ybV9jb2RlIjoid2ViIiwiY3VycmVudF9yb2xlX2lkIjozMSwiY3VycmVudF9zdG9yZV9pZCI6MTAwMDAwLCJpYXQiOjE3NzkzNDg1NTAsImV4cCI6MTc3OTM2Mjk1MH0.iYRttleAIjTcVqr7vSv5otCws2SLX0taP5dhLs8d804"
|
||||
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywidXNlcm5hbWUiOiJ5am0iLCJyZWFsX25hbWUiOiJ5aW4iLCJwbGF0Zm9ybV9jb2RlIjoid2ViIiwiY3VycmVudF9yb2xlX2lkIjozMSwiY3VycmVudF9zdG9yZV9pZCI6MTAwMDAwLCJpYXQiOjE3Nzk0Mjc3MTQsImV4cCI6MTc3OTQ0MjExNH0.tU5NHAQ4wuX7cYz0Idn1MWf9wGTg-FYbVcGLn-JukbU"
|
||||
},
|
||||
"timestamp": 1779348550
|
||||
"timestamp": 1779427714
|
||||
}
|
||||
},
|
||||
{
|
||||
"接口": "order.recheckOrder.scanOrder",
|
||||
"接口": "setting.expressInterface.list",
|
||||
"data": {
|
||||
"flag": "success",
|
||||
"code": 1,
|
||||
"code": 200,
|
||||
"message": "ok",
|
||||
"data": {
|
||||
"match_type": "waybill",
|
||||
"cart_match_view": null,
|
||||
"order_id": 1227,
|
||||
"waybill_no": "YT000000071803",
|
||||
"order": {
|
||||
"id": 1227,
|
||||
"delivery_order_code": "SIM202604272334050174",
|
||||
"pre_delivery_order_code": "",
|
||||
"pre_delivery_order_id": "",
|
||||
"order_type": "JYCK",
|
||||
"warehouse_code": "100000",
|
||||
"order_flag": null,
|
||||
"source_platform_code": "PDD",
|
||||
"source_platform_name": "拼多多",
|
||||
"create_channel": "QM",
|
||||
"source_order_codes": "",
|
||||
"sys_platform_code": "PDD",
|
||||
"sys_platform_name": "拼多多",
|
||||
"create_at": "2026-01-13T15:26:07.000Z",
|
||||
"delete_at": null,
|
||||
"updated_at": "2026-05-09T10:15:17.000Z",
|
||||
"place_order_time": "2026-01-13T15:22:03.000Z",
|
||||
"pay_time": "2026-01-13T15:22:03.000Z",
|
||||
"pay_no": "",
|
||||
"service_code": null,
|
||||
"operator_name": "1",
|
||||
"operate_time": "2026-01-13T15:26:07.000Z",
|
||||
"delivery_time": null,
|
||||
"shop_nick": "火火家de小店",
|
||||
"seller_nick": "1",
|
||||
"buyer_nick": "刘付明仁18022440198",
|
||||
"total_amount": "14.00",
|
||||
"item_amount": "14.00",
|
||||
"discount_amount": "0.00",
|
||||
"freight": "0.00",
|
||||
"ar_amount": "0.00",
|
||||
"got_amount": "0.00",
|
||||
"service_fee": null,
|
||||
"logistics_code": "SFKY",
|
||||
"logistics_name": "顺丰空运",
|
||||
"sys_logistics_code": "SFKY",
|
||||
"sys_logistics_name": "顺丰快运",
|
||||
"basket_number": null,
|
||||
"express_code": "",
|
||||
"logistics_area_code": "",
|
||||
"delivery_type": null,
|
||||
"weight_type": 0,
|
||||
"is_urgency": "N",
|
||||
"invoice_flag": "N",
|
||||
"status": "pedding",
|
||||
"name": "刘思涵",
|
||||
"zip_code": "",
|
||||
"tel": "",
|
||||
"mobile": "18022440198",
|
||||
"email": "",
|
||||
"country_code": "CN",
|
||||
"province": "广东省",
|
||||
"city": "广州市",
|
||||
"area": "白云区",
|
||||
"town": "太和镇",
|
||||
"detail_address": "广东省 广州市 白云区 永平街道 二路131号",
|
||||
"id_type": null,
|
||||
"id_number": null,
|
||||
"oaid": null,
|
||||
"sync_status": "padding",
|
||||
"store_id": 1000000,
|
||||
"warehouse_id": 100000,
|
||||
"from_key": 24869601,
|
||||
"items": "101380+14",
|
||||
"items_count": 1,
|
||||
"items_total": 14,
|
||||
"items_weight": "0.00",
|
||||
"items_hash": "a574cb6624e86e68789ef46c96df99b6",
|
||||
"items_crc": 1694439751,
|
||||
"wave_id": 1777970280348273,
|
||||
"wave_no": "B2026051200007",
|
||||
"wave_strategy_version": 274,
|
||||
"wave_scan_result": 1,
|
||||
"post_status": "fin",
|
||||
"storage_status": "fin",
|
||||
"pick_status": "none",
|
||||
"pack_status": "none",
|
||||
"sended_status": "none",
|
||||
"inspection_status": "padding",
|
||||
"recheck_status": "none",
|
||||
"recheck_time": null,
|
||||
"step": 2,
|
||||
"print_status": "none",
|
||||
"claim_status": "none",
|
||||
"outbound_status": "none",
|
||||
"lock_status": "none",
|
||||
"print_lock_status": "none",
|
||||
"intercept_status": "none"
|
||||
},
|
||||
"items": [
|
||||
"list": [
|
||||
{
|
||||
"id": 862,
|
||||
"order_id": 1227,
|
||||
"actual_price": "1.00",
|
||||
"retail_price": "1.00",
|
||||
"ext_code": "",
|
||||
"inventory_type": "ZP",
|
||||
"item_code": "011000001536",
|
||||
"item_id": 1000652,
|
||||
"item_name": "测试B",
|
||||
"order_line_no": "1",
|
||||
"owner_code": "jky2025102001",
|
||||
"plan_qty": 14,
|
||||
"source_order_code": "",
|
||||
"sub_source_order_code": "",
|
||||
"extend_props": "{\"RealPayMoney\":\"14\",\"shareAmount\":\"14\"}",
|
||||
"stock_id": 101380,
|
||||
"item_snapshot": {
|
||||
"id": 1000652,
|
||||
"width": 0,
|
||||
"height": 0,
|
||||
"length": 0,
|
||||
"volume": 0,
|
||||
"barcode": "011000001536",
|
||||
"stock_id": 101380,
|
||||
"item_code": "011000001536",
|
||||
"item_name": "测试",
|
||||
"item_type": "ZC",
|
||||
"brand_name": "",
|
||||
"goods_code": "01100000",
|
||||
"net_weight": 0,
|
||||
"stock_unit": "个",
|
||||
"category_id": 42,
|
||||
"gross_weight": 0,
|
||||
"retail_price": 0,
|
||||
"sku_property": "红色:XXL:新产品",
|
||||
"category_name": "天豹云仓",
|
||||
"inventory_type": "ZP"
|
||||
"id": 7,
|
||||
"name": "顺丰-拼多多-测试",
|
||||
"express_code": "SF",
|
||||
"sys_express_code": "SF",
|
||||
"warehouse_id": 100000,
|
||||
"platform_code": "PDD",
|
||||
"sender_name": "夏天",
|
||||
"sender_tel": "19124370861",
|
||||
"weight": 2,
|
||||
"weight_type": 0,
|
||||
"viewer": "yjm",
|
||||
"client_id": null,
|
||||
"is_share": 0,
|
||||
"ispickup": 0,
|
||||
"shipperno": null,
|
||||
"ext_data": {
|
||||
"shop_id": 1,
|
||||
"services": [
|
||||
{
|
||||
"required": false,
|
||||
"attributes": [
|
||||
{
|
||||
"value": "1",
|
||||
"type_desc": "{\n \"1\": \"顺丰特快\",\n \"2\": \"顺丰标快\",\n \"5\": \"顺丰次晨\",\n \"6\": \"顺丰即日\",\n \"11\": \"医药安心递\",\n \"12\": \"医药专递\",\n \"13\": \"物流普运\",\n \"15\": \"生鲜速配\",\n \"381\": \"大闸蟹专递\",\n \"18\": \"重货快运\",\n \"26\": \"国际特惠\",\n \"30\": \"三号便利箱/袋\",\n \"31\": \"便利封\",\n \"32\": \"二号便利箱/袋\",\n \"33\": \"岛内件(80CM)\",\n \"34\": \"即日2200\",\n \"36\": \"汇票专送\",\n \"110\": \"证照专递\",\n \"111\": \"顺丰干配\",\n \"112\": \"顺丰空配\",\n \"125\": \"专线普运\",\n \"153\": \"重货专运\",\n \"154\": \"重货包裹\",\n \"155\": \"小票零担\",\n \"195\": \"医药安心递(陆)\",\n \"199\": \"极速包裹\",\n \"200\": \"冷运速配\",\n \"201\": \"冷运特惠\",\n \"202\": \"顺丰微小件\",\n \"203\": \"医药快运\",\n \"204\": \"陆运微小件\",\n \"208\": \"特惠专配\",\n \"231\": \"陆运包裹\",\n \"234\": \"特惠件\",\n \"238\": \"纯重特配\",\n \"247\": \"电商标快\",\n \"250\": \"极置店配\",\n \"251\": \"极置店配(专线)\",\n \"253\": \"前置当日达\",\n \"266\": \"空配\",\n \"255\": \"顺丰卡航\",\n \"283\": \"填舱标快\",\n \"285\": \"填舱电标\",\n \"293\": \"特快包裹(新)\",\n \"314\": \"中国内地集运\",\n \"262\": \"前置标快\",\n \"325\": \"温控包裹\",\n \"323\": \"电商微小件\",\n \"329\": \"填舱大件\",\n \"263\": \"同城半日达\",\n \"331\": \"区域城配\",\n \"229\": \"精温专递\"\n}",
|
||||
"attribute_code": "value",
|
||||
"attribute_name": "时效服务",
|
||||
"attribute_type": "string"
|
||||
}
|
||||
],
|
||||
"service_code": "TIMED-DELIVERY",
|
||||
"service_desc": "时效服务",
|
||||
"service_name": "顺丰快递时效服务"
|
||||
},
|
||||
{
|
||||
"required": false,
|
||||
"attributes": [
|
||||
{
|
||||
"type_desc": "{\"\":\"保鲜服务\"}",
|
||||
"attribute_code": "value",
|
||||
"attribute_name": "保鲜服务",
|
||||
"attribute_type": "enum"
|
||||
}
|
||||
],
|
||||
"service_code": "IN41",
|
||||
"service_desc": "保鲜服务",
|
||||
"service_name": "保鲜服务"
|
||||
},
|
||||
{
|
||||
"required": false,
|
||||
"attributes": [
|
||||
{
|
||||
"type_desc": "{\"\":\"声明批次号\"}",
|
||||
"attribute_code": "value",
|
||||
"attribute_name": "到齐派",
|
||||
"attribute_type": "string"
|
||||
}
|
||||
],
|
||||
"service_code": "IN144",
|
||||
"service_desc": "服务说明:通过下单增值服务中IN144,并加入value的声明批次号内容定义为同一个批次,批次号内容由客户自定义。适用场景:不同仓发货,但同一时间派送。减少多次派件、简化客户收货操作:将原本多次派件、签收简化为集中派件一次签收,为B端商家/C端买家提供更高标准妥投服务。",
|
||||
"service_name": "到齐派"
|
||||
},
|
||||
{
|
||||
"required": false,
|
||||
"attributes": [
|
||||
{
|
||||
"value": "1",
|
||||
"type_desc": "{ \"1\": \"15℃~25℃\", \"12\": \"2℃~8℃\", \"13\": \"非温控\", \"35\": \"-15℃~-255℃\" }",
|
||||
"attribute_code": "value",
|
||||
"attribute_name": "精温专递温度范围",
|
||||
"attribute_type": "enum"
|
||||
}
|
||||
],
|
||||
"service_code": "TEMPERATURE-RANGE",
|
||||
"service_desc": "精温专递温度范围",
|
||||
"service_name": "精温专递温度范围"
|
||||
}
|
||||
],
|
||||
"express_code": "SF",
|
||||
"platform_code": "PDD",
|
||||
"service_values": {
|
||||
"TIMED-DELIVERY": {
|
||||
"value": "1"
|
||||
},
|
||||
"TEMPERATURE-RANGE": {
|
||||
"value": "1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"created_at": "2026-04-27T15:34:12.000Z",
|
||||
"updated_at": "2026-04-27T15:34:12.000Z",
|
||||
"createdAt": "2026-04-27T15:34:12.000Z",
|
||||
"updatedAt": "2026-04-27T15:34:12.000Z",
|
||||
"images": [
|
||||
"https://ye4s.file.gzxunren.com//100000/images/20260423/0EA2A7D58F0EF4EB90CC52A456288DB8.jpg"
|
||||
]
|
||||
}
|
||||
],
|
||||
"expresses": [
|
||||
{
|
||||
"waybill_code": "YT000000071803",
|
||||
"logistics_code": "",
|
||||
"logistics_name": "",
|
||||
"logistics_interface_id": 7
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
{
|
||||
"id": 1373403,
|
||||
"operation_code": "ORDER_STORAGE_ALLOCATE_SUCCESS",
|
||||
"operator_name": "阿猫",
|
||||
"created_at": "2026-05-09 18:15:17",
|
||||
"external_log_type": "NONE",
|
||||
"external_log_id": null,
|
||||
"platform_code": "SYSTEM",
|
||||
"message": "储位分配成功",
|
||||
"operation_name": "分配储位成功",
|
||||
"platform_name": "系统"
|
||||
"province_name": "广东省",
|
||||
"city_name": "广州市",
|
||||
"district_name": "白云区",
|
||||
"address": "均禾大道33号东粤生态园",
|
||||
"town_name": "",
|
||||
"site_code": "526126",
|
||||
"product_type": null,
|
||||
"shop_name": "pdd35498001940",
|
||||
"express": {
|
||||
"code": "SF",
|
||||
"name": "顺丰快递",
|
||||
"polyapi_code": null,
|
||||
"polyapi_extra_info": null,
|
||||
"pdd_code": null,
|
||||
"ks_code": null,
|
||||
"dyxd_code": null
|
||||
},
|
||||
"express_name": "顺丰快递",
|
||||
"express_polyapi_extra_info": null,
|
||||
"express_pdd_code": null
|
||||
},
|
||||
{
|
||||
"id": 1371888,
|
||||
"operation_code": "WAYBILL",
|
||||
"operator_name": "阿猫",
|
||||
"created_at": "2026-05-09 18:14:39",
|
||||
"external_log_type": "API",
|
||||
"external_log_id": null,
|
||||
"platform_code": "web",
|
||||
"message": "订单1227获取快递单成功,单号:YT000000071803",
|
||||
"operation_name": "WAYBILL",
|
||||
"platform_name": "网页后台"
|
||||
"id": 6,
|
||||
"name": "申通-抖音-轻货",
|
||||
"express_code": "STO",
|
||||
"sys_express_code": "STO",
|
||||
"warehouse_id": 100000,
|
||||
"platform_code": "DYXD",
|
||||
"sender_name": "吴先生",
|
||||
"sender_tel": "15197817068",
|
||||
"weight": 1,
|
||||
"weight_type": 0,
|
||||
"viewer": "",
|
||||
"client_id": null,
|
||||
"is_share": 0,
|
||||
"ispickup": 0,
|
||||
"shipperno": null,
|
||||
"ext_data": null,
|
||||
"province_name": "广东省",
|
||||
"city_name": "广州市",
|
||||
"district_name": "白云区",
|
||||
"address": "东凤北路15号01",
|
||||
"town_name": "钟落潭镇",
|
||||
"site_code": "526126",
|
||||
"product_type": null,
|
||||
"shop_name": "仓配小吴哥",
|
||||
"express": {
|
||||
"code": "STO",
|
||||
"name": "申通快递",
|
||||
"polyapi_code": null,
|
||||
"polyapi_extra_info": null,
|
||||
"pdd_code": null,
|
||||
"ks_code": null,
|
||||
"dyxd_code": null
|
||||
},
|
||||
"express_name": "申通快递",
|
||||
"express_polyapi_extra_info": null,
|
||||
"express_pdd_code": null
|
||||
},
|
||||
{
|
||||
"id": 15610,
|
||||
"operation_code": "ORDER_CREATE",
|
||||
"operator_name": null,
|
||||
"created_at": "2026-04-27 23:34:12",
|
||||
"external_log_type": "NONE",
|
||||
"external_log_id": null,
|
||||
"platform_code": "SYSTEM",
|
||||
"message": "订单创建成功,orderId:1227",
|
||||
"operation_name": "创建订单",
|
||||
"platform_name": "系统"
|
||||
"id": 5,
|
||||
"name": "申通-京东-轻货",
|
||||
"express_code": "STO",
|
||||
"sys_express_code": "STO",
|
||||
"warehouse_id": 100000,
|
||||
"platform_code": "JD",
|
||||
"sender_name": "吴旺财",
|
||||
"sender_tel": "15197817068",
|
||||
"weight": 1,
|
||||
"weight_type": 0,
|
||||
"viewer": "良田(申通)",
|
||||
"client_id": null,
|
||||
"is_share": 0,
|
||||
"ispickup": 0,
|
||||
"shipperno": null,
|
||||
"ext_data": null,
|
||||
"province_name": "广东省",
|
||||
"city_name": "广州市",
|
||||
"district_name": "白云区",
|
||||
"address": "钟落潭镇东凤北路15号",
|
||||
"town_name": "钟落潭镇",
|
||||
"site_code": "510902",
|
||||
"product_type": null,
|
||||
"shop_name": "A15197817068",
|
||||
"express": {
|
||||
"code": "STO",
|
||||
"name": "申通快递",
|
||||
"polyapi_code": null,
|
||||
"polyapi_extra_info": null,
|
||||
"pdd_code": null,
|
||||
"ks_code": null,
|
||||
"dyxd_code": null
|
||||
},
|
||||
"express_name": "申通快递",
|
||||
"express_polyapi_extra_info": null,
|
||||
"express_pdd_code": null
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"name": "申通-小红书-轻货",
|
||||
"express_code": "STO",
|
||||
"sys_express_code": "STO",
|
||||
"warehouse_id": 100000,
|
||||
"platform_code": "XHS",
|
||||
"sender_name": "吴先生",
|
||||
"sender_tel": "15197817068",
|
||||
"weight": 1,
|
||||
"weight_type": 0,
|
||||
"viewer": "",
|
||||
"client_id": null,
|
||||
"is_share": 0,
|
||||
"ispickup": 0,
|
||||
"shipperno": null,
|
||||
"ext_data": null,
|
||||
"province_name": "广东省",
|
||||
"city_name": "广州市",
|
||||
"district_name": "白云区",
|
||||
"address": "东凤北路15号",
|
||||
"town_name": "钟落潭镇",
|
||||
"site_code": "510902",
|
||||
"product_type": null,
|
||||
"shop_name": "小红薯656F9E39的店",
|
||||
"express": {
|
||||
"code": "STO",
|
||||
"name": "申通快递",
|
||||
"polyapi_code": null,
|
||||
"polyapi_extra_info": null,
|
||||
"pdd_code": null,
|
||||
"ks_code": null,
|
||||
"dyxd_code": null
|
||||
},
|
||||
"express_name": "申通快递",
|
||||
"express_polyapi_extra_info": null,
|
||||
"express_pdd_code": null
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"name": "申通-视频号-轻货",
|
||||
"express_code": "STO",
|
||||
"sys_express_code": "STO",
|
||||
"warehouse_id": 100000,
|
||||
"platform_code": "SPH",
|
||||
"sender_name": "吴先生",
|
||||
"sender_tel": "15197817068",
|
||||
"weight": 1,
|
||||
"weight_type": 0,
|
||||
"viewer": "",
|
||||
"client_id": null,
|
||||
"is_share": 0,
|
||||
"ispickup": 0,
|
||||
"shipperno": null,
|
||||
"ext_data": null,
|
||||
"province_name": "广东省",
|
||||
"city_name": "广州市",
|
||||
"district_name": "白云区",
|
||||
"address": "钟落潭镇东凤北路15号001",
|
||||
"town_name": "钟落潭镇",
|
||||
"site_code": "526126",
|
||||
"product_type": null,
|
||||
"shop_name": "仓配吴哥",
|
||||
"express": {
|
||||
"code": "STO",
|
||||
"name": "申通快递",
|
||||
"polyapi_code": null,
|
||||
"polyapi_extra_info": null,
|
||||
"pdd_code": null,
|
||||
"ks_code": null,
|
||||
"dyxd_code": null
|
||||
},
|
||||
"express_name": "申通快递",
|
||||
"express_polyapi_extra_info": null,
|
||||
"express_pdd_code": null
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"name": "申通-快手",
|
||||
"express_code": "STO",
|
||||
"sys_express_code": "STO",
|
||||
"warehouse_id": 100000,
|
||||
"platform_code": "KS",
|
||||
"sender_name": "吴先生",
|
||||
"sender_tel": "15197817068",
|
||||
"weight": 1,
|
||||
"weight_type": 0,
|
||||
"viewer": null,
|
||||
"client_id": null,
|
||||
"is_share": 0,
|
||||
"ispickup": 0,
|
||||
"shipperno": null,
|
||||
"ext_data": null,
|
||||
"province_name": "广东省",
|
||||
"city_name": "广州市",
|
||||
"district_name": "白云区",
|
||||
"address": "东凤北路15号001",
|
||||
"town_name": "钟落潭镇",
|
||||
"site_code": "526126",
|
||||
"product_type": null,
|
||||
"shop_name": "仓配吴哥688(天豹云仓@仓配小吴哥)",
|
||||
"express": {
|
||||
"code": "STO",
|
||||
"name": "申通快递",
|
||||
"polyapi_code": null,
|
||||
"polyapi_extra_info": null,
|
||||
"pdd_code": null,
|
||||
"ks_code": null,
|
||||
"dyxd_code": null
|
||||
},
|
||||
"express_name": "申通快递",
|
||||
"express_polyapi_extra_info": null,
|
||||
"express_pdd_code": null
|
||||
}
|
||||
]
|
||||
],
|
||||
"total": 6,
|
||||
"page": 1,
|
||||
"page_size": 20
|
||||
},
|
||||
"timestamp": 1779348550
|
||||
"timestamp": 1779427714
|
||||
}
|
||||
},
|
||||
{
|
||||
"接口": "order.recheckOrder.confirmRecheck",
|
||||
"接口": "setting.expressInterface.listByWarehousePlatformCode",
|
||||
"data": {
|
||||
"flag": "failure",
|
||||
"code": 500,
|
||||
"message": "接口错误: 订单ID不能为空",
|
||||
"data": null,
|
||||
"timestamp": 1779348552
|
||||
"code": 400,
|
||||
"message": "platform_code 参数不能为空",
|
||||
"timestamp": 1779427714
|
||||
}
|
||||
},
|
||||
{
|
||||
"接口": "setting.expressInterface.create",
|
||||
"data": {
|
||||
"flag": "failure",
|
||||
"code": 400,
|
||||
"message": "name 参数不能为空",
|
||||
"timestamp": 1779427714
|
||||
}
|
||||
},
|
||||
{
|
||||
"接口": "setting.expressInterface.update",
|
||||
"data": {
|
||||
"flag": "failure",
|
||||
"code": 400,
|
||||
"message": "id 参数不能为空",
|
||||
"timestamp": 1779427714
|
||||
}
|
||||
},
|
||||
{
|
||||
"接口": "setting.expressInterface.delete",
|
||||
"data": {
|
||||
"flag": "failure",
|
||||
"code": 400,
|
||||
"message": "id 参数不能为空",
|
||||
"timestamp": 1779427714
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@ -8,13 +8,23 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"method": "order.recheckOrder.scanOrder",
|
||||
"body": {
|
||||
"keyword": "YT000000071803"
|
||||
}
|
||||
"method": "setting.expressInterface.list",
|
||||
"body": {}
|
||||
},
|
||||
{
|
||||
"method": "order.recheckOrder.confirmRecheck",
|
||||
"method": "setting.expressInterface.listByWarehousePlatformCode",
|
||||
"body": {}
|
||||
},
|
||||
{
|
||||
"method": "setting.expressInterface.create",
|
||||
"body": {}
|
||||
},
|
||||
{
|
||||
"method": "setting.expressInterface.update",
|
||||
"body": {}
|
||||
},
|
||||
{
|
||||
"method": "setting.expressInterface.delete",
|
||||
"body": {}
|
||||
}
|
||||
],
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
{
|
||||
"数据一览": {
|
||||
"当前请求数": 3,
|
||||
"当前请求数": 6,
|
||||
"成功数": 2,
|
||||
"全部请求数": 3,
|
||||
"成功数与全部请求数": "2/3",
|
||||
"全部请求数": 6,
|
||||
"成功数与全部请求数": "2/6",
|
||||
"成功判定名单": [
|
||||
"ok",
|
||||
"成功",
|
||||
@ -14,18 +14,63 @@
|
||||
],
|
||||
"失败接口": [
|
||||
{
|
||||
"接口": "order.recheckOrder.confirmRecheck",
|
||||
"message": "接口错误: 订单ID不能为空",
|
||||
"code": 500,
|
||||
"模块目录": "order.recheckorder",
|
||||
"接口": "setting.expressInterface.listByWarehousePlatformCode",
|
||||
"message": "platform_code 参数不能为空",
|
||||
"code": 400,
|
||||
"模块目录": "setting.expressinterface",
|
||||
"api封装": [
|
||||
{
|
||||
"文件": "src/api/order.recheckorder/recheckOrder.ts",
|
||||
"方法名": "confirmRecheck"
|
||||
"文件": "src/api/setting.expressinterface/expressInterface.ts",
|
||||
"方法名": "expressInterfaceListByWarehousePlatformCode"
|
||||
}
|
||||
],
|
||||
"引用页面": [
|
||||
"src/views/order/orderreview/index.vue"
|
||||
"src/views/system/setting/expressinterface/index.vue"
|
||||
]
|
||||
},
|
||||
{
|
||||
"接口": "setting.expressInterface.create",
|
||||
"message": "name 参数不能为空",
|
||||
"code": 400,
|
||||
"模块目录": "setting.expressinterface",
|
||||
"api封装": [
|
||||
{
|
||||
"文件": "src/api/setting.expressinterface/expressInterface.ts",
|
||||
"方法名": "expressInterfaceCreate"
|
||||
}
|
||||
],
|
||||
"引用页面": [
|
||||
"src/views/system/setting/expressinterface/index.vue"
|
||||
]
|
||||
},
|
||||
{
|
||||
"接口": "setting.expressInterface.update",
|
||||
"message": "id 参数不能为空",
|
||||
"code": 400,
|
||||
"模块目录": "setting.expressinterface",
|
||||
"api封装": [
|
||||
{
|
||||
"文件": "src/api/setting.expressinterface/expressInterface.ts",
|
||||
"方法名": "expressInterfaceUpdate"
|
||||
}
|
||||
],
|
||||
"引用页面": [
|
||||
"src/views/system/setting/expressinterface/index.vue"
|
||||
]
|
||||
},
|
||||
{
|
||||
"接口": "setting.expressInterface.delete",
|
||||
"message": "id 参数不能为空",
|
||||
"code": 400,
|
||||
"模块目录": "setting.expressinterface",
|
||||
"api封装": [
|
||||
{
|
||||
"文件": "src/api/setting.expressinterface/expressInterface.ts",
|
||||
"方法名": "expressInterfaceDelete"
|
||||
}
|
||||
],
|
||||
"引用页面": [
|
||||
"src/views/system/setting/expressinterface/index.vue"
|
||||
]
|
||||
}
|
||||
],
|
||||
@ -42,223 +87,371 @@
|
||||
"message": "登录成功",
|
||||
"success": true,
|
||||
"data": {
|
||||
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywidXNlcm5hbWUiOiJ5am0iLCJyZWFsX25hbWUiOiJ5aW4iLCJwbGF0Zm9ybV9jb2RlIjoid2ViIiwiY3VycmVudF9yb2xlX2lkIjozMSwiY3VycmVudF9zdG9yZV9pZCI6MTAwMDAwLCJpYXQiOjE3NzkzNDg1NTAsImV4cCI6MTc3OTM2Mjk1MH0.iYRttleAIjTcVqr7vSv5otCws2SLX0taP5dhLs8d804"
|
||||
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywidXNlcm5hbWUiOiJ5am0iLCJyZWFsX25hbWUiOiJ5aW4iLCJwbGF0Zm9ybV9jb2RlIjoid2ViIiwiY3VycmVudF9yb2xlX2lkIjozMSwiY3VycmVudF9zdG9yZV9pZCI6MTAwMDAwLCJpYXQiOjE3Nzk0Mjc3MTQsImV4cCI6MTc3OTQ0MjExNH0.tU5NHAQ4wuX7cYz0Idn1MWf9wGTg-FYbVcGLn-JukbU"
|
||||
},
|
||||
"timestamp": 1779348550
|
||||
"timestamp": 1779427714
|
||||
}
|
||||
},
|
||||
{
|
||||
"接口": "order.recheckOrder.scanOrder",
|
||||
"接口": "setting.expressInterface.list",
|
||||
"message": "ok",
|
||||
"code": 1,
|
||||
"code": 200,
|
||||
"data": {
|
||||
"flag": "success",
|
||||
"code": 1,
|
||||
"code": 200,
|
||||
"message": "ok",
|
||||
"data": {
|
||||
"match_type": "waybill",
|
||||
"cart_match_view": null,
|
||||
"order_id": 1227,
|
||||
"waybill_no": "YT000000071803",
|
||||
"order": {
|
||||
"id": 1227,
|
||||
"delivery_order_code": "SIM202604272334050174",
|
||||
"pre_delivery_order_code": "",
|
||||
"pre_delivery_order_id": "",
|
||||
"order_type": "JYCK",
|
||||
"warehouse_code": "100000",
|
||||
"order_flag": null,
|
||||
"source_platform_code": "PDD",
|
||||
"source_platform_name": "拼多多",
|
||||
"create_channel": "QM",
|
||||
"source_order_codes": "",
|
||||
"sys_platform_code": "PDD",
|
||||
"sys_platform_name": "拼多多",
|
||||
"create_at": "2026-01-13T15:26:07.000Z",
|
||||
"delete_at": null,
|
||||
"updated_at": "2026-05-09T10:15:17.000Z",
|
||||
"place_order_time": "2026-01-13T15:22:03.000Z",
|
||||
"pay_time": "2026-01-13T15:22:03.000Z",
|
||||
"pay_no": "",
|
||||
"service_code": null,
|
||||
"operator_name": "1",
|
||||
"operate_time": "2026-01-13T15:26:07.000Z",
|
||||
"delivery_time": null,
|
||||
"shop_nick": "火火家de小店",
|
||||
"seller_nick": "1",
|
||||
"buyer_nick": "刘付明仁18022440198",
|
||||
"total_amount": "14.00",
|
||||
"item_amount": "14.00",
|
||||
"discount_amount": "0.00",
|
||||
"freight": "0.00",
|
||||
"ar_amount": "0.00",
|
||||
"got_amount": "0.00",
|
||||
"service_fee": null,
|
||||
"logistics_code": "SFKY",
|
||||
"logistics_name": "顺丰空运",
|
||||
"sys_logistics_code": "SFKY",
|
||||
"sys_logistics_name": "顺丰快运",
|
||||
"basket_number": null,
|
||||
"express_code": "",
|
||||
"logistics_area_code": "",
|
||||
"delivery_type": null,
|
||||
"weight_type": 0,
|
||||
"is_urgency": "N",
|
||||
"invoice_flag": "N",
|
||||
"status": "pedding",
|
||||
"name": "刘思涵",
|
||||
"zip_code": "",
|
||||
"tel": "",
|
||||
"mobile": "18022440198",
|
||||
"email": "",
|
||||
"country_code": "CN",
|
||||
"province": "广东省",
|
||||
"city": "广州市",
|
||||
"area": "白云区",
|
||||
"town": "太和镇",
|
||||
"detail_address": "广东省 广州市 白云区 永平街道 二路131号",
|
||||
"id_type": null,
|
||||
"id_number": null,
|
||||
"oaid": null,
|
||||
"sync_status": "padding",
|
||||
"store_id": 1000000,
|
||||
"warehouse_id": 100000,
|
||||
"from_key": 24869601,
|
||||
"items": "101380+14",
|
||||
"items_count": 1,
|
||||
"items_total": 14,
|
||||
"items_weight": "0.00",
|
||||
"items_hash": "a574cb6624e86e68789ef46c96df99b6",
|
||||
"items_crc": 1694439751,
|
||||
"wave_id": 1777970280348273,
|
||||
"wave_no": "B2026051200007",
|
||||
"wave_strategy_version": 274,
|
||||
"wave_scan_result": 1,
|
||||
"post_status": "fin",
|
||||
"storage_status": "fin",
|
||||
"pick_status": "none",
|
||||
"pack_status": "none",
|
||||
"sended_status": "none",
|
||||
"inspection_status": "padding",
|
||||
"recheck_status": "none",
|
||||
"recheck_time": null,
|
||||
"step": 2,
|
||||
"print_status": "none",
|
||||
"claim_status": "none",
|
||||
"outbound_status": "none",
|
||||
"lock_status": "none",
|
||||
"print_lock_status": "none",
|
||||
"intercept_status": "none"
|
||||
},
|
||||
"items": [
|
||||
"list": [
|
||||
{
|
||||
"id": 862,
|
||||
"order_id": 1227,
|
||||
"actual_price": "1.00",
|
||||
"retail_price": "1.00",
|
||||
"ext_code": "",
|
||||
"inventory_type": "ZP",
|
||||
"item_code": "011000001536",
|
||||
"item_id": 1000652,
|
||||
"item_name": "测试B",
|
||||
"order_line_no": "1",
|
||||
"owner_code": "jky2025102001",
|
||||
"plan_qty": 14,
|
||||
"source_order_code": "",
|
||||
"sub_source_order_code": "",
|
||||
"extend_props": "{\"RealPayMoney\":\"14\",\"shareAmount\":\"14\"}",
|
||||
"stock_id": 101380,
|
||||
"item_snapshot": {
|
||||
"id": 1000652,
|
||||
"width": 0,
|
||||
"height": 0,
|
||||
"length": 0,
|
||||
"volume": 0,
|
||||
"barcode": "011000001536",
|
||||
"stock_id": 101380,
|
||||
"item_code": "011000001536",
|
||||
"item_name": "测试",
|
||||
"item_type": "ZC",
|
||||
"brand_name": "",
|
||||
"goods_code": "01100000",
|
||||
"net_weight": 0,
|
||||
"stock_unit": "个",
|
||||
"category_id": 42,
|
||||
"gross_weight": 0,
|
||||
"retail_price": 0,
|
||||
"sku_property": "红色:XXL:新产品",
|
||||
"category_name": "天豹云仓",
|
||||
"inventory_type": "ZP"
|
||||
"id": 7,
|
||||
"name": "顺丰-拼多多-测试",
|
||||
"express_code": "SF",
|
||||
"sys_express_code": "SF",
|
||||
"warehouse_id": 100000,
|
||||
"platform_code": "PDD",
|
||||
"sender_name": "夏天",
|
||||
"sender_tel": "19124370861",
|
||||
"weight": 2,
|
||||
"weight_type": 0,
|
||||
"viewer": "yjm",
|
||||
"client_id": null,
|
||||
"is_share": 0,
|
||||
"ispickup": 0,
|
||||
"shipperno": null,
|
||||
"ext_data": {
|
||||
"shop_id": 1,
|
||||
"services": [
|
||||
{
|
||||
"required": false,
|
||||
"attributes": [
|
||||
{
|
||||
"value": "1",
|
||||
"type_desc": "{\n \"1\": \"顺丰特快\",\n \"2\": \"顺丰标快\",\n \"5\": \"顺丰次晨\",\n \"6\": \"顺丰即日\",\n \"11\": \"医药安心递\",\n \"12\": \"医药专递\",\n \"13\": \"物流普运\",\n \"15\": \"生鲜速配\",\n \"381\": \"大闸蟹专递\",\n \"18\": \"重货快运\",\n \"26\": \"国际特惠\",\n \"30\": \"三号便利箱/袋\",\n \"31\": \"便利封\",\n \"32\": \"二号便利箱/袋\",\n \"33\": \"岛内件(80CM)\",\n \"34\": \"即日2200\",\n \"36\": \"汇票专送\",\n \"110\": \"证照专递\",\n \"111\": \"顺丰干配\",\n \"112\": \"顺丰空配\",\n \"125\": \"专线普运\",\n \"153\": \"重货专运\",\n \"154\": \"重货包裹\",\n \"155\": \"小票零担\",\n \"195\": \"医药安心递(陆)\",\n \"199\": \"极速包裹\",\n \"200\": \"冷运速配\",\n \"201\": \"冷运特惠\",\n \"202\": \"顺丰微小件\",\n \"203\": \"医药快运\",\n \"204\": \"陆运微小件\",\n \"208\": \"特惠专配\",\n \"231\": \"陆运包裹\",\n \"234\": \"特惠件\",\n \"238\": \"纯重特配\",\n \"247\": \"电商标快\",\n \"250\": \"极置店配\",\n \"251\": \"极置店配(专线)\",\n \"253\": \"前置当日达\",\n \"266\": \"空配\",\n \"255\": \"顺丰卡航\",\n \"283\": \"填舱标快\",\n \"285\": \"填舱电标\",\n \"293\": \"特快包裹(新)\",\n \"314\": \"中国内地集运\",\n \"262\": \"前置标快\",\n \"325\": \"温控包裹\",\n \"323\": \"电商微小件\",\n \"329\": \"填舱大件\",\n \"263\": \"同城半日达\",\n \"331\": \"区域城配\",\n \"229\": \"精温专递\"\n}",
|
||||
"attribute_code": "value",
|
||||
"attribute_name": "时效服务",
|
||||
"attribute_type": "string"
|
||||
}
|
||||
],
|
||||
"service_code": "TIMED-DELIVERY",
|
||||
"service_desc": "时效服务",
|
||||
"service_name": "顺丰快递时效服务"
|
||||
},
|
||||
{
|
||||
"required": false,
|
||||
"attributes": [
|
||||
{
|
||||
"type_desc": "{\"\":\"保鲜服务\"}",
|
||||
"attribute_code": "value",
|
||||
"attribute_name": "保鲜服务",
|
||||
"attribute_type": "enum"
|
||||
}
|
||||
],
|
||||
"service_code": "IN41",
|
||||
"service_desc": "保鲜服务",
|
||||
"service_name": "保鲜服务"
|
||||
},
|
||||
{
|
||||
"required": false,
|
||||
"attributes": [
|
||||
{
|
||||
"type_desc": "{\"\":\"声明批次号\"}",
|
||||
"attribute_code": "value",
|
||||
"attribute_name": "到齐派",
|
||||
"attribute_type": "string"
|
||||
}
|
||||
],
|
||||
"service_code": "IN144",
|
||||
"service_desc": "服务说明:通过下单增值服务中IN144,并加入value的声明批次号内容定义为同一个批次,批次号内容由客户自定义。适用场景:不同仓发货,但同一时间派送。减少多次派件、简化客户收货操作:将原本多次派件、签收简化为集中派件一次签收,为B端商家/C端买家提供更高标准妥投服务。",
|
||||
"service_name": "到齐派"
|
||||
},
|
||||
{
|
||||
"required": false,
|
||||
"attributes": [
|
||||
{
|
||||
"value": "1",
|
||||
"type_desc": "{ \"1\": \"15℃~25℃\", \"12\": \"2℃~8℃\", \"13\": \"非温控\", \"35\": \"-15℃~-255℃\" }",
|
||||
"attribute_code": "value",
|
||||
"attribute_name": "精温专递温度范围",
|
||||
"attribute_type": "enum"
|
||||
}
|
||||
],
|
||||
"service_code": "TEMPERATURE-RANGE",
|
||||
"service_desc": "精温专递温度范围",
|
||||
"service_name": "精温专递温度范围"
|
||||
}
|
||||
],
|
||||
"express_code": "SF",
|
||||
"platform_code": "PDD",
|
||||
"service_values": {
|
||||
"TIMED-DELIVERY": {
|
||||
"value": "1"
|
||||
},
|
||||
"TEMPERATURE-RANGE": {
|
||||
"value": "1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"created_at": "2026-04-27T15:34:12.000Z",
|
||||
"updated_at": "2026-04-27T15:34:12.000Z",
|
||||
"createdAt": "2026-04-27T15:34:12.000Z",
|
||||
"updatedAt": "2026-04-27T15:34:12.000Z",
|
||||
"images": [
|
||||
"https://ye4s.file.gzxunren.com//100000/images/20260423/0EA2A7D58F0EF4EB90CC52A456288DB8.jpg"
|
||||
]
|
||||
}
|
||||
],
|
||||
"expresses": [
|
||||
{
|
||||
"waybill_code": "YT000000071803",
|
||||
"logistics_code": "",
|
||||
"logistics_name": "",
|
||||
"logistics_interface_id": 7
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
{
|
||||
"id": 1373403,
|
||||
"operation_code": "ORDER_STORAGE_ALLOCATE_SUCCESS",
|
||||
"operator_name": "阿猫",
|
||||
"created_at": "2026-05-09 18:15:17",
|
||||
"external_log_type": "NONE",
|
||||
"external_log_id": null,
|
||||
"platform_code": "SYSTEM",
|
||||
"message": "储位分配成功",
|
||||
"operation_name": "分配储位成功",
|
||||
"platform_name": "系统"
|
||||
"province_name": "广东省",
|
||||
"city_name": "广州市",
|
||||
"district_name": "白云区",
|
||||
"address": "均禾大道33号东粤生态园",
|
||||
"town_name": "",
|
||||
"site_code": "526126",
|
||||
"product_type": null,
|
||||
"shop_name": "pdd35498001940",
|
||||
"express": {
|
||||
"code": "SF",
|
||||
"name": "顺丰快递",
|
||||
"polyapi_code": null,
|
||||
"polyapi_extra_info": null,
|
||||
"pdd_code": null,
|
||||
"ks_code": null,
|
||||
"dyxd_code": null
|
||||
},
|
||||
"express_name": "顺丰快递",
|
||||
"express_polyapi_extra_info": null,
|
||||
"express_pdd_code": null
|
||||
},
|
||||
{
|
||||
"id": 1371888,
|
||||
"operation_code": "WAYBILL",
|
||||
"operator_name": "阿猫",
|
||||
"created_at": "2026-05-09 18:14:39",
|
||||
"external_log_type": "API",
|
||||
"external_log_id": null,
|
||||
"platform_code": "web",
|
||||
"message": "订单1227获取快递单成功,单号:YT000000071803",
|
||||
"operation_name": "WAYBILL",
|
||||
"platform_name": "网页后台"
|
||||
"id": 6,
|
||||
"name": "申通-抖音-轻货",
|
||||
"express_code": "STO",
|
||||
"sys_express_code": "STO",
|
||||
"warehouse_id": 100000,
|
||||
"platform_code": "DYXD",
|
||||
"sender_name": "吴先生",
|
||||
"sender_tel": "15197817068",
|
||||
"weight": 1,
|
||||
"weight_type": 0,
|
||||
"viewer": "",
|
||||
"client_id": null,
|
||||
"is_share": 0,
|
||||
"ispickup": 0,
|
||||
"shipperno": null,
|
||||
"ext_data": null,
|
||||
"province_name": "广东省",
|
||||
"city_name": "广州市",
|
||||
"district_name": "白云区",
|
||||
"address": "东凤北路15号01",
|
||||
"town_name": "钟落潭镇",
|
||||
"site_code": "526126",
|
||||
"product_type": null,
|
||||
"shop_name": "仓配小吴哥",
|
||||
"express": {
|
||||
"code": "STO",
|
||||
"name": "申通快递",
|
||||
"polyapi_code": null,
|
||||
"polyapi_extra_info": null,
|
||||
"pdd_code": null,
|
||||
"ks_code": null,
|
||||
"dyxd_code": null
|
||||
},
|
||||
"express_name": "申通快递",
|
||||
"express_polyapi_extra_info": null,
|
||||
"express_pdd_code": null
|
||||
},
|
||||
{
|
||||
"id": 15610,
|
||||
"operation_code": "ORDER_CREATE",
|
||||
"operator_name": null,
|
||||
"created_at": "2026-04-27 23:34:12",
|
||||
"external_log_type": "NONE",
|
||||
"external_log_id": null,
|
||||
"platform_code": "SYSTEM",
|
||||
"message": "订单创建成功,orderId:1227",
|
||||
"operation_name": "创建订单",
|
||||
"platform_name": "系统"
|
||||
"id": 5,
|
||||
"name": "申通-京东-轻货",
|
||||
"express_code": "STO",
|
||||
"sys_express_code": "STO",
|
||||
"warehouse_id": 100000,
|
||||
"platform_code": "JD",
|
||||
"sender_name": "吴旺财",
|
||||
"sender_tel": "15197817068",
|
||||
"weight": 1,
|
||||
"weight_type": 0,
|
||||
"viewer": "良田(申通)",
|
||||
"client_id": null,
|
||||
"is_share": 0,
|
||||
"ispickup": 0,
|
||||
"shipperno": null,
|
||||
"ext_data": null,
|
||||
"province_name": "广东省",
|
||||
"city_name": "广州市",
|
||||
"district_name": "白云区",
|
||||
"address": "钟落潭镇东凤北路15号",
|
||||
"town_name": "钟落潭镇",
|
||||
"site_code": "510902",
|
||||
"product_type": null,
|
||||
"shop_name": "A15197817068",
|
||||
"express": {
|
||||
"code": "STO",
|
||||
"name": "申通快递",
|
||||
"polyapi_code": null,
|
||||
"polyapi_extra_info": null,
|
||||
"pdd_code": null,
|
||||
"ks_code": null,
|
||||
"dyxd_code": null
|
||||
},
|
||||
"express_name": "申通快递",
|
||||
"express_polyapi_extra_info": null,
|
||||
"express_pdd_code": null
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"name": "申通-小红书-轻货",
|
||||
"express_code": "STO",
|
||||
"sys_express_code": "STO",
|
||||
"warehouse_id": 100000,
|
||||
"platform_code": "XHS",
|
||||
"sender_name": "吴先生",
|
||||
"sender_tel": "15197817068",
|
||||
"weight": 1,
|
||||
"weight_type": 0,
|
||||
"viewer": "",
|
||||
"client_id": null,
|
||||
"is_share": 0,
|
||||
"ispickup": 0,
|
||||
"shipperno": null,
|
||||
"ext_data": null,
|
||||
"province_name": "广东省",
|
||||
"city_name": "广州市",
|
||||
"district_name": "白云区",
|
||||
"address": "东凤北路15号",
|
||||
"town_name": "钟落潭镇",
|
||||
"site_code": "510902",
|
||||
"product_type": null,
|
||||
"shop_name": "小红薯656F9E39的店",
|
||||
"express": {
|
||||
"code": "STO",
|
||||
"name": "申通快递",
|
||||
"polyapi_code": null,
|
||||
"polyapi_extra_info": null,
|
||||
"pdd_code": null,
|
||||
"ks_code": null,
|
||||
"dyxd_code": null
|
||||
},
|
||||
"express_name": "申通快递",
|
||||
"express_polyapi_extra_info": null,
|
||||
"express_pdd_code": null
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"name": "申通-视频号-轻货",
|
||||
"express_code": "STO",
|
||||
"sys_express_code": "STO",
|
||||
"warehouse_id": 100000,
|
||||
"platform_code": "SPH",
|
||||
"sender_name": "吴先生",
|
||||
"sender_tel": "15197817068",
|
||||
"weight": 1,
|
||||
"weight_type": 0,
|
||||
"viewer": "",
|
||||
"client_id": null,
|
||||
"is_share": 0,
|
||||
"ispickup": 0,
|
||||
"shipperno": null,
|
||||
"ext_data": null,
|
||||
"province_name": "广东省",
|
||||
"city_name": "广州市",
|
||||
"district_name": "白云区",
|
||||
"address": "钟落潭镇东凤北路15号001",
|
||||
"town_name": "钟落潭镇",
|
||||
"site_code": "526126",
|
||||
"product_type": null,
|
||||
"shop_name": "仓配吴哥",
|
||||
"express": {
|
||||
"code": "STO",
|
||||
"name": "申通快递",
|
||||
"polyapi_code": null,
|
||||
"polyapi_extra_info": null,
|
||||
"pdd_code": null,
|
||||
"ks_code": null,
|
||||
"dyxd_code": null
|
||||
},
|
||||
"express_name": "申通快递",
|
||||
"express_polyapi_extra_info": null,
|
||||
"express_pdd_code": null
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"name": "申通-快手",
|
||||
"express_code": "STO",
|
||||
"sys_express_code": "STO",
|
||||
"warehouse_id": 100000,
|
||||
"platform_code": "KS",
|
||||
"sender_name": "吴先生",
|
||||
"sender_tel": "15197817068",
|
||||
"weight": 1,
|
||||
"weight_type": 0,
|
||||
"viewer": null,
|
||||
"client_id": null,
|
||||
"is_share": 0,
|
||||
"ispickup": 0,
|
||||
"shipperno": null,
|
||||
"ext_data": null,
|
||||
"province_name": "广东省",
|
||||
"city_name": "广州市",
|
||||
"district_name": "白云区",
|
||||
"address": "东凤北路15号001",
|
||||
"town_name": "钟落潭镇",
|
||||
"site_code": "526126",
|
||||
"product_type": null,
|
||||
"shop_name": "仓配吴哥688(天豹云仓@仓配小吴哥)",
|
||||
"express": {
|
||||
"code": "STO",
|
||||
"name": "申通快递",
|
||||
"polyapi_code": null,
|
||||
"polyapi_extra_info": null,
|
||||
"pdd_code": null,
|
||||
"ks_code": null,
|
||||
"dyxd_code": null
|
||||
},
|
||||
"express_name": "申通快递",
|
||||
"express_polyapi_extra_info": null,
|
||||
"express_pdd_code": null
|
||||
}
|
||||
]
|
||||
],
|
||||
"total": 6,
|
||||
"page": 1,
|
||||
"page_size": 20
|
||||
},
|
||||
"timestamp": 1779348550
|
||||
"timestamp": 1779427714
|
||||
}
|
||||
},
|
||||
{
|
||||
"接口": "order.recheckOrder.confirmRecheck",
|
||||
"message": "接口错误: 订单ID不能为空",
|
||||
"code": 500,
|
||||
"接口": "setting.expressInterface.listByWarehousePlatformCode",
|
||||
"message": "platform_code 参数不能为空",
|
||||
"code": 400,
|
||||
"data": {
|
||||
"flag": "failure",
|
||||
"code": 500,
|
||||
"message": "接口错误: 订单ID不能为空",
|
||||
"data": null,
|
||||
"timestamp": 1779348552
|
||||
"code": 400,
|
||||
"message": "platform_code 参数不能为空",
|
||||
"timestamp": 1779427714
|
||||
}
|
||||
},
|
||||
{
|
||||
"接口": "setting.expressInterface.create",
|
||||
"message": "name 参数不能为空",
|
||||
"code": 400,
|
||||
"data": {
|
||||
"flag": "failure",
|
||||
"code": 400,
|
||||
"message": "name 参数不能为空",
|
||||
"timestamp": 1779427714
|
||||
}
|
||||
},
|
||||
{
|
||||
"接口": "setting.expressInterface.update",
|
||||
"message": "id 参数不能为空",
|
||||
"code": 400,
|
||||
"data": {
|
||||
"flag": "failure",
|
||||
"code": 400,
|
||||
"message": "id 参数不能为空",
|
||||
"timestamp": 1779427714
|
||||
}
|
||||
},
|
||||
{
|
||||
"接口": "setting.expressInterface.delete",
|
||||
"message": "id 参数不能为空",
|
||||
"code": 400,
|
||||
"data": {
|
||||
"flag": "failure",
|
||||
"code": 400,
|
||||
"message": "id 参数不能为空",
|
||||
"timestamp": 1779427714
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
@ -12,26 +12,99 @@
|
||||
"label": "全部"
|
||||
}
|
||||
},
|
||||
"totalInterfaceCount": 257,
|
||||
"totalInterfaceCount": 261,
|
||||
"changes": {
|
||||
"summary": {
|
||||
"moduleAdded": 0,
|
||||
"moduleDeleted": 0,
|
||||
"moduleUpdated": 0,
|
||||
"interfaceAdded": 0,
|
||||
"moduleUpdated": 2,
|
||||
"interfaceAdded": 4,
|
||||
"interfaceDeleted": 0,
|
||||
"interfaceParamsUpdated": 0,
|
||||
"interfaceParamsUpdated": 2,
|
||||
"interfaceResponseUpdated": 0
|
||||
},
|
||||
"moduleUpdates": {
|
||||
"added": [],
|
||||
"deleted": [],
|
||||
"updated": []
|
||||
"updated": [
|
||||
{
|
||||
"moduleName": "基础模块",
|
||||
"moduleKey": "index",
|
||||
"folder": "index",
|
||||
"previousModuleName": "基础模块",
|
||||
"previousModuleKey": "index",
|
||||
"interfaceChanges": {
|
||||
"addedMethods": [
|
||||
"index.getPlatformOauthLink",
|
||||
"index.getShopExpressList",
|
||||
"index.getShopList",
|
||||
"index.test"
|
||||
],
|
||||
"deletedMethods": [],
|
||||
"paramsUpdatedMethods": [],
|
||||
"responseUpdatedMethods": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"moduleName": "快递接口管理模块",
|
||||
"moduleKey": "setting.expressInterface",
|
||||
"folder": "setting.expressinterface",
|
||||
"previousModuleName": "快递接口管理模块",
|
||||
"previousModuleKey": "setting.expressInterface",
|
||||
"interfaceChanges": {
|
||||
"addedMethods": [],
|
||||
"deletedMethods": [],
|
||||
"paramsUpdatedMethods": [
|
||||
"setting.expressInterface.create",
|
||||
"setting.expressInterface.update"
|
||||
],
|
||||
"responseUpdatedMethods": []
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"interfaceUpdates": {
|
||||
"added": [],
|
||||
"added": [
|
||||
{
|
||||
"moduleName": "基础模块",
|
||||
"moduleKey": "index",
|
||||
"folder": "index",
|
||||
"method": "index.getPlatformOauthLink"
|
||||
},
|
||||
{
|
||||
"moduleName": "基础模块",
|
||||
"moduleKey": "index",
|
||||
"folder": "index",
|
||||
"method": "index.getShopExpressList"
|
||||
},
|
||||
{
|
||||
"moduleName": "基础模块",
|
||||
"moduleKey": "index",
|
||||
"folder": "index",
|
||||
"method": "index.getShopList"
|
||||
},
|
||||
{
|
||||
"moduleName": "基础模块",
|
||||
"moduleKey": "index",
|
||||
"folder": "index",
|
||||
"method": "index.test"
|
||||
}
|
||||
],
|
||||
"deleted": [],
|
||||
"paramsUpdated": [],
|
||||
"paramsUpdated": [
|
||||
{
|
||||
"moduleName": "快递接口管理模块",
|
||||
"moduleKey": "setting.expressInterface",
|
||||
"folder": "setting.expressinterface",
|
||||
"method": "setting.expressInterface.create"
|
||||
},
|
||||
{
|
||||
"moduleName": "快递接口管理模块",
|
||||
"moduleKey": "setting.expressInterface",
|
||||
"folder": "setting.expressinterface",
|
||||
"method": "setting.expressInterface.update"
|
||||
}
|
||||
],
|
||||
"responseUpdated": []
|
||||
}
|
||||
},
|
||||
@ -468,6 +541,182 @@
|
||||
"params": [],
|
||||
"response": []
|
||||
},
|
||||
{
|
||||
"moduleName": "基础模块",
|
||||
"moduleKey": "index",
|
||||
"moduleFolder": "index",
|
||||
"method": "index.getPlatformOauthLink",
|
||||
"title": "获取平台授权链接。入参支持 code / platform_code / platformCode,服务端按首个非空值标准化为大写平台编码;会从当前登录上下文读取仓库 ID(ctx.user.store_id),再从 wms_platform.auth_base_url 读取授权基础地址。接口会优先复用当前仓库与平台下 status=0 的未授权记录;若历史 auth_random_code 带有当前配置前缀,则会先去前缀后以裸码回写,当前数据库最终保存的 auth_random_code 为裸码。若无可复用记录则生成新的裸码并写入 wms_shops。返回的 oauth_link 会从配置 platformOauthReservationCodePrefix 读取前缀(本地示例为 xxxxx_),按“前缀 + 平台编码 + '_' + 裸码”生成 state,并将 URL 编码后的 state 直接拼接到平台基础授权链接后,例如 xxxxx_PDD_<rawCode>。当前仅支持已按上述模式配置好的基础授权链接。",
|
||||
"description": "获取平台授权链接。入参支持 code / platform_code / platformCode,服务端按首个非空值标准化为大写平台编码;会从当前登录上下文读取仓库 ID(ctx.user.store_id),再从 wms_platform.auth_base_url 读取授权基础地址。接口会优先复用当前仓库与平台下 status=0 的未授权记录;若历史 auth_random_code 带有当前配置前缀,则会先去前缀后以裸码回写,当前数据库最终保存的 auth_random_code 为裸码。若无可复用记录则生成新的裸码并写入 wms_shops。返回的 oauth_link 会从配置 platformOauthReservationCodePrefix 读取前缀(本地示例为 xxxxx_),按“前缀 + 平台编码 + '_' + 裸码”生成 state,并将 URL 编码后的 state 直接拼接到平台基础授权链接后,例如 xxxxx_PDD_<rawCode>。当前仅支持已按上述模式配置好的基础授权链接。",
|
||||
"endpoint": "/system",
|
||||
"authRequired": false,
|
||||
"loginRequired": true,
|
||||
"status": {
|
||||
"isUsed": false,
|
||||
"isPlaceholder": false
|
||||
},
|
||||
"headers": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "Bearer token"
|
||||
}
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "code",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "平台编码主字段;与 platform_code / platformCode 三选一即可,服务端按 code -> platform_code -> platformCode 顺序取首个非空值并转为大写"
|
||||
},
|
||||
{
|
||||
"name": "platform_code",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "平台编码下划线别名"
|
||||
},
|
||||
{
|
||||
"name": "platformCode",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "平台编码驼峰别名"
|
||||
}
|
||||
],
|
||||
"response": [
|
||||
{
|
||||
"name": "code",
|
||||
"type": "number",
|
||||
"required": true,
|
||||
"description": "业务状态码,成功时返回 200"
|
||||
},
|
||||
{
|
||||
"name": "data.platform_code",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "标准化后的平台编码"
|
||||
},
|
||||
{
|
||||
"name": "data.oauth_link",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "基于 wms_platform.auth_base_url 构造的授权链接;实际拼接值为 encodeURIComponent(prefix + platform_code + '_' + rawCode),其中 prefix 来自 platformOauthReservationCodePrefix,rawCode 为数据库 auth_random_code 中保存的裸码。基础授权链接需预先配置为可直接追加 state 值的模式。"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"moduleName": "基础模块",
|
||||
"moduleKey": "index",
|
||||
"moduleFolder": "index",
|
||||
"method": "index.getShopExpressList",
|
||||
"title": "获取指定店铺的快递签约/电子面单可用列表。接口依赖当前登录仓库上下文 ctx.user.store_id 校验店铺归属;服务端会按店铺所属平台拉取并收敛可用快递列表,统一返回前端消费结构;未接入的平台当前返回空列表。",
|
||||
"description": "获取指定店铺的快递签约/电子面单可用列表。接口依赖当前登录仓库上下文 ctx.user.store_id 校验店铺归属;服务端会按店铺所属平台拉取并收敛可用快递列表,统一返回前端消费结构;未接入的平台当前返回空列表。",
|
||||
"endpoint": "/system",
|
||||
"authRequired": true,
|
||||
"loginRequired": true,
|
||||
"status": {
|
||||
"isUsed": false,
|
||||
"isPlaceholder": false
|
||||
},
|
||||
"headers": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "Bearer token"
|
||||
}
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "shop_id",
|
||||
"type": "string|number",
|
||||
"required": false,
|
||||
"description": "店铺 ID;与 shopId 兼容,二选一至少传一个。服务端按 shop_id、shopId 的顺序读取首个非空值。"
|
||||
},
|
||||
{
|
||||
"name": "shopId",
|
||||
"type": "string|number",
|
||||
"required": false,
|
||||
"description": "店铺 ID 的驼峰兼容字段;当 shop_id 为空时读取该值。"
|
||||
}
|
||||
],
|
||||
"response": [
|
||||
{
|
||||
"name": "code",
|
||||
"type": "number",
|
||||
"required": true,
|
||||
"description": "业务状态码,成功时返回 200。"
|
||||
},
|
||||
{
|
||||
"name": "message",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "业务提示信息,成功时返回 ok。"
|
||||
},
|
||||
{
|
||||
"name": "data.shop_id",
|
||||
"type": "number",
|
||||
"required": true,
|
||||
"description": "当前店铺 ID。"
|
||||
},
|
||||
{
|
||||
"name": "data.platform_code",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "店铺所属平台编码,返回值按服务端实现转为大写。"
|
||||
},
|
||||
{
|
||||
"name": "data.list",
|
||||
"type": "array",
|
||||
"required": true,
|
||||
"description": "服务端按店铺所属平台拉取并统一收敛后的快递签约/电子面单可用列表;未接入的平台返回空数组。"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"moduleName": "基础模块",
|
||||
"moduleKey": "index",
|
||||
"moduleFolder": "index",
|
||||
"method": "index.getShopList",
|
||||
"title": "获取当前登录仓库下的店铺列表。仓库上下文来自 ctx.user.store_id,不接受额外业务入参;服务端按 status DESC、updated_at DESC、id DESC 排序查询 wms_shops,并对敏感字段完成脱敏后返回 data.list。",
|
||||
"description": "获取当前登录仓库下的店铺列表。仓库上下文来自 ctx.user.store_id,不接受额外业务入参;服务端按 status DESC、updated_at DESC、id DESC 排序查询 wms_shops,并对敏感字段完成脱敏后返回 data.list。",
|
||||
"endpoint": "/system",
|
||||
"authRequired": true,
|
||||
"loginRequired": true,
|
||||
"status": {
|
||||
"isUsed": false,
|
||||
"isPlaceholder": false
|
||||
},
|
||||
"headers": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "Bearer token"
|
||||
}
|
||||
],
|
||||
"params": [],
|
||||
"response": [
|
||||
{
|
||||
"name": "code",
|
||||
"type": "number",
|
||||
"required": true,
|
||||
"description": "业务状态码,成功时返回 200"
|
||||
},
|
||||
{
|
||||
"name": "message",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "业务提示信息,成功时返回 ok"
|
||||
},
|
||||
{
|
||||
"name": "data.list",
|
||||
"type": "array",
|
||||
"required": true,
|
||||
"description": "当前登录仓库下的店铺列表数组;结果按 status DESC、updated_at DESC、id DESC 排序,且 owner_id、access_token、refresh_token、auth_random_code 已按实现规则脱敏。"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"moduleName": "基础模块",
|
||||
"moduleKey": "index",
|
||||
@ -693,6 +942,129 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"moduleName": "基础模块",
|
||||
"moduleKey": "index",
|
||||
"moduleFolder": "index",
|
||||
"method": "index.test",
|
||||
"title": "后台专用的拼多多开放平台测试接口,用于传入请求参数并发起真实请求,返回签名后的请求体和接口响应",
|
||||
"description": "后台专用的拼多多开放平台测试接口,用于传入请求参数并发起真实请求,返回签名后的请求体和接口响应",
|
||||
"endpoint": "/system",
|
||||
"authRequired": false,
|
||||
"loginRequired": false,
|
||||
"status": {
|
||||
"isUsed": false,
|
||||
"isPlaceholder": false
|
||||
},
|
||||
"headers": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "Bearer token"
|
||||
}
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "type",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "拼多多接口名,例如 pdd.order.number.list.get"
|
||||
},
|
||||
{
|
||||
"name": "bizParams",
|
||||
"type": "object",
|
||||
"required": false,
|
||||
"description": "业务参数对象,会参与签名和请求"
|
||||
},
|
||||
{
|
||||
"name": "request",
|
||||
"type": "object",
|
||||
"required": false,
|
||||
"description": "bizParams 兼容字段"
|
||||
},
|
||||
{
|
||||
"name": "accessToken",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "用户授权令牌"
|
||||
},
|
||||
{
|
||||
"name": "access_token",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "accessToken 的下划线命名兼容字段"
|
||||
},
|
||||
{
|
||||
"name": "dataType",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "返回格式,默认 JSON"
|
||||
},
|
||||
{
|
||||
"name": "version",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "API 版本"
|
||||
},
|
||||
{
|
||||
"name": "timestamp",
|
||||
"type": "string|number",
|
||||
"required": false,
|
||||
"description": "时间戳,不传则使用当前秒级时间戳"
|
||||
},
|
||||
{
|
||||
"name": "clientId",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "覆盖配置中的 client_id"
|
||||
},
|
||||
{
|
||||
"name": "clientSecret",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "覆盖配置中的 client_secret"
|
||||
},
|
||||
{
|
||||
"name": "baseUrl",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "请求地址,默认拼多多开放平台网关"
|
||||
},
|
||||
{
|
||||
"name": "headers",
|
||||
"type": "object",
|
||||
"required": false,
|
||||
"description": "额外请求头"
|
||||
},
|
||||
{
|
||||
"name": "timeout",
|
||||
"type": "number",
|
||||
"required": false,
|
||||
"description": "请求超时时间(毫秒)"
|
||||
}
|
||||
],
|
||||
"response": [
|
||||
{
|
||||
"name": "requestBody",
|
||||
"type": "object",
|
||||
"required": false,
|
||||
"description": "实际发送到 PDD 网关的请求体,已包含 sign"
|
||||
},
|
||||
{
|
||||
"name": "response",
|
||||
"type": "any",
|
||||
"required": false,
|
||||
"description": "拼多多接口返回内容"
|
||||
},
|
||||
{
|
||||
"name": "baseUrl",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "实际请求地址"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"moduleName": "基础模块",
|
||||
"moduleKey": "index",
|
||||
@ -7904,12 +8276,6 @@
|
||||
"required": false,
|
||||
"description": "客户端 ID(支持 clientId,可选,最长 50 字符)"
|
||||
},
|
||||
{
|
||||
"name": "is_share",
|
||||
"type": "number",
|
||||
"required": false,
|
||||
"description": "是否共享(支持 isShare;0/1,可选,默认 0)"
|
||||
},
|
||||
{
|
||||
"name": "share_id",
|
||||
"type": "number",
|
||||
@ -7981,6 +8347,12 @@
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "店铺名称/分组标识(支持 shopName,可选,最长 255 字符)"
|
||||
},
|
||||
{
|
||||
"name": "ext_data",
|
||||
"type": "object",
|
||||
"required": false,
|
||||
"description": "扩展信息 JSON(支持 extData),可选,建议传对象"
|
||||
}
|
||||
],
|
||||
"response": [
|
||||
@ -8048,8 +8420,8 @@
|
||||
"moduleKey": "setting.expressInterface",
|
||||
"moduleFolder": "setting.expressinterface",
|
||||
"method": "setting.expressInterface.list",
|
||||
"title": "查询当前仓库范围的快递接口列表,支持 where + pagination;返回 data:{ list, total, page, page_size }。每条记录字段见 children。",
|
||||
"description": "查询当前仓库范围的快递接口列表,支持 where + pagination;返回 data:{ list, total, page, page_size }。每条记录字段见 children。",
|
||||
"title": "查询当前仓库范围的快递接口列表,支持 where + pagination;返回 data:{ list, total, page, page_size }。每条记录字段见 children;列表中的 is_share 为展示字段,不作为编辑入参。",
|
||||
"description": "查询当前仓库范围的快递接口列表,支持 where + pagination;返回 data:{ list, total, page, page_size }。每条记录字段见 children;列表中的 is_share 为展示字段,不作为编辑入参。",
|
||||
"endpoint": "/system",
|
||||
"authRequired": false,
|
||||
"loginRequired": true,
|
||||
@ -8246,12 +8618,6 @@
|
||||
"required": false,
|
||||
"description": "客户端 ID(支持 clientId)"
|
||||
},
|
||||
{
|
||||
"name": "is_share",
|
||||
"type": "number",
|
||||
"required": false,
|
||||
"description": "是否共享(支持 isShare;0/1)"
|
||||
},
|
||||
{
|
||||
"name": "share_id",
|
||||
"type": "number",
|
||||
@ -8323,6 +8689,12 @@
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "店铺名称/分组标识(支持 shopName)"
|
||||
},
|
||||
{
|
||||
"name": "ext_data",
|
||||
"type": "object",
|
||||
"required": false,
|
||||
"description": "扩展信息 JSON(支持 extData)"
|
||||
}
|
||||
],
|
||||
"response": [
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
@ -13,26 +13,99 @@
|
||||
}
|
||||
},
|
||||
"moduleCount": 37,
|
||||
"totalInterfaceCount": 257,
|
||||
"totalInterfaceCount": 261,
|
||||
"changes": {
|
||||
"summary": {
|
||||
"moduleAdded": 0,
|
||||
"moduleDeleted": 0,
|
||||
"moduleUpdated": 0,
|
||||
"interfaceAdded": 0,
|
||||
"moduleUpdated": 2,
|
||||
"interfaceAdded": 4,
|
||||
"interfaceDeleted": 0,
|
||||
"interfaceParamsUpdated": 0,
|
||||
"interfaceParamsUpdated": 2,
|
||||
"interfaceResponseUpdated": 0
|
||||
},
|
||||
"moduleUpdates": {
|
||||
"added": [],
|
||||
"deleted": [],
|
||||
"updated": []
|
||||
"updated": [
|
||||
{
|
||||
"moduleName": "基础模块",
|
||||
"moduleKey": "index",
|
||||
"folder": "index",
|
||||
"previousModuleName": "基础模块",
|
||||
"previousModuleKey": "index",
|
||||
"interfaceChanges": {
|
||||
"addedMethods": [
|
||||
"index.getPlatformOauthLink",
|
||||
"index.getShopExpressList",
|
||||
"index.getShopList",
|
||||
"index.test"
|
||||
],
|
||||
"deletedMethods": [],
|
||||
"paramsUpdatedMethods": [],
|
||||
"responseUpdatedMethods": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"moduleName": "快递接口管理模块",
|
||||
"moduleKey": "setting.expressInterface",
|
||||
"folder": "setting.expressinterface",
|
||||
"previousModuleName": "快递接口管理模块",
|
||||
"previousModuleKey": "setting.expressInterface",
|
||||
"interfaceChanges": {
|
||||
"addedMethods": [],
|
||||
"deletedMethods": [],
|
||||
"paramsUpdatedMethods": [
|
||||
"setting.expressInterface.create",
|
||||
"setting.expressInterface.update"
|
||||
],
|
||||
"responseUpdatedMethods": []
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"interfaceUpdates": {
|
||||
"added": [],
|
||||
"added": [
|
||||
{
|
||||
"moduleName": "基础模块",
|
||||
"moduleKey": "index",
|
||||
"folder": "index",
|
||||
"method": "index.getPlatformOauthLink"
|
||||
},
|
||||
{
|
||||
"moduleName": "基础模块",
|
||||
"moduleKey": "index",
|
||||
"folder": "index",
|
||||
"method": "index.getShopExpressList"
|
||||
},
|
||||
{
|
||||
"moduleName": "基础模块",
|
||||
"moduleKey": "index",
|
||||
"folder": "index",
|
||||
"method": "index.getShopList"
|
||||
},
|
||||
{
|
||||
"moduleName": "基础模块",
|
||||
"moduleKey": "index",
|
||||
"folder": "index",
|
||||
"method": "index.test"
|
||||
}
|
||||
],
|
||||
"deleted": [],
|
||||
"paramsUpdated": [],
|
||||
"paramsUpdated": [
|
||||
{
|
||||
"moduleName": "快递接口管理模块",
|
||||
"moduleKey": "setting.expressInterface",
|
||||
"folder": "setting.expressinterface",
|
||||
"method": "setting.expressInterface.create"
|
||||
},
|
||||
{
|
||||
"moduleName": "快递接口管理模块",
|
||||
"moduleKey": "setting.expressInterface",
|
||||
"folder": "setting.expressinterface",
|
||||
"method": "setting.expressInterface.update"
|
||||
}
|
||||
],
|
||||
"responseUpdated": []
|
||||
}
|
||||
},
|
||||
@ -583,7 +656,7 @@
|
||||
"moduleName": "基础模块",
|
||||
"moduleKey": "index",
|
||||
"folder": "index",
|
||||
"interfaceCount": 14,
|
||||
"interfaceCount": 18,
|
||||
"interfaces": [
|
||||
{
|
||||
"method": "index.fastWhereTree"
|
||||
@ -606,6 +679,9 @@
|
||||
{
|
||||
"method": "index.getMessageDetail"
|
||||
},
|
||||
{
|
||||
"method": "index.test"
|
||||
},
|
||||
{
|
||||
"method": "index.recognizeLicensePlate"
|
||||
},
|
||||
@ -626,6 +702,15 @@
|
||||
},
|
||||
{
|
||||
"method": "index.getLocationTypeList"
|
||||
},
|
||||
{
|
||||
"method": "index.getPlatformOauthLink"
|
||||
},
|
||||
{
|
||||
"method": "index.getShopList"
|
||||
},
|
||||
{
|
||||
"method": "index.getShopExpressList"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-05-21 17:20:44",
|
||||
"updatedAt": "2026-05-22 09:01:36",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-05-21 17:20:44",
|
||||
"updatedAt": "2026-05-22 09:01:36",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-05-21 17:20:44",
|
||||
"updatedAt": "2026-05-22 09:01:36",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
@ -16,14 +16,19 @@
|
||||
"name": "基础模块",
|
||||
"key": "index",
|
||||
"folder": "index",
|
||||
"interfaceCount": 14
|
||||
"interfaceCount": 18
|
||||
},
|
||||
"changes": {
|
||||
"fromPreviousSnapshot": {
|
||||
"moduleAdded": false,
|
||||
"moduleRenamed": false,
|
||||
"interfaceChanges": {
|
||||
"addedMethods": [],
|
||||
"addedMethods": [
|
||||
"index.getPlatformOauthLink",
|
||||
"index.getShopExpressList",
|
||||
"index.getShopList",
|
||||
"index.test"
|
||||
],
|
||||
"deletedMethods": [],
|
||||
"paramsUpdatedMethods": [],
|
||||
"responseUpdatedMethods": []
|
||||
@ -199,6 +204,126 @@
|
||||
"params": [],
|
||||
"response": []
|
||||
},
|
||||
{
|
||||
"method": "index.test",
|
||||
"title": "后台专用的拼多多开放平台测试接口,用于传入请求参数并发起真实请求,返回签名后的请求体和接口响应",
|
||||
"description": "后台专用的拼多多开放平台测试接口,用于传入请求参数并发起真实请求,返回签名后的请求体和接口响应",
|
||||
"endpoint": "/system",
|
||||
"authRequired": false,
|
||||
"loginRequired": false,
|
||||
"status": {
|
||||
"isUsed": false,
|
||||
"isPlaceholder": false
|
||||
},
|
||||
"headers": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "Bearer token"
|
||||
}
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "type",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "拼多多接口名,例如 pdd.order.number.list.get"
|
||||
},
|
||||
{
|
||||
"name": "bizParams",
|
||||
"type": "object",
|
||||
"required": false,
|
||||
"description": "业务参数对象,会参与签名和请求"
|
||||
},
|
||||
{
|
||||
"name": "request",
|
||||
"type": "object",
|
||||
"required": false,
|
||||
"description": "bizParams 兼容字段"
|
||||
},
|
||||
{
|
||||
"name": "accessToken",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "用户授权令牌"
|
||||
},
|
||||
{
|
||||
"name": "access_token",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "accessToken 的下划线命名兼容字段"
|
||||
},
|
||||
{
|
||||
"name": "dataType",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "返回格式,默认 JSON"
|
||||
},
|
||||
{
|
||||
"name": "version",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "API 版本"
|
||||
},
|
||||
{
|
||||
"name": "timestamp",
|
||||
"type": "string|number",
|
||||
"required": false,
|
||||
"description": "时间戳,不传则使用当前秒级时间戳"
|
||||
},
|
||||
{
|
||||
"name": "clientId",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "覆盖配置中的 client_id"
|
||||
},
|
||||
{
|
||||
"name": "clientSecret",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "覆盖配置中的 client_secret"
|
||||
},
|
||||
{
|
||||
"name": "baseUrl",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "请求地址,默认拼多多开放平台网关"
|
||||
},
|
||||
{
|
||||
"name": "headers",
|
||||
"type": "object",
|
||||
"required": false,
|
||||
"description": "额外请求头"
|
||||
},
|
||||
{
|
||||
"name": "timeout",
|
||||
"type": "number",
|
||||
"required": false,
|
||||
"description": "请求超时时间(毫秒)"
|
||||
}
|
||||
],
|
||||
"response": [
|
||||
{
|
||||
"name": "requestBody",
|
||||
"type": "object",
|
||||
"required": false,
|
||||
"description": "实际发送到 PDD 网关的请求体,已包含 sign"
|
||||
},
|
||||
{
|
||||
"name": "response",
|
||||
"type": "any",
|
||||
"required": false,
|
||||
"description": "拼多多接口返回内容"
|
||||
},
|
||||
{
|
||||
"name": "baseUrl",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "实际请求地址"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"method": "index.recognizeLicensePlate",
|
||||
"title": "识别车牌号码(通过 base64 图片)",
|
||||
@ -440,6 +565,173 @@
|
||||
"description": "返回总数"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"method": "index.getPlatformOauthLink",
|
||||
"title": "获取平台授权链接。入参支持 code / platform_code / platformCode,服务端按首个非空值标准化为大写平台编码;会从当前登录上下文读取仓库 ID(ctx.user.store_id),再从 wms_platform.auth_base_url 读取授权基础地址。接口会优先复用当前仓库与平台下 status=0 的未授权记录;若历史 auth_random_code 带有当前配置前缀,则会先去前缀后以裸码回写,当前数据库最终保存的 auth_random_code 为裸码。若无可复用记录则生成新的裸码并写入 wms_shops。返回的 oauth_link 会从配置 platformOauthReservationCodePrefix 读取前缀(本地示例为 xxxxx_),按“前缀 + 平台编码 + '_' + 裸码”生成 state,并将 URL 编码后的 state 直接拼接到平台基础授权链接后,例如 xxxxx_PDD_<rawCode>。当前仅支持已按上述模式配置好的基础授权链接。",
|
||||
"description": "获取平台授权链接。入参支持 code / platform_code / platformCode,服务端按首个非空值标准化为大写平台编码;会从当前登录上下文读取仓库 ID(ctx.user.store_id),再从 wms_platform.auth_base_url 读取授权基础地址。接口会优先复用当前仓库与平台下 status=0 的未授权记录;若历史 auth_random_code 带有当前配置前缀,则会先去前缀后以裸码回写,当前数据库最终保存的 auth_random_code 为裸码。若无可复用记录则生成新的裸码并写入 wms_shops。返回的 oauth_link 会从配置 platformOauthReservationCodePrefix 读取前缀(本地示例为 xxxxx_),按“前缀 + 平台编码 + '_' + 裸码”生成 state,并将 URL 编码后的 state 直接拼接到平台基础授权链接后,例如 xxxxx_PDD_<rawCode>。当前仅支持已按上述模式配置好的基础授权链接。",
|
||||
"endpoint": "/system",
|
||||
"authRequired": false,
|
||||
"loginRequired": true,
|
||||
"status": {
|
||||
"isUsed": false,
|
||||
"isPlaceholder": false
|
||||
},
|
||||
"headers": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "Bearer token"
|
||||
}
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "code",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "平台编码主字段;与 platform_code / platformCode 三选一即可,服务端按 code -> platform_code -> platformCode 顺序取首个非空值并转为大写"
|
||||
},
|
||||
{
|
||||
"name": "platform_code",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "平台编码下划线别名"
|
||||
},
|
||||
{
|
||||
"name": "platformCode",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "平台编码驼峰别名"
|
||||
}
|
||||
],
|
||||
"response": [
|
||||
{
|
||||
"name": "code",
|
||||
"type": "number",
|
||||
"required": true,
|
||||
"description": "业务状态码,成功时返回 200"
|
||||
},
|
||||
{
|
||||
"name": "data.platform_code",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "标准化后的平台编码"
|
||||
},
|
||||
{
|
||||
"name": "data.oauth_link",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "基于 wms_platform.auth_base_url 构造的授权链接;实际拼接值为 encodeURIComponent(prefix + platform_code + '_' + rawCode),其中 prefix 来自 platformOauthReservationCodePrefix,rawCode 为数据库 auth_random_code 中保存的裸码。基础授权链接需预先配置为可直接追加 state 值的模式。"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"method": "index.getShopList",
|
||||
"title": "获取当前登录仓库下的店铺列表。仓库上下文来自 ctx.user.store_id,不接受额外业务入参;服务端按 status DESC、updated_at DESC、id DESC 排序查询 wms_shops,并对敏感字段完成脱敏后返回 data.list。",
|
||||
"description": "获取当前登录仓库下的店铺列表。仓库上下文来自 ctx.user.store_id,不接受额外业务入参;服务端按 status DESC、updated_at DESC、id DESC 排序查询 wms_shops,并对敏感字段完成脱敏后返回 data.list。",
|
||||
"endpoint": "/system",
|
||||
"authRequired": true,
|
||||
"loginRequired": true,
|
||||
"status": {
|
||||
"isUsed": false,
|
||||
"isPlaceholder": false
|
||||
},
|
||||
"headers": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "Bearer token"
|
||||
}
|
||||
],
|
||||
"params": [],
|
||||
"response": [
|
||||
{
|
||||
"name": "code",
|
||||
"type": "number",
|
||||
"required": true,
|
||||
"description": "业务状态码,成功时返回 200"
|
||||
},
|
||||
{
|
||||
"name": "message",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "业务提示信息,成功时返回 ok"
|
||||
},
|
||||
{
|
||||
"name": "data.list",
|
||||
"type": "array",
|
||||
"required": true,
|
||||
"description": "当前登录仓库下的店铺列表数组;结果按 status DESC、updated_at DESC、id DESC 排序,且 owner_id、access_token、refresh_token、auth_random_code 已按实现规则脱敏。"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"method": "index.getShopExpressList",
|
||||
"title": "获取指定店铺的快递签约/电子面单可用列表。接口依赖当前登录仓库上下文 ctx.user.store_id 校验店铺归属;服务端会按店铺所属平台拉取并收敛可用快递列表,统一返回前端消费结构;未接入的平台当前返回空列表。",
|
||||
"description": "获取指定店铺的快递签约/电子面单可用列表。接口依赖当前登录仓库上下文 ctx.user.store_id 校验店铺归属;服务端会按店铺所属平台拉取并收敛可用快递列表,统一返回前端消费结构;未接入的平台当前返回空列表。",
|
||||
"endpoint": "/system",
|
||||
"authRequired": true,
|
||||
"loginRequired": true,
|
||||
"status": {
|
||||
"isUsed": false,
|
||||
"isPlaceholder": false
|
||||
},
|
||||
"headers": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "Bearer token"
|
||||
}
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "shop_id",
|
||||
"type": "string|number",
|
||||
"required": false,
|
||||
"description": "店铺 ID;与 shopId 兼容,二选一至少传一个。服务端按 shop_id、shopId 的顺序读取首个非空值。"
|
||||
},
|
||||
{
|
||||
"name": "shopId",
|
||||
"type": "string|number",
|
||||
"required": false,
|
||||
"description": "店铺 ID 的驼峰兼容字段;当 shop_id 为空时读取该值。"
|
||||
}
|
||||
],
|
||||
"response": [
|
||||
{
|
||||
"name": "code",
|
||||
"type": "number",
|
||||
"required": true,
|
||||
"description": "业务状态码,成功时返回 200。"
|
||||
},
|
||||
{
|
||||
"name": "message",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "业务提示信息,成功时返回 ok。"
|
||||
},
|
||||
{
|
||||
"name": "data.shop_id",
|
||||
"type": "number",
|
||||
"required": true,
|
||||
"description": "当前店铺 ID。"
|
||||
},
|
||||
{
|
||||
"name": "data.platform_code",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "店铺所属平台编码,返回值按服务端实现转为大写。"
|
||||
},
|
||||
{
|
||||
"name": "data.list",
|
||||
"type": "array",
|
||||
"required": true,
|
||||
"description": "服务端按店铺所属平台拉取并统一收敛后的快递签约/电子面单可用列表;未接入的平台返回空数组。"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-05-21 17:20:44",
|
||||
"updatedAt": "2026-05-22 09:01:36",
|
||||
"deletedAt": null,
|
||||
"restoredAt": "2026-04-17 19:16:50"
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-05-21 17:20:44",
|
||||
"updatedAt": "2026-05-22 09:01:36",
|
||||
"deletedAt": null,
|
||||
"restoredAt": "2026-04-17 19:16:50"
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-05-21 17:20:44",
|
||||
"updatedAt": "2026-05-22 09:01:36",
|
||||
"deletedAt": null,
|
||||
"restoredAt": "2026-04-17 19:16:50"
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-05-21 17:20:44",
|
||||
"updatedAt": "2026-05-22 09:01:36",
|
||||
"deletedAt": null,
|
||||
"restoredAt": "2026-04-17 19:16:50"
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-05-21 17:20:44",
|
||||
"updatedAt": "2026-05-22 09:01:36",
|
||||
"deletedAt": null,
|
||||
"restoredAt": "2026-04-17 19:16:50"
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-05-21 17:20:44",
|
||||
"updatedAt": "2026-05-22 09:01:36",
|
||||
"deletedAt": null,
|
||||
"restoredAt": "2026-04-17 19:16:50"
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-05-21 17:20:44",
|
||||
"updatedAt": "2026-05-22 09:01:36",
|
||||
"deletedAt": null,
|
||||
"restoredAt": "2026-04-17 19:16:50"
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-05-21 17:20:44",
|
||||
"updatedAt": "2026-05-22 09:01:36",
|
||||
"deletedAt": null,
|
||||
"restoredAt": "2026-04-17 19:16:50"
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-05-05 09:15:19",
|
||||
"updatedAt": "2026-05-21 17:20:44",
|
||||
"updatedAt": "2026-05-22 09:01:36",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-05-20 08:59:09",
|
||||
"updatedAt": "2026-05-21 17:20:44",
|
||||
"updatedAt": "2026-05-22 09:01:36",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-05-21 17:20:44",
|
||||
"updatedAt": "2026-05-22 09:01:36",
|
||||
"deletedAt": null,
|
||||
"restoredAt": "2026-04-17 19:16:50"
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-05-04 09:11:04",
|
||||
"updatedAt": "2026-05-21 17:20:44",
|
||||
"updatedAt": "2026-05-22 09:01:36",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-05-09 09:52:14",
|
||||
"updatedAt": "2026-05-21 17:20:44",
|
||||
"updatedAt": "2026-05-22 09:01:36",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-05-04 17:23:48",
|
||||
"updatedAt": "2026-05-21 17:20:44",
|
||||
"updatedAt": "2026-05-22 09:01:36",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-05-21 17:20:44",
|
||||
"updatedAt": "2026-05-22 09:01:36",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-05-21 17:20:44",
|
||||
"updatedAt": "2026-05-22 09:01:36",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-05-21 17:20:44",
|
||||
"updatedAt": "2026-05-22 09:01:36",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-17 19:37:49",
|
||||
"updatedAt": "2026-05-21 17:20:44",
|
||||
"updatedAt": "2026-05-22 09:01:36",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-17 20:21:27",
|
||||
"updatedAt": "2026-05-21 17:20:44",
|
||||
"updatedAt": "2026-05-22 09:01:36",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
@ -25,7 +25,10 @@
|
||||
"interfaceChanges": {
|
||||
"addedMethods": [],
|
||||
"deletedMethods": [],
|
||||
"paramsUpdatedMethods": [],
|
||||
"paramsUpdatedMethods": [
|
||||
"setting.expressInterface.create",
|
||||
"setting.expressInterface.update"
|
||||
],
|
||||
"responseUpdatedMethods": []
|
||||
}
|
||||
}
|
||||
@ -33,8 +36,8 @@
|
||||
"interfaces": [
|
||||
{
|
||||
"method": "setting.expressInterface.list",
|
||||
"title": "查询当前仓库范围的快递接口列表,支持 where + pagination;返回 data:{ list, total, page, page_size }。每条记录字段见 children。",
|
||||
"description": "查询当前仓库范围的快递接口列表,支持 where + pagination;返回 data:{ list, total, page, page_size }。每条记录字段见 children。",
|
||||
"title": "查询当前仓库范围的快递接口列表,支持 where + pagination;返回 data:{ list, total, page, page_size }。每条记录字段见 children;列表中的 is_share 为展示字段,不作为编辑入参。",
|
||||
"description": "查询当前仓库范围的快递接口列表,支持 where + pagination;返回 data:{ list, total, page, page_size }。每条记录字段见 children;列表中的 is_share 为展示字段,不作为编辑入参。",
|
||||
"endpoint": "/system",
|
||||
"authRequired": false,
|
||||
"loginRequired": true,
|
||||
@ -219,12 +222,6 @@
|
||||
"required": false,
|
||||
"description": "客户端 ID(支持 clientId,可选,最长 50 字符)"
|
||||
},
|
||||
{
|
||||
"name": "is_share",
|
||||
"type": "number",
|
||||
"required": false,
|
||||
"description": "是否共享(支持 isShare;0/1,可选,默认 0)"
|
||||
},
|
||||
{
|
||||
"name": "share_id",
|
||||
"type": "number",
|
||||
@ -296,6 +293,12 @@
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "店铺名称/分组标识(支持 shopName,可选,最长 255 字符)"
|
||||
},
|
||||
{
|
||||
"name": "ext_data",
|
||||
"type": "object",
|
||||
"required": false,
|
||||
"description": "扩展信息 JSON(支持 extData),可选,建议传对象"
|
||||
}
|
||||
],
|
||||
"response": [
|
||||
@ -399,12 +402,6 @@
|
||||
"required": false,
|
||||
"description": "客户端 ID(支持 clientId)"
|
||||
},
|
||||
{
|
||||
"name": "is_share",
|
||||
"type": "number",
|
||||
"required": false,
|
||||
"description": "是否共享(支持 isShare;0/1)"
|
||||
},
|
||||
{
|
||||
"name": "share_id",
|
||||
"type": "number",
|
||||
@ -476,6 +473,12 @@
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "店铺名称/分组标识(支持 shopName)"
|
||||
},
|
||||
{
|
||||
"name": "ext_data",
|
||||
"type": "object",
|
||||
"required": false,
|
||||
"description": "扩展信息 JSON(支持 extData)"
|
||||
}
|
||||
],
|
||||
"response": [
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-05-21 17:20:44",
|
||||
"updatedAt": "2026-05-22 09:01:36",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-17 19:16:50",
|
||||
"updatedAt": "2026-05-21 17:20:44",
|
||||
"updatedAt": "2026-05-22 09:01:36",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-05-21 17:20:44",
|
||||
"updatedAt": "2026-05-22 09:01:36",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-05-21 17:20:44",
|
||||
"updatedAt": "2026-05-22 09:01:36",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-05-04 09:11:04",
|
||||
"updatedAt": "2026-05-21 17:20:44",
|
||||
"updatedAt": "2026-05-22 09:01:36",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-05-21 17:20:44",
|
||||
"updatedAt": "2026-05-22 09:01:36",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-05-21 17:20:44",
|
||||
"updatedAt": "2026-05-22 09:01:36",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-05-21 17:20:44",
|
||||
"updatedAt": "2026-05-22 09:01:36",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-05-15 17:32:36",
|
||||
"updatedAt": "2026-05-21 17:20:44",
|
||||
"updatedAt": "2026-05-22 09:01:36",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-05-21 17:20:44",
|
||||
"updatedAt": "2026-05-22 09:01:36",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-05-21 17:20:44",
|
||||
"updatedAt": "2026-05-22 09:01:36",
|
||||
"deletedAt": null,
|
||||
"restoredAt": "2026-04-17 19:16:50"
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-05-21 17:20:44",
|
||||
"updatedAt": "2026-05-22 09:01:36",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-05-21 17:20:44",
|
||||
"updatedAt": "2026-05-22 09:01:36",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-05-21 17:20:44",
|
||||
"updatedAt": "2026-05-22 09:01:36",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-05-21 17:20:44",
|
||||
"updatedAt": "2026-05-22 09:01:36",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 17:20:44",
|
||||
"generatedAtLocal": "2026-05-21 17:20:44",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-21 09:16:36",
|
||||
"generatedAtLocal": "2026-05-21 09:16:36",
|
||||
"generatedAt": "2026-05-22 09:01:36",
|
||||
"generatedAtLocal": "2026-05-22 09:01:36",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
@ -15,36 +15,54 @@
|
||||
"summary": {
|
||||
"moduleAdded": 0,
|
||||
"moduleDeleted": 0,
|
||||
"interfaceAdded": 2,
|
||||
"interfaceDeleted": 1,
|
||||
"interfaceParamsUpdated": 0,
|
||||
"interfaceAdded": 4,
|
||||
"interfaceDeleted": 0,
|
||||
"interfaceParamsUpdated": 2,
|
||||
"interfaceResponseUpdated": 0,
|
||||
"totalChangedItems": 3
|
||||
"totalChangedItems": 6
|
||||
},
|
||||
"interfaceUpdates": {
|
||||
"added": [
|
||||
{
|
||||
"moduleName": "订单复核模块",
|
||||
"moduleKey": "order.recheckOrder",
|
||||
"folder": "order.recheckorder",
|
||||
"method": "order.recheckOrder.scanOrder"
|
||||
"moduleName": "基础模块",
|
||||
"moduleKey": "index",
|
||||
"folder": "index",
|
||||
"method": "index.getPlatformOauthLink"
|
||||
},
|
||||
{
|
||||
"moduleName": "货主-仓库签约模块",
|
||||
"moduleKey": "storeWarehouse.store",
|
||||
"folder": "storewarehouse.store",
|
||||
"method": "storeWarehouse.store.queryPrintQuantityLogs"
|
||||
}
|
||||
],
|
||||
"deleted": [
|
||||
"moduleName": "基础模块",
|
||||
"moduleKey": "index",
|
||||
"folder": "index",
|
||||
"method": "index.getShopExpressList"
|
||||
},
|
||||
{
|
||||
"moduleName": "订单复核模块",
|
||||
"moduleKey": "order.recheckOrder",
|
||||
"folder": "order.recheckorder",
|
||||
"method": "order.recheckOrder.scanWaybill"
|
||||
"moduleName": "基础模块",
|
||||
"moduleKey": "index",
|
||||
"folder": "index",
|
||||
"method": "index.getShopList"
|
||||
},
|
||||
{
|
||||
"moduleName": "基础模块",
|
||||
"moduleKey": "index",
|
||||
"folder": "index",
|
||||
"method": "index.test"
|
||||
}
|
||||
],
|
||||
"deleted": [],
|
||||
"paramsUpdated": [
|
||||
{
|
||||
"moduleName": "快递接口管理模块",
|
||||
"moduleKey": "setting.expressInterface",
|
||||
"folder": "setting.expressinterface",
|
||||
"method": "setting.expressInterface.create"
|
||||
},
|
||||
{
|
||||
"moduleName": "快递接口管理模块",
|
||||
"moduleKey": "setting.expressInterface",
|
||||
"folder": "setting.expressinterface",
|
||||
"method": "setting.expressInterface.update"
|
||||
}
|
||||
],
|
||||
"paramsUpdated": [],
|
||||
"responseUpdated": []
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user