fstarter 2.10.54 → 2.10.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -33,9 +33,9 @@ var faceH5 = {
|
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
invoke(params){
|
|
36
|
-
if(ua.isIspPhone){
|
|
36
|
+
// if(ua.isIspPhone){
|
|
37
37
|
|
|
38
|
-
}else if(ua.microMsg){
|
|
38
|
+
// }else if(ua.microMsg){
|
|
39
39
|
let apiUrl = config.http.gwURL + '/api/v1/hasl/preservation/service/h5CreateOrderPreservation'
|
|
40
40
|
return http.post(apiUrl,params,false,true).then((data)=>{
|
|
41
41
|
let _data = JSON.parse(data.result)
|
|
@@ -45,9 +45,9 @@ var faceH5 = {
|
|
|
45
45
|
window.location.href = cbUrl
|
|
46
46
|
return Promise.resolve(data.result)
|
|
47
47
|
})
|
|
48
|
-
}else{
|
|
49
|
-
|
|
50
|
-
}
|
|
48
|
+
// }else{
|
|
49
|
+
// Promise.reject()
|
|
50
|
+
// }
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
|
|
@@ -24,9 +24,9 @@ var getH5FaceResult = {
|
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
invoke(params){
|
|
27
|
-
if(ua.isIspPhone){
|
|
27
|
+
// if(ua.isIspPhone){
|
|
28
28
|
|
|
29
|
-
}else if(ua.microMsg){
|
|
29
|
+
// }else if(ua.microMsg){
|
|
30
30
|
let apiUrl = config.http.gwURL + '/api/v1/hasl/preservation/service/faceResultQueryPreservation'
|
|
31
31
|
return http.post(apiUrl,params, false, true).then((res)=>{
|
|
32
32
|
let data = JSON.parse(res.result)
|
|
@@ -53,9 +53,9 @@ var getH5FaceResult = {
|
|
|
53
53
|
return Promise.reject(failedData)
|
|
54
54
|
}
|
|
55
55
|
})
|
|
56
|
-
}else{
|
|
57
|
-
|
|
58
|
-
}
|
|
56
|
+
// }else{
|
|
57
|
+
// Promise.reject()
|
|
58
|
+
// }
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
|