2025-05-21 13:44:54 +08:00
|
|
|
// src/apis/brand.js
|
|
|
|
import axios from '@/utils/axios';
|
2025-05-30 14:18:54 +08:00
|
|
|
import request from '@/utils/axios.js';
|
2025-05-21 13:44:54 +08:00
|
|
|
|
|
|
|
export const getProducts = (params) => {
|
|
|
|
return axios.get('/api/brand/products', {
|
|
|
|
params,
|
|
|
|
apisType: 'mock',
|
|
|
|
});
|
|
|
|
};
|
|
|
|
|
|
|
|
export const getApplyList = () => {
|
|
|
|
return axios.get('/api/brand/apply-list', {
|
|
|
|
apisType: 'mock',
|
|
|
|
});
|
|
|
|
};
|
|
|
|
|
|
|
|
export const getMonitorList = () => {
|
|
|
|
return axios.get('/api/brand/monitor-list', {
|
|
|
|
apisType: 'mock',
|
|
|
|
});
|
|
|
|
};
|
2025-05-30 14:18:54 +08:00
|
|
|
|
|
|
|
export function brandList(params) {
|
|
|
|
return request('brand/brandbase/page?status=1&auditStatus=2', {
|
|
|
|
method: 'GET',
|
|
|
|
params,
|
|
|
|
});
|
|
|
|
}
|