Browse Source

不传sid全改系统消息

chenjunkai 6 years ago
parent
commit
2b249e0778
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Controller/SysMsg.py

+ 2 - 1
Controller/SysMsg.py

@@ -127,4 +127,5 @@ class SysMsgView(View):
             else:
                 return response.json(173)
         else:
-            return response.json(444, 'sid')
+            sm_qs = SysMsgModel.objects.filter(userID_id=userID).update(status=1)
+            return response.json(0)