123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- import service from '../utils/axios'
- export function getCustomerList(data) {
- return service({
- url: '/app/user/getCustomerList',
- method: 'post',
- data
- })
- }
- export function addCustomer(data) {
- return service({
- url: 'admin/platform/addCustomer',
- method: 'post',
- data
- })
- }
- export function updateCustomer(data) {
- return service({
- url: "admin/platform/updateCustomer",
- method: "post",
- data,
- });
- }
- export function deleteCustomer(data) {
- return service({
- url: '/customer/delete',
- method: 'post',
- data
- })
- }
- export function getCustomer(data) {
- return service({
- url: "/app/user/getCustomer",
- method: "post",
- data,
- });
- }
- // 获取客户列表
- export function getMessUserList(data){
- return service({
- url: 'admin/platform/customerList',
- method: 'post',
- data
- })
- }
- // 客户详情
- export function deleteMessUser(params){
- return service.get('admin/platform/customerInfo', {params})
- }
|