login by QR code
static Future<Result> loginByScannedTicket(String ticket) async { return await post('/api/v2/qrcode/confirm', jsonEncode({'random': ticket})); }