You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
697 B
27 lines
697 B
12 months ago
|
let url_config = ""
|
||
|
|
||
|
let jsApiList = [
|
||
|
'biz.cspace.saveFile', //钉盘保存文件
|
||
|
'biz.map.search', //位置搜索
|
||
|
'device.geolocation.get', //定位
|
||
|
'biz.ding.create', //创建ding消息
|
||
|
'device.base.getUUID', //uuid
|
||
|
'biz.contact.choose', //联系人
|
||
|
'biz.contact.complexPicker', //选人和部门
|
||
|
'biz.contact.departmentsPicker', //选部门
|
||
|
'biz.chat.chooseConversationByCorpId', //会话选择
|
||
|
"biz.contact.chooseMobileContacts", //手机联系人
|
||
|
];
|
||
|
|
||
|
let option = {
|
||
|
corpId: '', //企业ID
|
||
|
agentId: '', //微应用ID
|
||
|
serverPath: url_config, //接口基础地址
|
||
|
jsApiList: jsApiList, //鉴权列表
|
||
|
isDebug: false //判断是否alert
|
||
|
};
|
||
|
export default {
|
||
|
url_config,
|
||
|
option
|
||
|
}
|