diff --git a/.env.development b/.env.development index 595e335..a9c3635 100644 --- a/.env.development +++ b/.env.development @@ -5,7 +5,7 @@ VITE_APP_TITLE = 煤科建管平台 VITE_APP_ENV = 'development' # 开发环境 -VITE_APP_BASE_API = 'http://192.168.110.149:8899' +VITE_APP_BASE_API = 'http://192.168.110.209:8899' # 李陈杰 209 # 曾涛 # VITE_APP_BASE_API = 'http://192.168.110.180:8899' diff --git a/src/api/system/oss/index.ts b/src/api/system/oss/index.ts index 9980610..eb7f6d2 100644 --- a/src/api/system/oss/index.ts +++ b/src/api/system/oss/index.ts @@ -31,3 +31,20 @@ export function delOss(ossId: string | number | Array) { export function downLoadOss(ossId: { id?: string | number; idList?: string | number | Array }, url: string, fileName: string) { return download(url, ossId, fileName); } + +//识别身份证 +export function recognizeidCard(data: any, type: any) { + return request({ + url: '/contractor/constructionUser/idCard?idCardSide=' + type, + method: 'post', + data: data + }); +} +//识别银行卡 +export function recognizeBankCard(data: any) { + return request({ + url: '/contractor/constructionUser/bankCard', + method: 'post', + data: data + }); +} diff --git a/src/components/ImageUpload/index.vue b/src/components/ImageUpload/index.vue index 4921a6d..bac4213 100644 --- a/src/components/ImageUpload/index.vue +++ b/src/components/ImageUpload/index.vue @@ -41,7 +41,7 @@