diff --git a/src/api/shops/shops.ts b/src/api/shops/shops.ts index 27f0acec..e2f98f25 100644 --- a/src/api/shops/shops.ts +++ b/src/api/shops/shops.ts @@ -24,7 +24,6 @@ export function shopsList(data?: { export function shopsAdd(data: { platform_code: string custom_name: string - shop_name?: string }) { return request({ url: '/system', @@ -79,7 +78,7 @@ export function shopGetAuthorizeSessionKey(data: { url: '/system', method: 'post', params: { - method: 'shop.GetAuthorizeSessionKey', + method: 'shops.GetAuthorizeSessionKey', v, timestamp: new Date().getTime() }, diff --git a/src/views/system/setting/shops/index.vue b/src/views/system/setting/shops/index.vue index 0c5f4983..812dc63c 100644 --- a/src/views/system/setting/shops/index.vue +++ b/src/views/system/setting/shops/index.vue @@ -29,8 +29,8 @@ style="width: 120px" @change="handleFilter" > - - + + @@ -44,6 +44,7 @@ 搜索 + 重置条件 刷新 新增店铺 @@ -68,6 +69,12 @@ @page-size-change="handlePageSizeChange" @refresh="loadList" > + +