companyVoiceApi.js 462 B

12345678910111213141516171819202122232425262728293031
  1. import request from '@/utils/request'
  2. export function callMobile(query) {
  3. return request({
  4. url: '/company/voiceApi/callMobile' ,
  5. method: 'get',
  6. params: query
  7. })
  8. }
  9. export function callOffMobile(voiceId) {
  10. return request({
  11. url: '/company/voiceApi/callOffMobile?voiceId='+voiceId ,
  12. method: 'get'
  13. })
  14. }
  15. export function getSipAccount() {
  16. return request({
  17. url: '/company/voiceApi/getSipAccount' ,
  18. method: 'get'
  19. })
  20. }