customer.ts 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. import Service from '../lib/service.js'
  2. import axios from 'axios'
  3. import Config from '../config'
  4. class SystemService extends Service {
  5. constructor() {
  6. super()
  7. axios.defaults.baseURL = Config.Host85
  8. }
  9. //cid详细信息real
  10. async cidRealSingle(params = {}) {
  11. return await this.post('/custom/search/real/single', params)
  12. }
  13. //真实用户列表all
  14. async realCustomerListAll(params = {}) {
  15. return await this.post('/custom/login/search/custom/list', params)
  16. }
  17. //ibno详细信息
  18. async pIbNoRealSingle(params = {}) {
  19. return await this.post('/ib/search/ib/single', params)
  20. }
  21. //用户文件审核
  22. async customFileApprove(params = {}) {
  23. return await this.post('/custom/file/approve', params)
  24. }
  25. //反审核
  26. async customFileApproveDe(params = {}) {
  27. return await this.post('/custom/file/de/approve', params)
  28. }
  29. //根据条件查看拒绝列表-用于下拉和选择展示理由
  30. async reasonsRefusalList(params = {}) {
  31. return await this.post('/reasons/refusal/list', params)
  32. }
  33. }
  34. export default new SystemService()