|
@@ -355,19 +355,14 @@ function processScanString(url,scanType) { |
|
@@ -355,19 +355,14 @@ function processScanString(url,scanType) { |
355
|
break;
|
355
|
break;
|
356
|
case ScanTypeInfo.YHScanType_Default: {
|
356
|
case ScanTypeInfo.YHScanType_Default: {
|
357
|
if (url.indexOf('skn:') !== -1) {
|
357
|
if (url.indexOf('skn:') !== -1) {
|
358
|
- console.log('skn');
|
|
|
359
|
alertInfo = scanSkn(url);
|
358
|
alertInfo = scanSkn(url);
|
360
|
} else if (url.indexOf('booth:') !== -1) {
|
359
|
} else if (url.indexOf('booth:') !== -1) {
|
361
|
- console.log('booth');
|
|
|
362
|
alertInfo = scanBooth(url);
|
360
|
alertInfo = scanBooth(url);
|
363
|
} else if (url.indexOf('bear:') !== -1) {
|
361
|
} else if (url.indexOf('bear:') !== -1) {
|
364
|
- console.log('bear');
|
|
|
365
|
alertInfo = scanBear(url);
|
362
|
alertInfo = scanBear(url);
|
366
|
} else if (url.indexOf('yohobuy:') !== -1 || url.indexOf('yohobuy=') !== -1 || url.indexOf('yohobuy=') !== -1) {
|
363
|
} else if (url.indexOf('yohobuy:') !== -1 || url.indexOf('yohobuy=') !== -1 || url.indexOf('yohobuy=') !== -1) {
|
367
|
- console.log('yohobuy');
|
|
|
368
|
alertInfo = scanYohoBuy(url);
|
364
|
alertInfo = scanYohoBuy(url);
|
369
|
} else if (url.indexOf('http://') !== -1 || url.indexOf('https://') !== -1) {
|
365
|
} else if (url.indexOf('http://') !== -1 || url.indexOf('https://') !== -1) {
|
370
|
- console.log('http&s');
|
|
|
371
|
alertInfo = scanAddressLink(url);
|
366
|
alertInfo = scanAddressLink(url);
|
372
|
} else {
|
367
|
} else {
|
373
|
alertInfo = {
|
368
|
alertInfo = {
|
|
@@ -415,7 +410,6 @@ export function processURL(scanString) { |
|
@@ -415,7 +410,6 @@ export function processURL(scanString) { |
415
|
|
410
|
|
416
|
export function jumpWithUrl(url, JumpType) {
|
411
|
export function jumpWithUrl(url, JumpType) {
|
417
|
if (!url) {
|
412
|
if (!url) {
|
418
|
- console.log('Illegal url');
|
|
|
419
|
return;
|
413
|
return;
|
420
|
}
|
414
|
}
|
421
|
|
415
|
|