|
@@ -64,13 +64,13 @@ export default {
|
|
|
let data = JSON.parse(res.data);
|
|
|
if (data.code == 200) {
|
|
|
this.fileName = data.fileName;
|
|
|
- if(this.side=='face'){
|
|
|
+ /* if(this.side=='face'){
|
|
|
this.ocr({ imageUrl:'https://chenglantimes.com/prod-api/profile/upload/2024/05/28/hMVl1kQcMSdUc62e08bd903664fce4b69068f2ac9c93_20240528144808A001.jpg', side: this.side });
|
|
|
}
|
|
|
if(this.side=='back'){
|
|
|
this.ocr({ imageUrl:'https://chenglantimes.com/prod-api/profile/upload/2024/05/28/usPhkg6WXRTv578724d2803a2ac809477cfcba4f6d46_20240528144811A002.jpg', side: this.side });
|
|
|
- }
|
|
|
- //this.ocr({ imageUrl: this.ip + data.fileName, side: this.side });
|
|
|
+ } */
|
|
|
+ this.ocr({ imageUrl: this.ip + data.fileName, side: this.side });
|
|
|
} else {
|
|
|
uni.showModal({ content: data.msg, showCancel: false });
|
|
|
}
|