补充拉取本行信息前端接口契约

This commit is contained in:
wkc
2026-03-11 17:32:18 +08:00
parent 9e440dad41
commit 1d777c4401
2 changed files with 21 additions and 33 deletions

View File

@@ -57,10 +57,25 @@ export function executeQualityCheck(projectId) {
}
// 拉取本行信息
export function pullBankInfo(projectId) {
export function parseIdCardFile(file) {
const formData = new FormData()
formData.append('file', file)
return request({
url: '/ccdi/project/' + projectId + '/pull-bank-info',
method: 'post'
url: '/ccdi/file-upload/parse-id-card-file',
method: 'post',
data: formData,
headers: {
'Content-Type': 'multipart/form-data'
}
})
}
// 拉取本行信息
export function pullBankInfo(data) {
return request({
url: '/ccdi/file-upload/pull-bank-info',
method: 'post',
data
})
}