|
@@ -301,6 +301,7 @@ class UnicomObjeect:
|
|
|
res_dict = UnicomObjeect().get_text_dict(result)
|
|
|
logger.info('查询iccid状态:{}'.format(res_dict))
|
|
|
if res_dict['data']['status'] != 3:
|
|
|
+ re_data['status'] = 2
|
|
|
response = UnicomObjeect().update_device_state(**re_data)
|
|
|
logger.info('再次停卡:{}'.format(response.text))
|
|
|
return True
|