opt: parse sys msg (#1770)

This commit is contained in:
My-Responsitories
2025-12-08 23:06:46 +08:00
committed by GitHub
parent 773bdafec3
commit ff4f97de1a
5 changed files with 46 additions and 46 deletions

View File

@@ -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);
}
}