zengyicheng hai 1 ano
pai
achega
fd1b45b53f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      ssti.js

+ 1 - 1
ssti.js

@@ -652,7 +652,7 @@ router.post('/userLogin', (req, res) => {
             })
         } else {
             //数据库有数据
-            res.end(JSON.stringify({...ret[0][0], remoteUser }));
+            res.end(JSON.stringify([...ret[0][0], remoteUser]));
         }
 
     });