This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import fetch from 'dva/fetch'; | |
import { notification, message } from 'antd'; | |
import { routerRedux } from 'dva/router'; | |
import store from '../index'; | |
const codeMessage = { | |
200: '服务器成功返回请求的数据。', | |
201: '新建或修改数据成功。', | |
202: '一个请求已经进入后台排队(异步任务)。', | |
204: '删除数据成功。', |