526
This commit is contained in:
parent
e54e3e7745
commit
d7d57446e0
@ -531,7 +531,7 @@ export function fillStoreScanFieldOptions(availableFields: any[], rawStores: any
|
|||||||
// deliveryOrder相关配置
|
// deliveryOrder相关配置
|
||||||
export const deliveryAvailableFields = [
|
export const deliveryAvailableFields = [
|
||||||
{ label: '货主', value: 'store_id', type: 'select', multiple: true, options: [] },
|
{ label: '货主', value: 'store_id', type: 'select', multiple: true, options: [] },
|
||||||
{ label: '订单号', value: 'delivery_order_code', type: 'text' },
|
{ label: '发货单号', value: 'delivery_order_code', type: 'text' },
|
||||||
{ label: '订单标记', value: 'order_flag', type: 'text', operators: ['like', 'notlike'], defaultOperator: 'like' },
|
{ label: '订单标记', value: 'order_flag', type: 'text', operators: ['like', 'notlike'], defaultOperator: 'like' },
|
||||||
waveAssignmentScanField,
|
waveAssignmentScanField,
|
||||||
{ label: '波次号', value: 'wave_no', type: 'text' },
|
{ label: '波次号', value: 'wave_no', type: 'text' },
|
||||||
@ -773,7 +773,7 @@ export const outboundToolbarButtons = pickToolbarButtons(outboundToolbarButtonKe
|
|||||||
// pendingOrder相关配置
|
// pendingOrder相关配置
|
||||||
export const pendingAvailableFields = [
|
export const pendingAvailableFields = [
|
||||||
{ label: '货主', value: 'store_id', type: 'select', multiple: true, options: [] },
|
{ label: '货主', value: 'store_id', type: 'select', multiple: true, options: [] },
|
||||||
{ label: '订单号', value: 'order_code', type: 'text' },
|
{ label: '发货单号', value: 'order_code', type: 'text' },
|
||||||
{ label: '订单标记', value: 'order_flag', type: 'text', operators: ['like', 'notlike'], defaultOperator: 'like' },
|
{ label: '订单标记', value: 'order_flag', type: 'text', operators: ['like', 'notlike'], defaultOperator: 'like' },
|
||||||
waveAssignmentScanField,
|
waveAssignmentScanField,
|
||||||
{ label: '波次号', value: 'wave_no', type: 'text' },
|
{ label: '波次号', value: 'wave_no', type: 'text' },
|
||||||
@ -1004,7 +1004,7 @@ export const workbenchStatusOptions = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
export const workbenchAvailableFields = [
|
export const workbenchAvailableFields = [
|
||||||
{ label: '订单号', value: 'delivery_order_code', type: 'text' },
|
{ label: '发货单号', value: 'delivery_order_code', type: 'text' },
|
||||||
waveAssignmentScanField,
|
waveAssignmentScanField,
|
||||||
{ label: '波次号', value: 'wave_no', type: 'text' },
|
{ label: '波次号', value: 'wave_no', type: 'text' },
|
||||||
{ label: '买家昵称', value: 'buyer_nick', type: 'text' },
|
{ label: '买家昵称', value: 'buyer_nick', type: 'text' },
|
||||||
|
|||||||
@ -1,55 +1,25 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="shops-container encoding-sub-container">
|
<div class="shops-container" :style="{ height: containerHeight }">
|
||||||
|
<scan-box
|
||||||
|
ref="scanBox"
|
||||||
|
width="250px"
|
||||||
|
:tree-props="{ children: 'children', label: 'label' }"
|
||||||
|
:auto-submit="false"
|
||||||
|
:preset-tree="presetTree"
|
||||||
|
:available-fields="availableFieldsRef"
|
||||||
|
@condition-change="handleConditionChange"
|
||||||
|
@reset="handleConditionReset"
|
||||||
|
@condition-clear="handleConditionClear"
|
||||||
|
@submit="handleSubmit"
|
||||||
|
/>
|
||||||
|
|
||||||
<div class="main-content">
|
<div class="main-content">
|
||||||
<div class="toolbar">
|
<div class="toolbar">
|
||||||
<div class="toolbar-left">
|
<div class="toolbar-left">
|
||||||
<el-form :inline="true" :model="listQuery" class="filter-form">
|
<el-button size="small" type="primary" :loading="loading" @click="loadList">刷新</el-button>
|
||||||
<el-form-item label="平台">
|
<el-tag size="small" type="info">共 {{ pagination.total }} 条</el-tag>
|
||||||
<el-select
|
|
||||||
v-model="listQuery.platform_code"
|
|
||||||
placeholder="全部平台"
|
|
||||||
clearable
|
|
||||||
filterable
|
|
||||||
style="width: 160px"
|
|
||||||
@change="handleFilter"
|
|
||||||
>
|
|
||||||
<el-option
|
|
||||||
v-for="item in platformOptions"
|
|
||||||
:key="item.code"
|
|
||||||
:label="item.label || item.name"
|
|
||||||
:value="item.code"
|
|
||||||
/>
|
|
||||||
</el-select>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item label="状态">
|
|
||||||
<el-select
|
|
||||||
v-model="listQuery.status"
|
|
||||||
placeholder="全部"
|
|
||||||
clearable
|
|
||||||
style="width: 120px"
|
|
||||||
@change="handleFilter"
|
|
||||||
>
|
|
||||||
<el-option label="已激活" value="1" />
|
|
||||||
<el-option label="未激活" value="0" />
|
|
||||||
</el-select>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item label="关键词">
|
|
||||||
<el-input
|
|
||||||
v-model="listQuery.keyword"
|
|
||||||
placeholder="自定义名称/店铺名称"
|
|
||||||
clearable
|
|
||||||
style="width: 200px"
|
|
||||||
@keyup.enter="handleFilter"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item>
|
|
||||||
<el-button type="primary" :loading="loading" @click="handleFilter">搜索</el-button>
|
|
||||||
<el-button :loading="loading" @click="handleResetFilters">重置条件</el-button>
|
|
||||||
<el-button :loading="loading" @click="loadList">刷新</el-button>
|
|
||||||
<el-button type="success" @click="openCreate">新增店铺</el-button>
|
|
||||||
</el-form-item>
|
|
||||||
</el-form>
|
|
||||||
</div>
|
</div>
|
||||||
|
<el-button type="success" size="small" @click="openCreate">新增店铺</el-button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="upper-wrapper">
|
<div class="upper-wrapper">
|
||||||
@ -62,9 +32,10 @@
|
|||||||
:table-size="tableSize"
|
:table-size="tableSize"
|
||||||
:pagination="pagination"
|
:pagination="pagination"
|
||||||
:show-index="true"
|
:show-index="true"
|
||||||
:show-selection="false"
|
:show-actions="true"
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
:query-time="queryTime"
|
:query-time="queryTime"
|
||||||
|
row-key="id"
|
||||||
@page-change="handlePageChange"
|
@page-change="handlePageChange"
|
||||||
@page-size-change="handlePageSizeChange"
|
@page-size-change="handlePageSizeChange"
|
||||||
@refresh="loadList"
|
@refresh="loadList"
|
||||||
@ -82,13 +53,13 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template #column-actions="{ row }">
|
<template #column-actions="{ row }">
|
||||||
<el-button link type="primary" @click="openEdit(row)">编辑</el-button>
|
<el-button link type="primary" size="small" @click.stop="openEdit(row)">编辑</el-button>
|
||||||
<el-button link type="success" @click="openAuthorize(row)">授权</el-button>
|
<el-button link type="success" size="small" @click.stop="openAuthorize(row)">授权</el-button>
|
||||||
<el-button link type="danger" @click="handleDelete(row)">删除</el-button>
|
<el-button link type="danger" size="small" @click.stop="handleDelete(row)">删除</el-button>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template #empty>
|
<template #empty>
|
||||||
<div class="empty-tip">暂无店铺数据</div>
|
<div class="empty-tip">暂无店铺数据,可调整左侧筛选条件</div>
|
||||||
</template>
|
</template>
|
||||||
</upper-table>
|
</upper-table>
|
||||||
</div>
|
</div>
|
||||||
@ -120,6 +91,11 @@
|
|||||||
<el-form-item label="自定义名称" prop="custom_name">
|
<el-form-item label="自定义名称" prop="custom_name">
|
||||||
<el-input v-model="formData.custom_name" placeholder="最大 100 字符" maxlength="100" show-word-limit />
|
<el-input v-model="formData.custom_name" placeholder="最大 100 字符" maxlength="100" show-word-limit />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item v-if="dialogMode === 'create'">
|
||||||
|
<el-text type="info" size="small">
|
||||||
|
店铺名称由服务端生成待授权占位名,完成平台授权后将自动同步真实店铺名。
|
||||||
|
</el-text>
|
||||||
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<el-button @click="dialogVisible = false">取消</el-button>
|
<el-button @click="dialogVisible = false">取消</el-button>
|
||||||
@ -163,11 +139,11 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { onMounted, reactive, ref } from 'vue'
|
import { computed, onMounted, reactive, ref } from 'vue'
|
||||||
import { ElMessage, ElMessageBox } from 'element-plus'
|
import { ElMessage, ElMessageBox } from 'element-plus'
|
||||||
import type { FormInstance, FormRules } from 'element-plus'
|
import type { FormInstance, FormRules } from 'element-plus'
|
||||||
|
import ScanBox from '@/components/ScanBox/index.vue'
|
||||||
import UpperTable from '@/components/UpperTable/index.vue'
|
import UpperTable from '@/components/UpperTable/index.vue'
|
||||||
import { getPlatformOauthLink } from '@/api/index/index'
|
|
||||||
import { getPrintPlatformList } from '@/api/setting.expressinterface/expressInterface'
|
import { getPrintPlatformList } from '@/api/setting.expressinterface/expressInterface'
|
||||||
import {
|
import {
|
||||||
shopGetAuthorizeSessionKey,
|
shopGetAuthorizeSessionKey,
|
||||||
@ -176,10 +152,13 @@ import {
|
|||||||
shopsEdit,
|
shopsEdit,
|
||||||
shopsList
|
shopsList
|
||||||
} from '@/api/shops/shops'
|
} from '@/api/shops/shops'
|
||||||
|
import { useSettingsStore } from '@/stores/modules/settings'
|
||||||
import {
|
import {
|
||||||
buildShopListPayload,
|
buildShopListPayload,
|
||||||
formatShopStatus,
|
formatShopStatus,
|
||||||
|
normalizeShopScanConditionToWhere,
|
||||||
shopColumns,
|
shopColumns,
|
||||||
|
shopScanFields,
|
||||||
type ShopRecord
|
type ShopRecord
|
||||||
} from './shops-config'
|
} from './shops-config'
|
||||||
|
|
||||||
@ -189,6 +168,18 @@ type PlatformOption = {
|
|||||||
label?: string
|
label?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const settingsStore = useSettingsStore()
|
||||||
|
const scanBox = ref<any>(null)
|
||||||
|
const upperTable = ref<any>(null)
|
||||||
|
|
||||||
|
const presetTree = ref<any[]>([])
|
||||||
|
const availableFieldsRef = reactive(JSON.parse(JSON.stringify(shopScanFields)))
|
||||||
|
|
||||||
|
const shortcutExpanded = computed(() => settingsStore.shortcutExpanded)
|
||||||
|
const containerHeight = computed(() =>
|
||||||
|
shortcutExpanded.value ? 'calc(100vh - 150px)' : 'calc(100vh - 100px)'
|
||||||
|
)
|
||||||
|
|
||||||
const columns = shopColumns
|
const columns = shopColumns
|
||||||
const loading = ref(false)
|
const loading = ref(false)
|
||||||
const saving = ref(false)
|
const saving = ref(false)
|
||||||
@ -198,16 +189,11 @@ const authFormRef = ref<FormInstance>()
|
|||||||
const tableData = ref<ShopRecord[]>([])
|
const tableData = ref<ShopRecord[]>([])
|
||||||
const platformOptions = ref<PlatformOption[]>([])
|
const platformOptions = ref<PlatformOption[]>([])
|
||||||
const queryTime = ref(0)
|
const queryTime = ref(0)
|
||||||
const tableSize = ref('small')
|
const tableSize = ref<'small' | 'default' | 'large'>('small')
|
||||||
|
const currentConditionRaw = ref<any>(null)
|
||||||
|
|
||||||
const pagination = reactive({ currentPage: 1, pageSize: 20, total: 0 })
|
const pagination = reactive({ currentPage: 1, pageSize: 20, total: 0 })
|
||||||
|
|
||||||
const listQuery = reactive({
|
|
||||||
platform_code: '',
|
|
||||||
status: '',
|
|
||||||
keyword: ''
|
|
||||||
})
|
|
||||||
|
|
||||||
const dialogVisible = ref(false)
|
const dialogVisible = ref(false)
|
||||||
const dialogMode = ref<'create' | 'edit'>('create')
|
const dialogMode = ref<'create' | 'edit'>('create')
|
||||||
const formRef = ref<FormInstance>()
|
const formRef = ref<FormInstance>()
|
||||||
@ -239,6 +225,16 @@ const authRules: FormRules = {
|
|||||||
|
|
||||||
const isSuccess = (res: any) => res && [0, 1, 200].includes(res.code)
|
const isSuccess = (res: any) => res && [0, 1, 200].includes(res.code)
|
||||||
|
|
||||||
|
function syncSelectOptions() {
|
||||||
|
const platformField = availableFieldsRef.find((f: any) => f.value === 'platform_code')
|
||||||
|
if (platformField) {
|
||||||
|
platformField.options = platformOptions.value.map((item) => ({
|
||||||
|
label: item.label || item.name,
|
||||||
|
value: item.code
|
||||||
|
}))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function parseAuthExpireAt(value: unknown): number | null {
|
function parseAuthExpireAt(value: unknown): number | null {
|
||||||
if (value === null || value === undefined || value === '') return null
|
if (value === null || value === undefined || value === '') return null
|
||||||
if (typeof value === 'number' && Number.isFinite(value)) {
|
if (typeof value === 'number' && Number.isFinite(value)) {
|
||||||
@ -273,16 +269,16 @@ function isAuthExpired(value: unknown): boolean {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function loadList() {
|
async function loadList() {
|
||||||
|
if (loading.value) return
|
||||||
loading.value = true
|
loading.value = true
|
||||||
const start = Date.now()
|
const start = Date.now()
|
||||||
try {
|
try {
|
||||||
|
const where = normalizeShopScanConditionToWhere(currentConditionRaw.value)
|
||||||
const res: any = await shopsList(
|
const res: any = await shopsList(
|
||||||
buildShopListPayload({
|
buildShopListPayload({
|
||||||
page: pagination.currentPage,
|
page: pagination.currentPage,
|
||||||
pageSize: pagination.pageSize,
|
pageSize: pagination.pageSize,
|
||||||
platformCode: listQuery.platform_code,
|
where
|
||||||
keyword: listQuery.keyword,
|
|
||||||
status: listQuery.status
|
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
if (!isSuccess(res)) {
|
if (!isSuccess(res)) {
|
||||||
@ -321,6 +317,34 @@ async function loadPlatformOptions() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function handleConditionChange(condition: any) {
|
||||||
|
currentConditionRaw.value = condition
|
||||||
|
pagination.currentPage = 1
|
||||||
|
loadList()
|
||||||
|
}
|
||||||
|
|
||||||
|
function handleSubmit() {
|
||||||
|
pagination.currentPage = 1
|
||||||
|
loadList()
|
||||||
|
}
|
||||||
|
|
||||||
|
function handleConditionClear() {
|
||||||
|
currentConditionRaw.value = null
|
||||||
|
pagination.currentPage = 1
|
||||||
|
loadList()
|
||||||
|
}
|
||||||
|
|
||||||
|
function handleConditionReset() {
|
||||||
|
currentConditionRaw.value = null
|
||||||
|
pagination.currentPage = 1
|
||||||
|
if (scanBox.value?.reset) {
|
||||||
|
scanBox.value.reset()
|
||||||
|
} else if (scanBox.value?.clear) {
|
||||||
|
scanBox.value.clear()
|
||||||
|
}
|
||||||
|
loadList()
|
||||||
|
}
|
||||||
|
|
||||||
function handlePageChange(page: number) {
|
function handlePageChange(page: number) {
|
||||||
pagination.currentPage = page
|
pagination.currentPage = page
|
||||||
loadList()
|
loadList()
|
||||||
@ -332,19 +356,6 @@ function handlePageSizeChange(size: number) {
|
|||||||
loadList()
|
loadList()
|
||||||
}
|
}
|
||||||
|
|
||||||
function handleFilter() {
|
|
||||||
pagination.currentPage = 1
|
|
||||||
loadList()
|
|
||||||
}
|
|
||||||
|
|
||||||
function handleResetFilters() {
|
|
||||||
listQuery.platform_code = ''
|
|
||||||
listQuery.status = ''
|
|
||||||
listQuery.keyword = ''
|
|
||||||
pagination.currentPage = 1
|
|
||||||
loadList()
|
|
||||||
}
|
|
||||||
|
|
||||||
function resetForm() {
|
function resetForm() {
|
||||||
formData.id = undefined
|
formData.id = undefined
|
||||||
formData.platform_code = ''
|
formData.platform_code = ''
|
||||||
@ -509,76 +520,70 @@ async function openShopAuthorizeInNewTab() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async function openAuthorizeInNewTab() {
|
|
||||||
if (authSubmitting.value || !authForm.shopId) return false
|
|
||||||
|
|
||||||
const platformCode = String(authForm.platformCode || '').trim()
|
|
||||||
if (!platformCode) {
|
|
||||||
ElMessage.warning('未获取到店铺所属平台,无法发起授权')
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
|
|
||||||
authSubmitting.value = true
|
|
||||||
try {
|
|
||||||
const res: any = await getPlatformOauthLink({
|
|
||||||
code: platformCode,
|
|
||||||
platform_code: platformCode,
|
|
||||||
platformCode
|
|
||||||
})
|
|
||||||
if (!isSuccess(res)) {
|
|
||||||
ElMessage.error(res?.message || '获取授权链接失败')
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
const data = res?.data
|
|
||||||
const oauthUrl =
|
|
||||||
typeof data === 'string'
|
|
||||||
? data.trim()
|
|
||||||
: String(
|
|
||||||
data?.url ||
|
|
||||||
data?.link ||
|
|
||||||
data?.oauth_link ||
|
|
||||||
data?.authLink ||
|
|
||||||
data?.oauth_url ||
|
|
||||||
data?.oauthUrl ||
|
|
||||||
data?.redirect_url ||
|
|
||||||
data?.redirectUrl ||
|
|
||||||
''
|
|
||||||
).trim()
|
|
||||||
if (!oauthUrl) {
|
|
||||||
ElMessage.error('未获取到有效的授权链接')
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
const win = window.open(oauthUrl, '_blank')
|
|
||||||
if (!win) {
|
|
||||||
window.location.href = oauthUrl
|
|
||||||
}
|
|
||||||
return true
|
|
||||||
} catch {
|
|
||||||
ElMessage.error('获取授权链接失败')
|
|
||||||
return false
|
|
||||||
} finally {
|
|
||||||
authSubmitting.value = false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
async function handleOpenAuthorizeLink() {
|
async function handleOpenAuthorizeLink() {
|
||||||
if (authSubmitting.value || !authForm.shopId) return
|
if (authSubmitting.value || !authForm.shopId || !authFormRef.value) return
|
||||||
await openAuthorizeInNewTab()
|
const valid = await authFormRef.value.validate().catch(() => false)
|
||||||
|
if (!valid) return
|
||||||
|
await openShopAuthorizeInNewTab()
|
||||||
}
|
}
|
||||||
|
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
await loadPlatformOptions()
|
await loadPlatformOptions()
|
||||||
|
syncSelectOptions()
|
||||||
await loadList()
|
await loadList()
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
@use '../encoding/styles/encoding-sub.scss';
|
.shops-container {
|
||||||
|
display: flex;
|
||||||
|
width: 100%;
|
||||||
|
background-color: #f0f2f5;
|
||||||
|
|
||||||
.filter-form {
|
.main-content {
|
||||||
:deep(.el-form-item) {
|
flex: 1;
|
||||||
margin-bottom: 0;
|
display: flex;
|
||||||
margin-right: 12px;
|
flex-direction: column;
|
||||||
|
padding: 10px;
|
||||||
|
overflow: hidden;
|
||||||
|
min-width: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.toolbar {
|
||||||
|
padding: 5px 8px;
|
||||||
|
border-bottom: 1px solid #ebeef5;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
gap: 12px;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
background-color: #fff;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.toolbar-left {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
min-width: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.upper-wrapper {
|
||||||
|
flex: 1 1 auto;
|
||||||
|
min-height: 0;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.upper-wrapper :deep(.upper-table-container) {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.empty-tip {
|
||||||
|
text-align: center;
|
||||||
|
font-size: 13px;
|
||||||
|
color: #909399;
|
||||||
|
padding: 16px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -596,5 +601,4 @@ onMounted(async () => {
|
|||||||
.callback-input-row .el-input {
|
.callback-input-row .el-input {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -19,6 +19,136 @@ export const shopColumns = [
|
|||||||
{ prop: 'actions', label: '操作', width: '220', align: 'center', fixed: 'right' }
|
{ prop: 'actions', label: '操作', width: '220', align: 'center', fixed: 'right' }
|
||||||
]
|
]
|
||||||
|
|
||||||
|
export const shopScanFields = [
|
||||||
|
{
|
||||||
|
value: 'quickWhere',
|
||||||
|
label: '关键词',
|
||||||
|
type: 'text',
|
||||||
|
placeholder: '自定义名称/店铺名称',
|
||||||
|
operators: ['contains'],
|
||||||
|
defaultOperator: 'contains'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: 'platform_code',
|
||||||
|
label: '平台编码',
|
||||||
|
type: 'select',
|
||||||
|
filterable: true,
|
||||||
|
clearable: true,
|
||||||
|
options: [] as { label: string; value: string }[]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: 'status',
|
||||||
|
label: '状态',
|
||||||
|
type: 'select',
|
||||||
|
clearable: true,
|
||||||
|
options: [
|
||||||
|
{ label: '已激活', value: '1' },
|
||||||
|
{ label: '未激活', value: '0' }
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: 'id',
|
||||||
|
label: 'ID',
|
||||||
|
type: 'number',
|
||||||
|
placeholder: '店铺 ID',
|
||||||
|
operators: ['eq', 'ne'],
|
||||||
|
defaultOperator: 'eq'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: 'custom_name',
|
||||||
|
label: '自定义名称',
|
||||||
|
type: 'text',
|
||||||
|
placeholder: '请输入自定义名称',
|
||||||
|
operators: ['eq', 'contains', 'like'],
|
||||||
|
defaultOperator: 'contains'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: 'shop_name',
|
||||||
|
label: '店铺名称',
|
||||||
|
type: 'text',
|
||||||
|
placeholder: '请输入店铺名称',
|
||||||
|
operators: ['eq', 'contains', 'like'],
|
||||||
|
defaultOperator: 'contains'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
|
function getFieldConfig(key: string, fields: typeof shopScanFields) {
|
||||||
|
return fields.find((f) => f.value === key)
|
||||||
|
}
|
||||||
|
|
||||||
|
function mapFieldType(type: string, value: unknown) {
|
||||||
|
if (type === 'daterange' || Array.isArray(value)) return 'daterange'
|
||||||
|
if (type === 'number' || typeof value === 'number') return 'number'
|
||||||
|
return 'text'
|
||||||
|
}
|
||||||
|
|
||||||
|
function processConditionValue(key: string, raw: any, fields: typeof shopScanFields) {
|
||||||
|
if (key === 'quickWhere') {
|
||||||
|
const val = raw?.value !== undefined ? raw.value : raw
|
||||||
|
const text = val == null ? '' : String(val).trim()
|
||||||
|
return text ? text : null
|
||||||
|
}
|
||||||
|
|
||||||
|
const config = getFieldConfig(key, fields)
|
||||||
|
const fieldType = config?.type || 'text'
|
||||||
|
|
||||||
|
if (raw && typeof raw === 'object' && !Array.isArray(raw)) {
|
||||||
|
const op = raw.operator || (fieldType === 'select' ? 'eq' : fieldType === 'number' ? 'eq' : 'contains')
|
||||||
|
const type = raw.type || mapFieldType(fieldType, raw.value)
|
||||||
|
|
||||||
|
if (['isnull', 'isnotnull'].includes(op)) {
|
||||||
|
return { operator: op, value: null, type }
|
||||||
|
}
|
||||||
|
|
||||||
|
const val = raw.value !== undefined ? raw.value : raw
|
||||||
|
if (val === null || val === undefined || val === '' || (Array.isArray(val) && val.length === 0)) {
|
||||||
|
return null
|
||||||
|
}
|
||||||
|
|
||||||
|
if (fieldType === 'select') {
|
||||||
|
return { operator: op || 'eq', value: val, type: 'text' }
|
||||||
|
}
|
||||||
|
|
||||||
|
return { operator: op, value: val, type }
|
||||||
|
}
|
||||||
|
|
||||||
|
if (raw === null || raw === undefined || raw === '' || (Array.isArray(raw) && raw.length === 0)) {
|
||||||
|
return null
|
||||||
|
}
|
||||||
|
|
||||||
|
const simpleOp = fieldType === 'select' || fieldType === 'number' ? 'eq' : 'contains'
|
||||||
|
return { operator: simpleOp, value: raw, type: mapFieldType(fieldType, raw) }
|
||||||
|
}
|
||||||
|
|
||||||
|
/** 将 ScanBox 条件转为 shops.list 接口 where */
|
||||||
|
export function normalizeShopScanConditionToWhere(
|
||||||
|
condition: any,
|
||||||
|
fields: typeof shopScanFields = shopScanFields
|
||||||
|
): Record<string, unknown> {
|
||||||
|
if (!condition) return {}
|
||||||
|
|
||||||
|
const conds =
|
||||||
|
condition?.conditions && typeof condition.conditions === 'object'
|
||||||
|
? condition.conditions
|
||||||
|
: condition && typeof condition === 'object'
|
||||||
|
? condition
|
||||||
|
: null
|
||||||
|
|
||||||
|
if (!conds) return {}
|
||||||
|
|
||||||
|
const where: Record<string, unknown> = {}
|
||||||
|
for (const key of Object.keys(conds)) {
|
||||||
|
const result = processConditionValue(key, conds[key], fields)
|
||||||
|
if (result == null) continue
|
||||||
|
if (key === 'quickWhere' && typeof result === 'string') {
|
||||||
|
where.quickWhere = result
|
||||||
|
} else {
|
||||||
|
where[key] = result
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return where
|
||||||
|
}
|
||||||
|
|
||||||
export function formatShopStatus(status: string | number | undefined) {
|
export function formatShopStatus(status: string | number | undefined) {
|
||||||
const raw = String(status ?? '').trim().toUpperCase()
|
const raw = String(status ?? '').trim().toUpperCase()
|
||||||
if (!raw) return { text: '--', type: 'info' as const }
|
if (!raw) return { text: '--', type: 'info' as const }
|
||||||
@ -34,25 +164,8 @@ export function formatShopStatus(status: string | number | undefined) {
|
|||||||
export function buildShopListPayload(options: {
|
export function buildShopListPayload(options: {
|
||||||
page: number
|
page: number
|
||||||
pageSize: number
|
pageSize: number
|
||||||
platformCode?: string
|
where?: Record<string, unknown>
|
||||||
keyword?: string
|
|
||||||
status?: string
|
|
||||||
}) {
|
}) {
|
||||||
const where: Record<string, unknown> = {}
|
|
||||||
const platformCode = String(options.platformCode || '').trim()
|
|
||||||
const keyword = String(options.keyword || '').trim()
|
|
||||||
const status = String(options.status || '').trim()
|
|
||||||
|
|
||||||
if (platformCode) {
|
|
||||||
where.platform_code = platformCode
|
|
||||||
}
|
|
||||||
if (status) {
|
|
||||||
where.status = status
|
|
||||||
}
|
|
||||||
if (keyword) {
|
|
||||||
where.quickWhere = keyword
|
|
||||||
}
|
|
||||||
|
|
||||||
const payload: Record<string, unknown> = {
|
const payload: Record<string, unknown> = {
|
||||||
page: options.page,
|
page: options.page,
|
||||||
pageSize: options.pageSize,
|
pageSize: options.pageSize,
|
||||||
@ -61,8 +174,8 @@ export function buildShopListPayload(options: {
|
|||||||
pageSize: options.pageSize
|
pageSize: options.pageSize
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (Object.keys(where).length) {
|
if (options.where && Object.keys(options.where).length) {
|
||||||
payload.where = where
|
payload.where = options.where
|
||||||
}
|
}
|
||||||
return payload
|
return payload
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,10 +1,10 @@
|
|||||||
# 接口
|
# 接口
|
||||||
|
|
||||||
- 更新时间: 2026-05-25 17:22:24
|
- 更新时间: 2026-05-26 09:31:23
|
||||||
- 扫描目录: `src\api`
|
- 扫描目录: `src\api`
|
||||||
- 模块数: 38
|
- 模块数: 38
|
||||||
- API 文件数: 38
|
- API 文件数: 38
|
||||||
- 接口数: 308
|
- 接口数: 309
|
||||||
- 已启用: 276
|
- 已启用: 276
|
||||||
- 占位接口: 2
|
- 占位接口: 2
|
||||||
|
|
||||||
@ -39,7 +39,7 @@
|
|||||||
| setting.printtemplate | 1 | 13 | 13 | 0 |
|
| setting.printtemplate | 1 | 13 | 13 | 0 |
|
||||||
| setting.role | 1 | 5 | 5 | 0 |
|
| setting.role | 1 | 5 | 5 | 0 |
|
||||||
| setting.warehouse | 1 | 3 | 3 | 0 |
|
| setting.warehouse | 1 | 3 | 3 | 0 |
|
||||||
| shops | 1 | 5 | 5 | 0 |
|
| shops | 1 | 6 | 5 | 0 |
|
||||||
| stock | 1 | 29 | 28 | 0 |
|
| stock | 1 | 29 | 28 | 0 |
|
||||||
| storage_receiving | 1 | 22 | 12 | 0 |
|
| storage_receiving | 1 | 22 | 12 | 0 |
|
||||||
| storage.entry | 1 | 4 | 4 | 0 |
|
| storage.entry | 1 | 4 | 4 | 0 |
|
||||||
@ -239,10 +239,11 @@
|
|||||||
| setting.warehouse | settingWarehouseGetFieldMeta | setting.warehouse.getFieldMeta | POST | 是 | 否 | setting.warehouse/settingwarehouse.ts | |
|
| setting.warehouse | settingWarehouseGetFieldMeta | setting.warehouse.getFieldMeta | POST | 是 | 否 | setting.warehouse/settingwarehouse.ts | |
|
||||||
| setting.warehouse | settingWarehouseGetSettings | setting.warehouse.getSettings | POST | 是 | 否 | setting.warehouse/settingwarehouse.ts | |
|
| setting.warehouse | settingWarehouseGetSettings | setting.warehouse.getSettings | POST | 是 | 否 | setting.warehouse/settingwarehouse.ts | |
|
||||||
| setting.warehouse | settingWarehouseSaveSettings | setting.warehouse.saveSettings | POST | 是 | 否 | setting.warehouse/settingwarehouse.ts | |
|
| setting.warehouse | settingWarehouseSaveSettings | setting.warehouse.saveSettings | POST | 是 | 否 | setting.warehouse/settingwarehouse.ts | |
|
||||||
| shops | shopGetAuthorizeSessionKey | shop.GetAuthorizeSessionKey | POST | 是 | 否 | shops/shops.ts | |
|
| shops | shopGetAuthorizeSessionKey | shop.GetAuthorizeSessionKey | POST | 否 | 否 | shops/shops.ts | |
|
||||||
| shops | shopsAdd | shops.add | POST | 是 | 否 | shops/shops.ts | |
|
| shops | shopsAdd | shops.add | POST | 是 | 否 | shops/shops.ts | |
|
||||||
| shops | shopsDel | shops.del | POST | 是 | 否 | shops/shops.ts | |
|
| shops | shopsDel | shops.del | POST | 是 | 否 | shops/shops.ts | |
|
||||||
| shops | shopsEdit | shops.edit | POST | 是 | 否 | shops/shops.ts | |
|
| shops | shopsEdit | shops.edit | POST | 是 | 否 | shops/shops.ts | |
|
||||||
|
| shops | shopGetAuthorizeSessionKey | shops.GetAuthorizeSessionKey | POST | 是 | 否 | shops/shops.ts | |
|
||||||
| shops | shopsList | shops.list | POST | 是 | 否 | shops/shops.ts | |
|
| shops | shopsList | shops.list | POST | 是 | 否 | shops/shops.ts | |
|
||||||
| stock | stockStockWarehouse | stock.stockWarehouse | POST | 是 | 否 | stock/stock.ts | |
|
| stock | stockStockWarehouse | stock.stockWarehouse | POST | 是 | 否 | stock/stock.ts | |
|
||||||
| stock | backData | stock.warehouse.backData | POST | 是 | 否 | stock/stock.ts | |
|
| stock | backData | stock.warehouse.backData | POST | 是 | 否 | stock/stock.ts | |
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
@ -15,68 +15,64 @@
|
|||||||
"totalInterfaceCount": 270,
|
"totalInterfaceCount": 270,
|
||||||
"changes": {
|
"changes": {
|
||||||
"summary": {
|
"summary": {
|
||||||
"moduleAdded": 1,
|
"moduleAdded": 0,
|
||||||
"moduleDeleted": 0,
|
"moduleDeleted": 0,
|
||||||
"moduleUpdated": 0,
|
"moduleUpdated": 1,
|
||||||
"interfaceAdded": 5,
|
"interfaceAdded": 1,
|
||||||
"interfaceDeleted": 0,
|
"interfaceDeleted": 1,
|
||||||
"interfaceParamsUpdated": 0,
|
"interfaceParamsUpdated": 1,
|
||||||
"interfaceResponseUpdated": 0
|
"interfaceResponseUpdated": 0
|
||||||
},
|
},
|
||||||
"moduleUpdates": {
|
"moduleUpdates": {
|
||||||
"added": [
|
"added": [],
|
||||||
|
"deleted": [],
|
||||||
|
"updated": [
|
||||||
{
|
{
|
||||||
"moduleName": "店铺模块",
|
"moduleName": "店铺模块",
|
||||||
"moduleKey": "shops",
|
"moduleKey": "shops",
|
||||||
"folder": "shops",
|
"folder": "shops",
|
||||||
"methods": [
|
"previousModuleName": "店铺模块",
|
||||||
"shop.GetAuthorizeSessionKey",
|
"previousModuleKey": "shops",
|
||||||
"shops.add",
|
"interfaceChanges": {
|
||||||
"shops.del",
|
"addedMethods": [
|
||||||
"shops.edit",
|
"shops.GetAuthorizeSessionKey"
|
||||||
"shops.list"
|
],
|
||||||
],
|
"deletedMethods": [
|
||||||
"interfaceCount": 5
|
"shop.GetAuthorizeSessionKey"
|
||||||
|
],
|
||||||
|
"paramsUpdatedMethods": [
|
||||||
|
"shops.add"
|
||||||
|
],
|
||||||
|
"responseUpdatedMethods": []
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"deleted": [],
|
|
||||||
"updated": []
|
|
||||||
},
|
},
|
||||||
"interfaceUpdates": {
|
"interfaceUpdates": {
|
||||||
"added": [
|
"added": [
|
||||||
|
{
|
||||||
|
"moduleName": "店铺模块",
|
||||||
|
"moduleKey": "shops",
|
||||||
|
"folder": "shops",
|
||||||
|
"method": "shops.GetAuthorizeSessionKey"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"deleted": [
|
||||||
{
|
{
|
||||||
"moduleName": "店铺模块",
|
"moduleName": "店铺模块",
|
||||||
"moduleKey": "shops",
|
"moduleKey": "shops",
|
||||||
"folder": "shops",
|
"folder": "shops",
|
||||||
"method": "shop.GetAuthorizeSessionKey"
|
"method": "shop.GetAuthorizeSessionKey"
|
||||||
},
|
}
|
||||||
|
],
|
||||||
|
"paramsUpdated": [
|
||||||
{
|
{
|
||||||
"moduleName": "店铺模块",
|
"moduleName": "店铺模块",
|
||||||
"moduleKey": "shops",
|
"moduleKey": "shops",
|
||||||
"folder": "shops",
|
"folder": "shops",
|
||||||
"method": "shops.add"
|
"method": "shops.add"
|
||||||
},
|
|
||||||
{
|
|
||||||
"moduleName": "店铺模块",
|
|
||||||
"moduleKey": "shops",
|
|
||||||
"folder": "shops",
|
|
||||||
"method": "shops.del"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"moduleName": "店铺模块",
|
|
||||||
"moduleKey": "shops",
|
|
||||||
"folder": "shops",
|
|
||||||
"method": "shops.edit"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"moduleName": "店铺模块",
|
|
||||||
"moduleKey": "shops",
|
|
||||||
"folder": "shops",
|
|
||||||
"method": "shops.list"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"deleted": [],
|
|
||||||
"paramsUpdated": [],
|
|
||||||
"responseUpdated": []
|
"responseUpdated": []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -9433,106 +9429,13 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"moduleName": "店铺模块",
|
|
||||||
"moduleKey": "shops",
|
|
||||||
"moduleFolder": "shops",
|
|
||||||
"method": "shop.GetAuthorizeSessionKey",
|
|
||||||
"title": "按店铺所属平台生成授权会话。入参兼容 id/shop_id/shopId 与 callbackurl/callback_url,callbackurl 必填。对已实现的平台(PDD/CAINIAO)返回 session_key/authorize_url/state,其他平台返回 501 未实现。",
|
|
||||||
"description": "按店铺所属平台生成授权会话。入参兼容 id/shop_id/shopId 与 callbackurl/callback_url,callbackurl 必填。对已实现的平台(PDD/CAINIAO)返回 session_key/authorize_url/state,其他平台返回 501 未实现。",
|
|
||||||
"endpoint": "/system",
|
|
||||||
"authRequired": true,
|
|
||||||
"loginRequired": true,
|
|
||||||
"status": {
|
|
||||||
"isUsed": false,
|
|
||||||
"isPlaceholder": false
|
|
||||||
},
|
|
||||||
"headers": [
|
|
||||||
{
|
|
||||||
"name": "Authorization",
|
|
||||||
"type": "string",
|
|
||||||
"required": true,
|
|
||||||
"description": "Bearer token"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"params": [
|
|
||||||
{
|
|
||||||
"name": "id",
|
|
||||||
"type": "number",
|
|
||||||
"required": true,
|
|
||||||
"description": "店铺 ID,兼容 shop_id/shopId"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "callbackurl",
|
|
||||||
"type": "string",
|
|
||||||
"required": true,
|
|
||||||
"description": "回调地址,兼容 callback_url"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"response": [
|
|
||||||
{
|
|
||||||
"name": "flag",
|
|
||||||
"type": "string",
|
|
||||||
"required": true,
|
|
||||||
"description": "success"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "code",
|
|
||||||
"type": "number",
|
|
||||||
"required": true,
|
|
||||||
"description": "200 成功"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "message",
|
|
||||||
"type": "string",
|
|
||||||
"required": true,
|
|
||||||
"description": "提示信息"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "data.shop_id",
|
|
||||||
"type": "number",
|
|
||||||
"required": true,
|
|
||||||
"description": "店铺 ID"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "data.platform_code",
|
|
||||||
"type": "string",
|
|
||||||
"required": true,
|
|
||||||
"description": "平台编码(大写)"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "data.callbackurl",
|
|
||||||
"type": "string",
|
|
||||||
"required": true,
|
|
||||||
"description": "回调地址"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "data.session_key",
|
|
||||||
"type": "string",
|
|
||||||
"required": true,
|
|
||||||
"description": "授权预占码(session)"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "data.authorize_url",
|
|
||||||
"type": "string",
|
|
||||||
"required": true,
|
|
||||||
"description": "平台授权跳转地址(含 state)"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "data.state",
|
|
||||||
"type": "string",
|
|
||||||
"required": true,
|
|
||||||
"description": "内部 state 值(platform + '_' + authRandomCode),用于回调解析"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"moduleName": "店铺模块",
|
"moduleName": "店铺模块",
|
||||||
"moduleKey": "shops",
|
"moduleKey": "shops",
|
||||||
"moduleFolder": "shops",
|
"moduleFolder": "shops",
|
||||||
"method": "shops.add",
|
"method": "shops.add",
|
||||||
"title": "新增店铺,校验 platform_code 必须匹配已配置且处于 ACTIVE 且未删除的打印平台;custom_name 必填且长度<=100;shop_name 可选,缺失时使用 custom_name。支持 snake_case 与 camelCase 入参兼容。",
|
"title": "新增店铺,校验 platform_code 必须匹配已配置且处于 ACTIVE 且未删除的打印平台;custom_name 必填且长度<=100。shop_name 由服务端生成待授权占位名(PENDING_*),授权后再同步真实店铺名。支持 snake_case 与 camelCase 入参兼容。",
|
||||||
"description": "新增店铺,校验 platform_code 必须匹配已配置且处于 ACTIVE 且未删除的打印平台;custom_name 必填且长度<=100;shop_name 可选,缺失时使用 custom_name。支持 snake_case 与 camelCase 入参兼容。",
|
"description": "新增店铺,校验 platform_code 必须匹配已配置且处于 ACTIVE 且未删除的打印平台;custom_name 必填且长度<=100。shop_name 由服务端生成待授权占位名(PENDING_*),授权后再同步真实店铺名。支持 snake_case 与 camelCase 入参兼容。",
|
||||||
"endpoint": "/system",
|
"endpoint": "/system",
|
||||||
"authRequired": true,
|
"authRequired": true,
|
||||||
"loginRequired": true,
|
"loginRequired": true,
|
||||||
@ -9560,12 +9463,6 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"required": true,
|
"required": true,
|
||||||
"description": "店铺自定义名称,最大长度 100"
|
"description": "店铺自定义名称,最大长度 100"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "shop_name",
|
|
||||||
"type": "string",
|
|
||||||
"required": false,
|
|
||||||
"description": "店铺名称,若不传则以 custom_name 作为 shop_name"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"response": [
|
"response": [
|
||||||
@ -9733,6 +9630,99 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"moduleName": "店铺模块",
|
||||||
|
"moduleKey": "shops",
|
||||||
|
"moduleFolder": "shops",
|
||||||
|
"method": "shops.GetAuthorizeSessionKey",
|
||||||
|
"title": "按店铺所属平台生成授权会话。入参兼容 id/shop_id/shopId 与 callbackurl/callback_url,callbackurl 必填。对已实现的平台(PDD/CAINIAO)返回 session_key/authorize_url/state,其他平台返回 501 未实现。",
|
||||||
|
"description": "按店铺所属平台生成授权会话。入参兼容 id/shop_id/shopId 与 callbackurl/callback_url,callbackurl 必填。对已实现的平台(PDD/CAINIAO)返回 session_key/authorize_url/state,其他平台返回 501 未实现。",
|
||||||
|
"endpoint": "/system",
|
||||||
|
"authRequired": true,
|
||||||
|
"loginRequired": true,
|
||||||
|
"status": {
|
||||||
|
"isUsed": false,
|
||||||
|
"isPlaceholder": false
|
||||||
|
},
|
||||||
|
"headers": [
|
||||||
|
{
|
||||||
|
"name": "Authorization",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "Bearer token"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "id",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "店铺 ID,兼容 shop_id/shopId"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "callbackurl",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "回调地址,兼容 callback_url"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"response": [
|
||||||
|
{
|
||||||
|
"name": "flag",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "success"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "code",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "200 成功"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "message",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "提示信息"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "data.shop_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "店铺 ID"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "data.platform_code",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "平台编码(大写)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "data.callbackurl",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "回调地址"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "data.session_key",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "授权预占码(session)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "data.authorize_url",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "平台授权跳转地址(含 state)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "data.state",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "内部 state 值(platform + '_' + authRandomCode),用于回调解析"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"moduleName": "店铺模块",
|
"moduleName": "店铺模块",
|
||||||
"moduleKey": "shops",
|
"moduleKey": "shops",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
@ -16,68 +16,64 @@
|
|||||||
"totalInterfaceCount": 270,
|
"totalInterfaceCount": 270,
|
||||||
"changes": {
|
"changes": {
|
||||||
"summary": {
|
"summary": {
|
||||||
"moduleAdded": 1,
|
"moduleAdded": 0,
|
||||||
"moduleDeleted": 0,
|
"moduleDeleted": 0,
|
||||||
"moduleUpdated": 0,
|
"moduleUpdated": 1,
|
||||||
"interfaceAdded": 5,
|
"interfaceAdded": 1,
|
||||||
"interfaceDeleted": 0,
|
"interfaceDeleted": 1,
|
||||||
"interfaceParamsUpdated": 0,
|
"interfaceParamsUpdated": 1,
|
||||||
"interfaceResponseUpdated": 0
|
"interfaceResponseUpdated": 0
|
||||||
},
|
},
|
||||||
"moduleUpdates": {
|
"moduleUpdates": {
|
||||||
"added": [
|
"added": [],
|
||||||
|
"deleted": [],
|
||||||
|
"updated": [
|
||||||
{
|
{
|
||||||
"moduleName": "店铺模块",
|
"moduleName": "店铺模块",
|
||||||
"moduleKey": "shops",
|
"moduleKey": "shops",
|
||||||
"folder": "shops",
|
"folder": "shops",
|
||||||
"methods": [
|
"previousModuleName": "店铺模块",
|
||||||
"shop.GetAuthorizeSessionKey",
|
"previousModuleKey": "shops",
|
||||||
"shops.add",
|
"interfaceChanges": {
|
||||||
"shops.del",
|
"addedMethods": [
|
||||||
"shops.edit",
|
"shops.GetAuthorizeSessionKey"
|
||||||
"shops.list"
|
],
|
||||||
],
|
"deletedMethods": [
|
||||||
"interfaceCount": 5
|
"shop.GetAuthorizeSessionKey"
|
||||||
|
],
|
||||||
|
"paramsUpdatedMethods": [
|
||||||
|
"shops.add"
|
||||||
|
],
|
||||||
|
"responseUpdatedMethods": []
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"deleted": [],
|
|
||||||
"updated": []
|
|
||||||
},
|
},
|
||||||
"interfaceUpdates": {
|
"interfaceUpdates": {
|
||||||
"added": [
|
"added": [
|
||||||
|
{
|
||||||
|
"moduleName": "店铺模块",
|
||||||
|
"moduleKey": "shops",
|
||||||
|
"folder": "shops",
|
||||||
|
"method": "shops.GetAuthorizeSessionKey"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"deleted": [
|
||||||
{
|
{
|
||||||
"moduleName": "店铺模块",
|
"moduleName": "店铺模块",
|
||||||
"moduleKey": "shops",
|
"moduleKey": "shops",
|
||||||
"folder": "shops",
|
"folder": "shops",
|
||||||
"method": "shop.GetAuthorizeSessionKey"
|
"method": "shop.GetAuthorizeSessionKey"
|
||||||
},
|
}
|
||||||
|
],
|
||||||
|
"paramsUpdated": [
|
||||||
{
|
{
|
||||||
"moduleName": "店铺模块",
|
"moduleName": "店铺模块",
|
||||||
"moduleKey": "shops",
|
"moduleKey": "shops",
|
||||||
"folder": "shops",
|
"folder": "shops",
|
||||||
"method": "shops.add"
|
"method": "shops.add"
|
||||||
},
|
|
||||||
{
|
|
||||||
"moduleName": "店铺模块",
|
|
||||||
"moduleKey": "shops",
|
|
||||||
"folder": "shops",
|
|
||||||
"method": "shops.del"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"moduleName": "店铺模块",
|
|
||||||
"moduleKey": "shops",
|
|
||||||
"folder": "shops",
|
|
||||||
"method": "shops.edit"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"moduleName": "店铺模块",
|
|
||||||
"moduleKey": "shops",
|
|
||||||
"folder": "shops",
|
|
||||||
"method": "shops.list"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"deleted": [],
|
|
||||||
"paramsUpdated": [],
|
|
||||||
"responseUpdated": []
|
"responseUpdated": []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -343,7 +339,7 @@
|
|||||||
"method": "shops.edit"
|
"method": "shops.edit"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"method": "shop.GetAuthorizeSessionKey"
|
"method": "shops.GetAuthorizeSessionKey"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-05-25 17:05:16",
|
"updatedAt": "2026-05-26 09:05:07",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-05-25 17:05:16",
|
"updatedAt": "2026-05-26 09:05:07",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-05-25 17:05:16",
|
"updatedAt": "2026-05-26 09:05:07",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-05-25 17:05:16",
|
"updatedAt": "2026-05-26 09:05:07",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": "2026-04-17 19:16:50"
|
"restoredAt": "2026-04-17 19:16:50"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-05-25 17:05:16",
|
"updatedAt": "2026-05-26 09:05:07",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": "2026-04-17 19:16:50"
|
"restoredAt": "2026-04-17 19:16:50"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-05-25 17:05:16",
|
"updatedAt": "2026-05-26 09:05:07",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": "2026-04-17 19:16:50"
|
"restoredAt": "2026-04-17 19:16:50"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-05-25 17:05:16",
|
"updatedAt": "2026-05-26 09:05:07",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": "2026-04-17 19:16:50"
|
"restoredAt": "2026-04-17 19:16:50"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-05-25 17:05:16",
|
"updatedAt": "2026-05-26 09:05:07",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": "2026-04-17 19:16:50"
|
"restoredAt": "2026-04-17 19:16:50"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-05-25 17:05:16",
|
"updatedAt": "2026-05-26 09:05:07",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": "2026-04-17 19:16:50"
|
"restoredAt": "2026-04-17 19:16:50"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-05-25 17:05:16",
|
"updatedAt": "2026-05-26 09:05:07",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": "2026-04-17 19:16:50"
|
"restoredAt": "2026-04-17 19:16:50"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-05-25 17:05:16",
|
"updatedAt": "2026-05-26 09:05:07",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": "2026-04-17 19:16:50"
|
"restoredAt": "2026-04-17 19:16:50"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-05-05 09:15:19",
|
"createdAt": "2026-05-05 09:15:19",
|
||||||
"updatedAt": "2026-05-25 17:05:16",
|
"updatedAt": "2026-05-26 09:05:07",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-05-20 08:59:09",
|
"createdAt": "2026-05-20 08:59:09",
|
||||||
"updatedAt": "2026-05-25 17:05:16",
|
"updatedAt": "2026-05-26 09:05:07",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-05-25 17:05:16",
|
"updatedAt": "2026-05-26 09:05:07",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": "2026-04-17 19:16:50"
|
"restoredAt": "2026-04-17 19:16:50"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-05-04 09:11:04",
|
"createdAt": "2026-05-04 09:11:04",
|
||||||
"updatedAt": "2026-05-25 17:05:16",
|
"updatedAt": "2026-05-26 09:05:07",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-05-09 09:52:14",
|
"createdAt": "2026-05-09 09:52:14",
|
||||||
"updatedAt": "2026-05-25 17:05:16",
|
"updatedAt": "2026-05-26 09:05:07",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-05-04 17:23:48",
|
"createdAt": "2026-05-04 17:23:48",
|
||||||
"updatedAt": "2026-05-25 17:05:16",
|
"updatedAt": "2026-05-26 09:05:07",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-05-25 17:05:16",
|
"updatedAt": "2026-05-26 09:05:07",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-05-25 17:05:16",
|
"updatedAt": "2026-05-26 09:05:07",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-05-25 17:05:16",
|
"updatedAt": "2026-05-26 09:05:07",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-17 19:37:49",
|
"createdAt": "2026-04-17 19:37:49",
|
||||||
"updatedAt": "2026-05-25 17:05:16",
|
"updatedAt": "2026-05-26 09:05:07",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-17 20:21:27",
|
"createdAt": "2026-04-17 20:21:27",
|
||||||
"updatedAt": "2026-05-25 17:05:16",
|
"updatedAt": "2026-05-26 09:05:07",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-05-25 17:05:16",
|
"updatedAt": "2026-05-26 09:05:07",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-17 19:16:50",
|
"createdAt": "2026-04-17 19:16:50",
|
||||||
"updatedAt": "2026-05-25 17:05:16",
|
"updatedAt": "2026-05-26 09:05:07",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-05-25 17:05:16",
|
"updatedAt": "2026-05-26 09:05:07",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-05-25 17:05:16",
|
"updatedAt": "2026-05-26 09:05:07",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-05-04 09:11:04",
|
"createdAt": "2026-05-04 09:11:04",
|
||||||
"updatedAt": "2026-05-25 17:05:16",
|
"updatedAt": "2026-05-26 09:05:07",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-05-25 17:05:16",
|
"createdAt": "2026-05-25 17:05:16",
|
||||||
"updatedAt": "2026-05-25 17:05:16",
|
"updatedAt": "2026-05-26 09:05:07",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
@ -20,18 +20,18 @@
|
|||||||
},
|
},
|
||||||
"changes": {
|
"changes": {
|
||||||
"fromPreviousSnapshot": {
|
"fromPreviousSnapshot": {
|
||||||
"moduleAdded": true,
|
"moduleAdded": false,
|
||||||
"moduleRenamed": false,
|
"moduleRenamed": false,
|
||||||
"interfaceChanges": {
|
"interfaceChanges": {
|
||||||
"addedMethods": [
|
"addedMethods": [
|
||||||
"shop.GetAuthorizeSessionKey",
|
"shops.GetAuthorizeSessionKey"
|
||||||
"shops.add",
|
],
|
||||||
"shops.del",
|
"deletedMethods": [
|
||||||
"shops.edit",
|
"shop.GetAuthorizeSessionKey"
|
||||||
"shops.list"
|
],
|
||||||
|
"paramsUpdatedMethods": [
|
||||||
|
"shops.add"
|
||||||
],
|
],
|
||||||
"deletedMethods": [],
|
|
||||||
"paramsUpdatedMethods": [],
|
|
||||||
"responseUpdatedMethods": []
|
"responseUpdatedMethods": []
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -111,8 +111,8 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"method": "shops.add",
|
"method": "shops.add",
|
||||||
"title": "新增店铺,校验 platform_code 必须匹配已配置且处于 ACTIVE 且未删除的打印平台;custom_name 必填且长度<=100;shop_name 可选,缺失时使用 custom_name。支持 snake_case 与 camelCase 入参兼容。",
|
"title": "新增店铺,校验 platform_code 必须匹配已配置且处于 ACTIVE 且未删除的打印平台;custom_name 必填且长度<=100。shop_name 由服务端生成待授权占位名(PENDING_*),授权后再同步真实店铺名。支持 snake_case 与 camelCase 入参兼容。",
|
||||||
"description": "新增店铺,校验 platform_code 必须匹配已配置且处于 ACTIVE 且未删除的打印平台;custom_name 必填且长度<=100;shop_name 可选,缺失时使用 custom_name。支持 snake_case 与 camelCase 入参兼容。",
|
"description": "新增店铺,校验 platform_code 必须匹配已配置且处于 ACTIVE 且未删除的打印平台;custom_name 必填且长度<=100。shop_name 由服务端生成待授权占位名(PENDING_*),授权后再同步真实店铺名。支持 snake_case 与 camelCase 入参兼容。",
|
||||||
"endpoint": "/system",
|
"endpoint": "/system",
|
||||||
"authRequired": true,
|
"authRequired": true,
|
||||||
"loginRequired": true,
|
"loginRequired": true,
|
||||||
@ -140,12 +140,6 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"required": true,
|
"required": true,
|
||||||
"description": "店铺自定义名称,最大长度 100"
|
"description": "店铺自定义名称,最大长度 100"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "shop_name",
|
|
||||||
"type": "string",
|
|
||||||
"required": false,
|
|
||||||
"description": "店铺名称,若不传则以 custom_name 作为 shop_name"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"response": [
|
"response": [
|
||||||
@ -308,7 +302,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"method": "shop.GetAuthorizeSessionKey",
|
"method": "shops.GetAuthorizeSessionKey",
|
||||||
"title": "按店铺所属平台生成授权会话。入参兼容 id/shop_id/shopId 与 callbackurl/callback_url,callbackurl 必填。对已实现的平台(PDD/CAINIAO)返回 session_key/authorize_url/state,其他平台返回 501 未实现。",
|
"title": "按店铺所属平台生成授权会话。入参兼容 id/shop_id/shopId 与 callbackurl/callback_url,callbackurl 必填。对已实现的平台(PDD/CAINIAO)返回 session_key/authorize_url/state,其他平台返回 501 未实现。",
|
||||||
"description": "按店铺所属平台生成授权会话。入参兼容 id/shop_id/shopId 与 callbackurl/callback_url,callbackurl 必填。对已实现的平台(PDD/CAINIAO)返回 session_key/authorize_url/state,其他平台返回 501 未实现。",
|
"description": "按店铺所属平台生成授权会话。入参兼容 id/shop_id/shopId 与 callbackurl/callback_url,callbackurl 必填。对已实现的平台(PDD/CAINIAO)返回 session_key/authorize_url/state,其他平台返回 501 未实现。",
|
||||||
"endpoint": "/system",
|
"endpoint": "/system",
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-05-25 17:05:16",
|
"updatedAt": "2026-05-26 09:05:07",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-05-25 17:05:16",
|
"updatedAt": "2026-05-26 09:05:07",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-05-25 17:05:16",
|
"updatedAt": "2026-05-26 09:05:07",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-05-15 17:32:36",
|
"createdAt": "2026-05-15 17:32:36",
|
||||||
"updatedAt": "2026-05-25 17:05:16",
|
"updatedAt": "2026-05-26 09:05:07",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-05-25 17:05:16",
|
"updatedAt": "2026-05-26 09:05:07",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-05-25 17:05:16",
|
"updatedAt": "2026-05-26 09:05:07",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": "2026-04-17 19:16:50"
|
"restoredAt": "2026-04-17 19:16:50"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-05-25 17:05:16",
|
"updatedAt": "2026-05-26 09:05:07",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-05-25 17:05:16",
|
"updatedAt": "2026-05-26 09:05:07",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-05-25 17:05:16",
|
"updatedAt": "2026-05-26 09:05:07",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-05-25 17:05:16",
|
"updatedAt": "2026-05-26 09:05:07",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-05-25 17:05:16",
|
"generatedAt": "2026-05-26 09:05:07",
|
||||||
"generatedAtLocal": "2026-05-25 17:05:16",
|
"generatedAtLocal": "2026-05-26 09:05:07",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
@ -13,49 +13,39 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"summary": {
|
"summary": {
|
||||||
"moduleAdded": 1,
|
"moduleAdded": 0,
|
||||||
"moduleDeleted": 0,
|
"moduleDeleted": 0,
|
||||||
"interfaceAdded": 5,
|
"interfaceAdded": 1,
|
||||||
"interfaceDeleted": 0,
|
"interfaceDeleted": 1,
|
||||||
"interfaceParamsUpdated": 0,
|
"interfaceParamsUpdated": 1,
|
||||||
"interfaceResponseUpdated": 0,
|
"interfaceResponseUpdated": 0,
|
||||||
"totalChangedItems": 6
|
"totalChangedItems": 3
|
||||||
},
|
},
|
||||||
"interfaceUpdates": {
|
"interfaceUpdates": {
|
||||||
"added": [
|
"added": [
|
||||||
|
{
|
||||||
|
"moduleName": "店铺模块",
|
||||||
|
"moduleKey": "shops",
|
||||||
|
"folder": "shops",
|
||||||
|
"method": "shops.GetAuthorizeSessionKey"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"deleted": [
|
||||||
{
|
{
|
||||||
"moduleName": "店铺模块",
|
"moduleName": "店铺模块",
|
||||||
"moduleKey": "shops",
|
"moduleKey": "shops",
|
||||||
"folder": "shops",
|
"folder": "shops",
|
||||||
"method": "shop.GetAuthorizeSessionKey"
|
"method": "shop.GetAuthorizeSessionKey"
|
||||||
},
|
}
|
||||||
|
],
|
||||||
|
"paramsUpdated": [
|
||||||
{
|
{
|
||||||
"moduleName": "店铺模块",
|
"moduleName": "店铺模块",
|
||||||
"moduleKey": "shops",
|
"moduleKey": "shops",
|
||||||
"folder": "shops",
|
"folder": "shops",
|
||||||
"method": "shops.add"
|
"method": "shops.add"
|
||||||
},
|
|
||||||
{
|
|
||||||
"moduleName": "店铺模块",
|
|
||||||
"moduleKey": "shops",
|
|
||||||
"folder": "shops",
|
|
||||||
"method": "shops.del"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"moduleName": "店铺模块",
|
|
||||||
"moduleKey": "shops",
|
|
||||||
"folder": "shops",
|
|
||||||
"method": "shops.edit"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"moduleName": "店铺模块",
|
|
||||||
"moduleKey": "shops",
|
|
||||||
"folder": "shops",
|
|
||||||
"method": "shops.list"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"deleted": [],
|
|
||||||
"paramsUpdated": [],
|
|
||||||
"responseUpdated": []
|
"responseUpdated": []
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user