Sfoglia il codice sorgente

不传sid全改系统消息

chenjunkai 6 anni fa
parent
commit
2b249e0778
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  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)