From: SnickerSun Date: Thu, 27 Jun 2024 06:28:03 +0000 (+0800) Subject: 电信入库增加一个字段 X-Git-Tag: release_V1.2.70_20241020_135402~945^2~3 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=004804a612cac67d30ac8f5f72298286d355267e;p=mirrors%2FFD230.git 电信入库增加一个字段 --- diff --git a/code/sdk/drivers/peripheral/slip/cat1Service/pyscript/telecom_dmp.py b/code/sdk/drivers/peripheral/slip/cat1Service/pyscript/telecom_dmp.py index 9043fe2a7..46a7e1056 100644 --- a/code/sdk/drivers/peripheral/slip/cat1Service/pyscript/telecom_dmp.py +++ b/code/sdk/drivers/peripheral/slip/cat1Service/pyscript/telecom_dmp.py @@ -256,7 +256,8 @@ class telecomDmp: "MACID":MACID, "OSVER":OSVER, "IMEI1":IMEI1, - "SIM1CELLID":SIM1CELLID + "SIM1CELLID":SIM1CELLID, + "NETWORKTYPE":4 } data_infor=ujson.dumps(data)#将字典转换成json格式 json_bytes = bytes(data_infor, 'utf-8')#转换成字节数