Browse Source

Merge branch 'wheng' of wuheng/eas_webadmin into master

wuheng 1 năm trước cách đây
mục cha
commit
5aa2f3b462
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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
     }
   ) {