|
@@ -1507,6 +1507,7 @@ class CloudStorageView(View):
|
|
|
msg=sys_msg_text,
|
|
|
status=0
|
|
|
))
|
|
|
+ SysMsgModel.objects.bulk_create(uq_list)
|
|
|
user_qs = Device_User.objects.filter(userID=oo['userID_id'])
|
|
|
if user_qs.exists():
|
|
|
user = user_qs[0]
|
|
@@ -1522,7 +1523,6 @@ class CloudStorageView(View):
|
|
|
|
|
|
self.pushApp(now_time, ub['uid'], ub['channel'], sys_msg_text)
|
|
|
|
|
|
- SysMsgModel.objects.bulk_create(uq_list)
|
|
|
|
|
|
|
|
|
def pushApp(self, nowTime, uid, channel, sys_msg_text):
|