diff --git a/main.py b/main.py index f5983fe..d91e973 100644 --- a/main.py +++ b/main.py @@ -128,6 +128,7 @@ def init_modems() -> list: def on_message_received(ch, method, properties, body): + print(str(body)) print(" [x] Received {} {}".format(body, datetime.datetime.now())) # parse the received message result = ReserveResultPojo.from_json(body) @@ -198,7 +199,7 @@ def start_book(): if modem.contact: logger.info("contact found for this ccid") signal = modem.modem.signalStrength - logger.info("signal for this sim: "+str(signal)) + logger.info("信号强度: "+str(signal)) commandor.start_page(modem.contact) start_to_handle_sms(modem) except Exception as error: