Commit e8d2a089 authored by houjn@hikoon.cn's avatar houjn@hikoon.cn

1.品牌与商标关系

parent 82aecd13
import request from '@/utils/request'
// 创建商品品牌授权
export function createProductBrandEmpower(data) {
return request({
url: '/ecw/product-brand-empower/create',
method: 'post',
data: data
})
}
// 更新商品品牌授权
export function updateProductBrandEmpower(data) {
return request({
url: '/ecw/product-brand-empower/update',
method: 'put',
data: data
})
}
// 删除商品品牌授权
export function deleteProductBrandEmpower(id) {
return request({
url: '/ecw/product-brand-empower/delete?id=' + id,
method: 'delete'
})
}
// 获得商品品牌授权
export function getProductBrandEmpower(id) {
return request({
url: '/ecw/product-brand-empower/get?id=' + id,
method: 'get'
})
}
// 获得商品品牌授权分页
export function getProductBrandEmpowerPage(query) {
return request({
url: '/ecw/product-brand-empower/page',
method: 'get',
params: query
})
}
// 导出商品品牌授权 Excel
export function exportProductBrandEmpowerExcel(query) {
return request({
url: '/ecw/product-brand-empower/export-excel',
method: 'get',
params: query,
responseType: 'blob'
})
}
......@@ -80,6 +80,8 @@ export const DICT_TYPE = {
ECW_MESSAGE_LEAVE_STATUS: 'ecw_message_leave_status',
PWD_TYPE: 'pwd_type',
BRAND_REG_TYPE: 'brand_registry_type',
BRAND_AUTH_STATUS: 'brand_authorization_status',
BRAND_CUSTOMER_CHARGING_MODEL: 'customer_charging_model',
}
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment