Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-main
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 550d2fc1
authored
Apr 01, 2022
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
corpId优先从链接获取
1 parent
e37b720e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
src/api/wxConfig.js
src/api/wxConfig.js
View file @
550d2fc
...
...
@@ -8,7 +8,8 @@ const WxConfig = {
if
(
e
==
'chooseImage'
)
jsApiList
.
push
(
'getLocalImgData'
)
})
let
[
redirectUrl
]
=
window
.
location
.
href
.
split
(
'#'
)
const
{
corpId
}
=
util
.
getQuery
()
||
util
.
getLocalStorage
(
'dj_scrm_corpId'
)
let
{
corpId
}
=
util
.
getQuery
()
if
(
!
corpId
)
corpId
=
util
.
getLocalStorage
(
'dj_scrm_corpId'
).
corpId
/** 获取企微应用AgentConfig */
let
data
=
{
corpId
,
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment