| | |
| | | |
| | | // 列表 |
| | | export const getList = async (data) => { |
| | | return request(`/api/huacheng-sangeshenbian/banner/list`, { |
| | | return request(`/api/huacheng-sangeshenbian/party-member/list`, { |
| | | method: 'POST', |
| | | data:data |
| | | }); |
| | | } |
| | | |
| | | export const regionTree = async (data) => { |
| | | return request('/api/huacheng-sangeshenbian/systemUser/regionTree', { |
| | | method: 'GET', |
| | | params:data |
| | | data, |
| | | }); |
| | | } |
| | | export const audit = async (data) => { |
| | | return request(`/api/huacheng-sangeshenbian/party-member/audit`, { |
| | | method: 'POST', |
| | | data |
| | | }); |
| | | } |
| | | // 详情 |
| | | export const getDetail = async (id) => { |
| | | return request(`/api/huacheng-sangeshenbian/banner/getBannerInfo/${id}`, { |
| | | return request(`/api/huacheng-sangeshenbian/party-member/${id}`, { |
| | | method: 'GET', |
| | | // data |
| | | }); |
| | | } |
| | | |
| | | |
| | | // 删除 |
| | | export const deleteBanner = async (id) => { |
| | | return request(`/api/huacheng-sangeshenbian/banner/delete/${id}`, { |
| | | method: 'delete', |
| | | // params |
| | | }); |
| | | } |
| | | |
| | | // 添加 编辑 |
| | | export const add = async (data) => { |
| | | return request('/api/huacheng-sangeshenbian/banner/add', { |
| | | method: 'POST', |
| | | data, |
| | | }); |
| | | } |
| | | |
| | | // 添加 编辑 |
| | | export const Edit = async (data) => { |
| | | return request('/api/huacheng-sangeshenbian/banner/edit', { |
| | | method: 'POST', |
| | | data, |
| | | }); |
| | | } |
| | | |
| | | |
| | | |