emblemscanner: use camera-5.1
This commit is contained in:
parent
2df1973773
commit
78a48c6cb0
@ -127,7 +127,7 @@ Page({
|
|||||||
|
|
||||||
// Set up web-view URL if needed
|
// Set up web-view URL if needed
|
||||||
if (should_use_webview) {
|
if (should_use_webview) {
|
||||||
emblem_camera_url = "https://themblem.com/camera-5.0/?" + make_query(rule.zoom, this.data.return_page, this.data.real_ip, this.data.tenant_id);
|
emblem_camera_url = "https://themblem.com/camera-5.1/?" + make_query(rule.zoom, this.data.return_page, this.data.real_ip, this.data.tenant_id);
|
||||||
this.addDebugMessage(`Using web-view camera: ${emblem_camera_url}`);
|
this.addDebugMessage(`Using web-view camera: ${emblem_camera_url}`);
|
||||||
} else {
|
} else {
|
||||||
if (this.data.force_camera && rule.web_view) {
|
if (this.data.force_camera && rule.web_view) {
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"navigationBarTitleText": "QR Scanner"
|
"navigationBarTitleText": "AI验真"
|
||||||
}
|
}
|
||||||
@ -87,7 +87,7 @@ function make_query(zoom, return_page, real_ip, tenant_id) {
|
|||||||
ret += "&tenant=" + (tenant_id || "");
|
ret += "&tenant=" + (tenant_id || "");
|
||||||
ret += "&tk=" + Date.now();
|
ret += "&tk=" + Date.now();
|
||||||
if (return_page) {
|
if (return_page) {
|
||||||
ret += "&return_page=" + encodeURIComponent(return_page);
|
ret += "&wx_redirect_to=" + encodeURIComponent(return_page);
|
||||||
}
|
}
|
||||||
console.log("Web-view query:", ret);
|
console.log("Web-view query:", ret);
|
||||||
return ret;
|
return ret;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user