diff --git a/src/api/product/brand.js b/src/api/product/brand.js new file mode 100644 index 0000000..2c9799d --- /dev/null +++ b/src/api/product/brand.js @@ -0,0 +1,24 @@ +import request from '@/utils/request' + +export function insertBrand(brandInfo) { + return request({ + url: '/product/brandInfo/insertBrand', + method: 'post', + data: brandInfo + }) +} + +export function getBrandList(likeName) { + return request({ + url: '/product/brandInfo/getBrandList?likeName='+likeName, + method: 'get' + }) +} + +export function deleteBrandInfo(brandId) { + return request({ + url: '/product/brandInfo/deleteBrandInfo', + method: 'get', + brandId + }) +} diff --git a/src/views/product/brand/index.vue b/src/views/product/brand/index.vue new file mode 100644 index 0000000..6fc527a --- /dev/null +++ b/src/views/product/brand/index.vue @@ -0,0 +1,172 @@ + + + + diff --git a/src/views/product/upload/uploadPic.vue b/src/views/product/upload/uploadPic.vue new file mode 100644 index 0000000..a451e51 --- /dev/null +++ b/src/views/product/upload/uploadPic.vue @@ -0,0 +1,100 @@ + + + +