forked from nsjcy/frontEnd/nsjcy

Mr Ke
2020-05-27 5545fc19893ca0e23818f20eed930850c84edb72
1
2
3
4
5
6
7
8
9
import fetch from './_fetch';
import { message } from 'antd';
export default (id) => fetch(`api/activity/publish?activityId=${id}&status=1`)
    .then(
        json => json
    )
    .catch(
        error => message.error('发布失败,请联系管理员', 2)
    );