Explorar o código

Merge branch 'wheng' of wuheng/eas_webadmin into master

wuheng hai 1 ano
pai
achega
5aa2f3b462
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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
     }
   ) {