diff --git a/fuintAdmin/src/api/convenienceStore/goods.js b/fuintAdmin/src/api/convenienceStore/goods.js new file mode 100644 index 000000000..ff0c26fc3 --- /dev/null +++ b/fuintAdmin/src/api/convenienceStore/goods.js @@ -0,0 +1,39 @@ +import request from '@/utils/request' + +// 新增商品分类 +export function insertCvsGoods(data) { + return request({ + url: '/business/cvsGoods/addCvsGoods', + method: 'post', + data: data + }) + } + + // 分页查询分类 +export function selectTree(data) { + return request({ + url: '/business/cvsGoods/selectTree', + method: 'post', + data: data + }) + } + +// 查询一级分类 +export function list(data) { + return request({ + url: '/business/cvsGoods/list', + method: 'post', + data: data + }) +} + +// 根据id查询一级分类 +export function selectParentById(query) { + return request({ + url: '/business/cvsGoods', + method: 'get', + params: query + }) +} + + \ No newline at end of file diff --git a/fuintAdmin/src/views/convenienceStore/index.vue b/fuintAdmin/src/views/convenienceStore/index.vue new file mode 100644 index 000000000..c3d192313 --- /dev/null +++ b/fuintAdmin/src/views/convenienceStore/index.vue @@ -0,0 +1,344 @@ + + + + + \ No newline at end of file