diff --git a/src/api/brand/index.js b/src/api/brand/index.js index 91b5ce6..8044da9 100644 --- a/src/api/brand/index.js +++ b/src/api/brand/index.js @@ -39,6 +39,7 @@ export function getBrandInfo(id) { method: "get", }); } +//品牌启用停用 export function updateStatusBrand(data) { return request({ url: "brand/brandbase/updateStatus", @@ -79,3 +80,54 @@ export function applicationrenewalApprove(data) { data: data, }); } + +// 获取品牌使用管理列表 +export function brandUsingList(query) { + return request({ + url: "/brand/brandUsingSystem/page", + method: "get", + params: query, + }); +} +// 新增品牌使用 +export function addBrandUsing(data) { + return request({ + url: "/brand/brandUsingSystem/save", + method: "post", + data: data, + }); +} + +// 编辑品牌使用 +export function updateBrandUsing(data) { + return request({ + url: "/brand/brandUsingSystem/update", + method: "post", + data: data, + }); +} + +// 获取品牌使用管理详情(id) +export function getBrandUsing(id) { + return request({ + url: `/brand/brandUsingSystem/detail/${id}`, + method: "get", + }); +} + +// 删除品牌使用管理 +export function deleteBrandUsing(id) { + return request({ + url: '/brand/brandUsingSystem/del?ids=' + id, + method: "delete", + }); +} + +//品牌使用管理启用停用 +export function updateStatusBrandUsing(data) { + return request({ + url: "/brand/brandUsingSystem/enable", + method: "post", + data: data, + }); +} diff --git a/src/components/myUploadImage.vue b/src/components/myUploadImage.vue index fa885fb..91af40c 100644 --- a/src/components/myUploadImage.vue +++ b/src/components/myUploadImage.vue @@ -1,6 +1,6 @@