浏览代码

优化流量已用完短信通知

zhangdongming 3 年之前
父节点
当前提交
7ef7c1c3c4
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      Controller/UnicomCombo/UnicomComboTaskController.py

+ 3 - 0
Controller/UnicomCombo/UnicomComboTaskController.py

@@ -155,6 +155,9 @@ class UnicomComboTaskView(View):
                     if not activate_status:
                     if not activate_status:
                         # 停用
                         # 停用
                         unicom_api.change_device_to_disable(iccid)
                         unicom_api.change_device_to_disable(iccid)
+                        asy = threading.Thread(target=UnicomComboTaskView.async_combo_sys_msg_push,
+                                               args=(iccid, '', 0))
+                        asy.start()
 
 
             return response.json(0)
             return response.json(0)
         except Exception as e:
         except Exception as e: