Rap 原分销系统代码Web
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78e2f84046e28b9aea1edd4262d52062fc2045fd.svn-base 656B

5 maanden geleden
12345678910111213141516171819202122232425262728293031323334353637383940
  1. import request from '@/utils/request'
  2. export function get() {
  3. return request({
  4. url: 'api/qiNiuContent/config',
  5. method: 'get'
  6. })
  7. }
  8. export function update(data) {
  9. return request({
  10. url: 'api/qiNiuContent/config',
  11. data,
  12. method: 'put'
  13. })
  14. }
  15. export function download(id) {
  16. return request({
  17. url: 'api/qiNiuContent/download/' + id,
  18. method: 'get'
  19. })
  20. }
  21. export function sync() {
  22. return request({
  23. url: 'api/qiNiuContent/synchronize',
  24. method: 'post'
  25. })
  26. }
  27. export function del(ids) {
  28. return request({
  29. url: 'api/qiNiuContent',
  30. method: 'delete',
  31. data: ids
  32. })
  33. }
  34. export default { del, download, sync }