dev #65

Merged
wangzhongjie merged 71 commits from dev into main 2025-06-17 17:32:26 +08:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit f2f1cb4687 - Show all commits

View File

@ -95,6 +95,7 @@ export default async function tempRequest<T>(req: any): Promise<T> {
}
}).catch(Error => {
console.info('test-error0' + url + ' error:resp: ' + JSON.stringify(Error.message))
httpRequest.destroy();
Prompt.showToast({
message: Error?.message,
duration: 5000

View File

@ -187,11 +187,10 @@ export default struct FaceCompare {
this.param.pztd=this.param.rlls
const data=await takePhoto(this.param, this.context, 'jt/', 1,)
this.base64=this.imageBase64 + data.base64
console.log('mmmmt',this.base64)
faceCompare({
sfzh: this.sfzh,
firstImage: this.firstImage.substr(22),
secondImage: data.base64,
secondImage: this.firstImage.substr(22),
firstImage: data.base64,
type: 2,
verifyType: 1
})