fcc-core
Version:
Fusion communication center.
25 lines (24 loc) • 668 B
JavaScript
export default async function (xwfn, eventType, callback) {
// return xw.ajaxRequest([{
// DICT_TYPE: '',
// MAINTAIN_FLAG: '',
// QUERY_TEXT: '',
// QUERY_TYPE: '1',
// page: 1,
// pagecount: 10,
// pageoffset: 1,
// rows: 1,
// service: 'P0102401'
// }]).then(result => {
// if (result.code === '0') {
// return Promise.resolve(result.data)
// // return Promise.reject(result.data)
// // return result.data
// }
// })
xwfn.public.login({ userAccount: 'cp', password: '888888' }).then(res => {
xwfn.public.dialVideo({
userAccount: 'zhangjiancheng1'
})
})
}