common.js 323 B

12345678910111213
  1. import fetch from '../api/fetch.js'
  2. export default {
  3. dicList (params) {
  4. return fetch('/blade-system/dict-biz/dictionary', params)
  5. },
  6. submit (params) { // 保存上传文件素材
  7. return fetch('/wutong-library/library/save', params, 'post', 'json')
  8. },
  9. basicFormRequest (url) {
  10. return fetch(url)
  11. }
  12. }