Pārlūkot izejas kodu

Merge branch 'wheng' of wuheng/eas_webadmin into master

wuheng 1 gadu atpakaļ
vecāks
revīzija
5aa2f3b462
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      src/service/request/instance.ts

+ 2 - 2
src/service/request/instance.ts

@@ -28,9 +28,9 @@ export default class CustomAxiosInstance {
   constructor(
     axiosConfig: AxiosRequestConfig,
     backendConfig: Service.BackendResultConfig = {
-      codeKey: 'code',
+      codeKey: 'status',
       dataKey: 'data',
-      msgKey: 'status',
+      msgKey: 'code',
       successCode: true
     }
   ) {