index.js 259 B

123456789101112131415
  1. const { request } = require('../../../api/request')
  2. /**
  3. * 发布动态
  4. * @param obj
  5. * @returns {Promise<*>}
  6. */
  7. export const postAddNews = (obj) => request({
  8. url: '/api/user/track/add',
  9. method: 'POST',
  10. data: {
  11. ...obj
  12. },
  13. showLoading: true
  14. })