...
|
...
|
@@ -355,19 +355,14 @@ function processScanString(url,scanType) { |
|
|
break;
|
|
|
case ScanTypeInfo.YHScanType_Default: {
|
|
|
if (url.indexOf('skn:') !== -1) {
|
|
|
console.log('skn');
|
|
|
alertInfo = scanSkn(url);
|
|
|
} else if (url.indexOf('booth:') !== -1) {
|
|
|
console.log('booth');
|
|
|
alertInfo = scanBooth(url);
|
|
|
} else if (url.indexOf('bear:') !== -1) {
|
|
|
console.log('bear');
|
|
|
alertInfo = scanBear(url);
|
|
|
} else if (url.indexOf('yohobuy:') !== -1 || url.indexOf('yohobuy=') !== -1 || url.indexOf('yohobuy=') !== -1) {
|
|
|
console.log('yohobuy');
|
|
|
alertInfo = scanYohoBuy(url);
|
|
|
} else if (url.indexOf('http://') !== -1 || url.indexOf('https://') !== -1) {
|
|
|
console.log('http&s');
|
|
|
alertInfo = scanAddressLink(url);
|
|
|
} else {
|
|
|
alertInfo = {
|
...
|
...
|
@@ -415,7 +410,6 @@ export function processURL(scanString) { |
|
|
|
|
|
export function jumpWithUrl(url, JumpType) {
|
|
|
if (!url) {
|
|
|
console.log('Illegal url');
|
|
|
return;
|
|
|
}
|
|
|
|
...
|
...
|
|