forked from nsjcy/frontEnd/nsjcy

1
Mr Ke
2020-05-27 04990562a326e33f6a9e05aa456981ecc62fedd5
1
2
3
4
5
6
import fetch from './_fetch';
import { message } from 'antd';
export default ({ page, size }) =>
  fetch(`api/tipoff/query?rows=${size}&page=${page}`)
    .then(json => json)
    .catch(error => message.error('详情加载失败,请联系管理员', 2));