card.js 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. import request from '@/utils/request'
  2. //身份证识别
  3. export function getOcrIdCard(data) {
  4. return request({
  5. 'url': '/ocr/ocrIdCard',
  6. 'method': 'post',
  7. 'data':data
  8. })
  9. }
  10. //营业执照识别
  11. export function getOcrBusinessLicense(data) {
  12. return request({
  13. 'url': '/ocr/ocrBusinessLicense',
  14. 'method': 'post',
  15. 'data':data
  16. })
  17. }
  18. //人脸识别(注册接口)
  19. export function getOcrSample(data) {
  20. return request({
  21. 'url': '/ocr/ocrSample',
  22. 'method': 'post',
  23. 'data':data
  24. })
  25. }
  26. //用户身份证信息列表-新增idcard:idcard:add
  27. export function getIdCardAdd(data) {
  28. return request({
  29. 'url': '/idCard',
  30. 'method': 'post',
  31. 'data':data
  32. })
  33. }
  34. //营业执照信息-列表 enterprise:enterprise:list
  35. export function getEnterpriseList(data) {
  36. return request({
  37. 'url': '/enterprise/list',
  38. 'method': 'get',
  39. 'data':data
  40. })
  41. }
  42. //营业执照信息-列表不分页 enterprise:enterprise:listNoPage
  43. export function getQyListNoPage(data) {
  44. return request({
  45. 'url': '/enterprise/listNoPage',
  46. 'method': 'get',
  47. 'data':data,
  48. })
  49. }
  50. //营业执照信息-新增 enterprise:enterprise:add
  51. export function getEnterpriseAdd(data) {
  52. return request({
  53. 'url': '/enterprise',
  54. 'method': 'post',
  55. 'data':data
  56. })
  57. }
  58. //营业执照信息-修改 enterprise:enterprise:edit
  59. export function getEnterpriseEdit(data) {
  60. return request({
  61. 'url': '/enterprise/put',
  62. 'method': 'post',
  63. 'data':data
  64. })
  65. }
  66. //营业执照信息-删除 enterprise:enterprise:remove
  67. export function getEnterpriseDel(data) {
  68. return request({
  69. 'url': '/enterprise/delete/'+data,
  70. 'method': 'get',
  71. })
  72. }
  73. //营业执照信息-详情 enterprise:enterprise:query
  74. export function getEnterpriseDet(data) {
  75. return request({
  76. 'url': '/enterprise/'+data,
  77. 'method': 'get',
  78. })
  79. }
  80. //用户身份证信息列表-列表idcard:idcard:list
  81. export function getIdCardList(data) {
  82. return request({
  83. 'url': '/idCard/list',
  84. 'method': 'get',
  85. 'data':data
  86. })
  87. }
  88. //用户身份证信息列表-详情idcard:idcard:query
  89. export function getIdCardDet(data) {
  90. return request({
  91. 'url': '/idCard/'+data,
  92. 'method': 'get',
  93. })
  94. }
  95. //人脸识别阿里云金融级实人认证
  96. export function getOcrFn(data) {
  97. return request({
  98. 'url': '/ocr/ocrSampleAliYun',
  99. 'method': 'post',
  100. 'data':data
  101. })
  102. }
  103. //修改人脸识别状态
  104. export function getChangeFace(data) {
  105. return request({
  106. 'url': '/system/user/changeFace',
  107. 'method': 'post',
  108. 'data':data
  109. })
  110. }