import fetch from './_fetch'; import { message } from 'antd'; export default ({ senderId }) => fetch(`api/v1/contact/wordOut?senderId=${senderId || ''}`) .then( json => json ) .catch( error => message.error('记录删除失败,请联系管理员', 2) );