Commit 79dc335b by liang ce

微应用ID测试

parent 05c81747
......@@ -10,6 +10,7 @@ const config = {
})
return axios.post(`http://139.196.213.18:8300/v1/auth/query_org_agent_id?${senddate}`).then((res) => {
console.log(res)
localStorage.setItem('agentId', res.data.data)
resolve(res.data.data)
})
}).then((res) => {
......@@ -109,7 +110,7 @@ const config = {
disabledDepartments: [], // 不可选部门
requiredUsers: [], // 必选用户(不可取消选中状态)
requiredDepartments: [], // 必选部门(不可取消选中状态)
appId: 246391838, // 微应用的Id
appId: localStorage.getItem('agentId'), // 微应用的Id
permissionType: 'GLOBAL', // 可添加权限校验,选人权限,目前只有GLOBAL这个参数
responseUserOnly: false, // 返回人,或者返回人和部门
startWithDepartmentId: -1, // 仅支持0和-1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment