chenrong 1 год назад
Родитель
Сommit
4d8b64366c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      api/config.js

+ 1 - 1
api/config.js

@@ -17,7 +17,7 @@ export function request(params) {
 			success: function(res) {
 				// console.log(res, 'res')
 				if (res.statusCode == 200) {
-					if (res.data.errno == 200) {
+					if (res.data.errno == 0) {
 						resolve(res.data);
 						return
 					} else if (res.data.errno == 401) {