cooperative.js 513 B

1234567891011121314151617181920212223242526
  1. import upload from '@/utils/upload'
  2. import request from '@/utils/request'
  3. // 查询合作社列表
  4. export function getCooperative(query) {
  5. return request({
  6. url: '/system/cooperative/list',
  7. method: 'get',
  8. params: query
  9. })
  10. }
  11. export function getCooperative() {
  12. return request({
  13. url: '/system/user/listAll',
  14. method: 'get'
  15. })
  16. }
  17. // 查询合作社详情
  18. export function updateUserProfile(data) {
  19. return request({
  20. url: '/system/user/profile',
  21. method: 'put',
  22. data: data
  23. })
  24. }