Browse Source

修改PC登录返回数据

chenshibin 4 years ago
parent
commit
9c2edc1b23
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Controller/PctestController.py

+ 1 - 0
Controller/PctestController.py

@@ -112,6 +112,7 @@ class PcTest(View):
             data={'id': users['id'], 'username': users['username'], 'password': users['password'], 'job': users['job__jobcode']})
         res_qs = {
             'res': res,
+            'username': users['username'],
             'job': users['job__jobcode']
         }
         return response.json(0, res_qs)