1234567891011121314151617181920212223242526272829303132333435 |
- import { errorCatcher, errorHandle, filter } from 'base-core-lib'
- import { appRx } from '../defalutConfig/indexRx'
- import {
- API_GET_CUSTOMERINFO_LOOK,
- API_POST_ADDCUSTOMERINFO,
- API_POST_EDITCUSTOMERINFO,
- API_POST_DELCUSTOMERINFO,
- API_GET_CUSTOMER_GETBANK,
- API_GET_LOOK_CUSTOMERINFO
- } from '@/api/V2/customerFundManagement'
- // import { app } from 'electron'
- // 客户管理列表
- export const getCustomerList = appRx.get(API_GET_CUSTOMERINFO_LOOK, errorCatcher, errorHandle, filter)
- // 查看客户信息
- export const lookCustomer = appRx.get(API_GET_LOOK_CUSTOMERINFO, errorCatcher, errorHandle, filter)
- // 添加客户
- export const addCustomer = appRx.post(API_POST_ADDCUSTOMERINFO, errorCatcher, errorHandle, filter)
- // 编辑
- export const editCustomerInfo = appRx.post(API_POST_EDITCUSTOMERINFO, errorCatcher, errorHandle, filter)
- // 删除客户
- export const delCustomerInfo = appRx.post(API_POST_DELCUSTOMERINFO, errorCatcher, errorHandle, filter)
- //银行卡识别
- export const getBank = appRx.get(API_GET_CUSTOMER_GETBANK, errorCatcher, errorHandle, filter)
|