fcc-core
Version:
Fusion communication center.
16 lines (14 loc) • 375 B
JavaScript
export default async function (xw, params) {
return new Promise((resolve, reject) => {
xw.ajaxRequest([{
service: 'E2501401',
USER_CODE: xw.userInfo.USER_CODE
}]).then(data => {
if (data.code === '0') {
resolve(data.data)
} else {
reject(new xw.BaseException(424, '获取人员失败'))
}
})
})
}