mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 03:06:59 +08:00
opt: parse sys msg (#1770)
This commit is contained in:
committed by
GitHub
parent
773bdafec3
commit
ff4f97de1a
@@ -48,7 +48,7 @@ abstract final class PiliScheme {
|
||||
Map? parameters,
|
||||
int? businessId,
|
||||
int? oid,
|
||||
}) async {
|
||||
}) {
|
||||
try {
|
||||
if (url.startsWith('//')) {
|
||||
url = 'https:$url';
|
||||
@@ -64,7 +64,7 @@ abstract final class PiliScheme {
|
||||
oid: oid,
|
||||
);
|
||||
} catch (_) {
|
||||
return false;
|
||||
return Future.syncValue(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user