forked from nsjcy/frontEnd/nsjcy

Mr Ke
2020-05-27 5545fc19893ca0e23818f20eed930850c84edb72
1
2
3
4
5
6
7
8
9
10
11
import fetch from './_fetch';
export default data =>
  fetch(
    `api/tipoff/reply` +
      '?' +
      Object.entries(data)
        .map(([k, v]) => `${k}=${v}`)
        .join('&')
  )
    .then(json => json)
    .catch(error => message.error('信息加载失败,请联系管理员', 2));