stefango
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/utils/request.ts
|
|
|
@ -2,7 +2,7 @@ |
|
|
|
import { extend } from 'umi-request'; |
|
|
|
import { notification } from 'antd'; |
|
|
|
|
|
|
|
const codeMessage = { |
|
|
|
const codeMessage: { [status: number]: string } = { |
|
|
|
200: '服务器成功返回请求的数据。', |
|
|
|
201: '新建或修改数据成功。', |
|
|
|
202: '一个请求已经进入后台排队(异步任务)。', |
|
|
|
|