common.ts 426 B

1234567891011121314151617
  1. import { qs } from '@/utils'
  2. import { http } from '@/utils/http'
  3. /**
  4. * 获取枚举(1业务类型 2充值状态 3提现状态 4收益状态 5收益业务类型)
  5. * @returns
  6. */
  7. export function getEnum(data: any) {
  8. return http.get<any>('/cif/api/user/getEnum', data)
  9. }
  10. /**
  11. * 获取地区
  12. * @returns
  13. */
  14. export function divisionsTreeList(data: any) {
  15. return http.post<any>(`/operating/divisions/treeList?${qs(data)}`)
  16. }