diff --git a/src/api/setting/dict.ts b/src/api/setting/dict.ts index cef4e83..1817da1 100644 --- a/src/api/setting/dict.ts +++ b/src/api/setting/dict.ts @@ -2,38 +2,38 @@ import request from '@/utils/request' // 字典类型列表 export function dictTypeLists(params: any) { - return request.get({ url: '/setting.dict.dict_type/lists', params }) + return request.get({ url: '/setting/dict/DictType/lists', params }) } // 字典类型列表全部 export function dictTypeAll(params: any) { - return request.get({ url: '/setting.dict.dict_type/all', params }) + return request.get({ url: '/setting/dict/DictType/all', params }) } // 添加字典类型 export function dictTypeAdd(params: any) { - return request.post({ url: '/setting.dict.dict_type/add', params }) + return request.post({ url: '/setting/dict/DictType/add', params }) } // 编辑字典类型 export function dictTypeEdit(params: any) { - return request.post({ url: '/setting.dict.dict_type/edit', params }) + return request.post({ url: '/setting/dict/DictType/edit', params }) } // 删除字典类型 export function dictTypeDelete(params: any) { - return request.post({ url: '/setting.dict.dict_type/delete', params }) + return request.post({ url: '/setting/dict/DictType/delete', params }) } // 字典类型详情 export function dictTypeDetail(params: any) { - return request.get({ url: '/setting.dict.dict_type/detail', params }) + return request.get({ url: '/setting/dict/DictType/detail', params }) } // 字典数据列表 export function dictDataLists(params: any) { return request.get( - { url: '/setting.dict.dict_data/lists', params }, + { url: '/setting/dict/DictData/lists', params }, { ignoreCancelToken: true } @@ -42,20 +42,20 @@ export function dictDataLists(params: any) { // 添加字典数据 export function dictDataAdd(params: any) { - return request.post({ url: '/setting.dict.dict_data/add', params }) + return request.post({ url: '/setting/dict/DictData/add', params }) } // 编辑字典数据 export function dictDataEdit(params: any) { - return request.post({ url: '/setting.dict.dict_data/edit', params }) + return request.post({ url: '/setting/dict/DictData/edit', params }) } // 删除字典数据 export function dictDataDelete(params: any) { - return request.post({ url: '/setting.dict.dict_data/delete', params }) + return request.post({ url: '/setting/dict/DictData/delete', params }) } // 字典数据详情 export function dictDataDetail(params: any) { - return request.get({ url: '/setting.dict.dict_data/detail', params }) + return request.get({ url: '/setting/dict/DictData/detail', params }) } diff --git a/src/api/tools/code.ts b/src/api/tools/code.ts index 69056de..f9860ed 100644 --- a/src/api/tools/code.ts +++ b/src/api/tools/code.ts @@ -2,50 +2,50 @@ import request from '@/utils/request' // 代码生成已选数据表列表接口 export function generateTable(params: any) { - return request.get({ url: '/tools.generator/generateTable', params }) + return request.get({ url: '/tools/generator/generateTable', params }) } // 数据表列表接口 export function dataTable(params: any) { - return request.get({ url: '/tools.generator/dataTable', params }) + return request.get({ url: '/tools/generator/dataTable', params }) } //选择要生成代码的数据表 export function selectTable(params: any) { - return request.post({ url: '/tools.generator/selectTable', params }) + return request.post({ url: '/tools/generator/selectTable', params }) } // 已选择的数据表详情 export function tableDetail(params: any) { - return request.get({ url: '/tools.generator/detail', params }) + return request.get({ url: '/tools/generator/detail', params }) } //同步字段 export function syncColumn(params: any) { - return request.post({ url: '/tools.generator/syncColumn', params }) + return request.post({ url: '/tools/generator/syncColumn', params }) } //删除已选择的数据表 export function generateDelete(params: any) { - return request.post({ url: '/tools.generator/delete', params }) + return request.post({ url: '/tools/generator/delete', params }) } //编辑已选表字段 export function generateEdit(params: any) { - return request.post({ url: '/tools.generator/edit', params }) + return request.post({ url: '/tools/generator/edit', params }) } //预览代码 export function generatePreview(params: any) { - return request.post({ url: '/tools.generator/preview', params }) + return request.post({ url: '/tools/generator/preview', params }) } //生成代码 export function generateCode(params: any) { - return request.post({ url: '/tools.generator/generate', params }) + return request.post({ url: '/tools/generator/generate', params }) } //获取模型 export function getModels() { - return request.get({ url: '/tools.generator/getModels' }) + return request.get({ url: '/tools/generator/getModels' }) } diff --git a/src/components/link/custom-link.vue b/src/components/link/custom-link.vue deleted file mode 100644 index d90264e..0000000 --- a/src/components/link/custom-link.vue +++ /dev/null @@ -1,42 +0,0 @@ - - - diff --git a/src/components/link/index.ts b/src/components/link/index.ts deleted file mode 100644 index 58f3673..0000000 --- a/src/components/link/index.ts +++ /dev/null @@ -1,11 +0,0 @@ -export enum LinkTypeEnum { - 'SHOP_PAGES' = 'shop', - 'CUSTOM_LINK' = 'custom' -} - -export interface Link { - path: string - name?: string - type: string - query?: Record -} diff --git a/src/components/link/index.vue b/src/components/link/index.vue deleted file mode 100644 index c3acb1b..0000000 --- a/src/components/link/index.vue +++ /dev/null @@ -1,96 +0,0 @@ - - - - - diff --git a/src/components/link/picker.vue b/src/components/link/picker.vue deleted file mode 100644 index cc89913..0000000 --- a/src/components/link/picker.vue +++ /dev/null @@ -1,84 +0,0 @@ - - - - - diff --git a/src/components/link/shop-pages.vue b/src/components/link/shop-pages.vue deleted file mode 100644 index e5c747b..0000000 --- a/src/components/link/shop-pages.vue +++ /dev/null @@ -1,101 +0,0 @@ - - - diff --git a/src/views/message/notice/edit.vue b/src/views/message/notice/edit.vue deleted file mode 100644 index c51ec7c..0000000 --- a/src/views/message/notice/edit.vue +++ /dev/null @@ -1,130 +0,0 @@ - - - diff --git a/src/views/message/notice/index.vue b/src/views/message/notice/index.vue deleted file mode 100644 index 784b260..0000000 --- a/src/views/message/notice/index.vue +++ /dev/null @@ -1,86 +0,0 @@ - - diff --git a/src/views/message/short_letter/edit.vue b/src/views/message/short_letter/edit.vue deleted file mode 100644 index 0449081..0000000 --- a/src/views/message/short_letter/edit.vue +++ /dev/null @@ -1,128 +0,0 @@ - - diff --git a/src/views/message/short_letter/index.vue b/src/views/message/short_letter/index.vue deleted file mode 100644 index ea11976..0000000 --- a/src/views/message/short_letter/index.vue +++ /dev/null @@ -1,56 +0,0 @@ - -