Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-attachment-psd
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 36cd9086
authored
Jul 13, 2022
by
张权
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
任何入口进去都是根据类型判断
1 parent
54f92596
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
src/mixins/shareMixin.js
src/store/modules/app.js
src/mixins/shareMixin.js
View file @
36cd908
...
@@ -68,7 +68,7 @@ export default {
...
@@ -68,7 +68,7 @@ export default {
imgUrl
:
titleUrl
||
imgUrl
imgUrl
:
titleUrl
||
imgUrl
}
}
if
(
entry
!=
'normal'
){
//
if (entry != 'normal'){
let
pdfParam
=
{
let
pdfParam
=
{
msgtype
:
'news'
,
msgtype
:
'news'
,
news
:
params
,
news
:
params
,
...
@@ -79,9 +79,9 @@ export default {
...
@@ -79,9 +79,9 @@ export default {
}
else
{
}
else
{
this
.
getParam
(
i
,
{
id
,
merchantId
,
uuid
})
this
.
getParam
(
i
,
{
id
,
merchantId
,
uuid
})
}
}
}
else
{
//
}else{
this
.
shareAppMessage
(
params
,
{
id
,
merchantId
,
uuid
})
//
this.shareAppMessage(params, { id, merchantId, uuid })
}
//
}
}
}
})
})
},
},
...
...
src/store/modules/app.js
View file @
36cd908
...
@@ -63,7 +63,8 @@ const actions = {
...
@@ -63,7 +63,8 @@ const actions = {
ssoApi
ssoApi
.
login
({
.
login
({
code
,
code
,
corpId
corpId
,
getUserInfoFlag
:
false
})
})
.
then
(({
code
,
data
,
message
})
=>
{
.
then
(({
code
,
data
,
message
})
=>
{
let
route
=
state
.
lastPath
==
'coupon'
?
''
:
state
.
lastPath
||
''
let
route
=
state
.
lastPath
==
'coupon'
?
''
:
state
.
lastPath
||
''
...
@@ -113,8 +114,8 @@ const actions = {
...
@@ -113,8 +114,8 @@ const actions = {
}
else
{
}
else
{
util
.
showLoading
()
util
.
showLoading
()
let
appid
=
getParams
(
'corpId'
)
//从链接获取
let
appid
=
getParams
(
'corpId'
)
//从链接获取
let
dj_scrm
=
util
.
getLocalStorage
(
'dj_scrm_corpId'
)
let
dj_scrm
=
util
.
getLocalStorage
(
'dj_scrm_corpId'
)
if
(
!
appid
)
appid
=
(
dj_scrm
&&
dj_scrm
.
corpId
)
||
'ww
7ee69c648ae1b7e6
'
if
(
!
appid
)
appid
=
(
dj_scrm
&&
dj_scrm
.
corpId
)
||
'ww
c33bc9a3c72d45f3
'
util
.
setLocalStorage
(
'dj_scrm_corpId'
,
{
corpId
:
appid
})
util
.
setLocalStorage
(
'dj_scrm_corpId'
,
{
corpId
:
appid
})
// 'ww657a2d4ae89a4424'
// 'ww657a2d4ae89a4424'
const
wxUrl
=
'https://open.weixin.qq.com/connect/oauth2/authorize'
const
wxUrl
=
'https://open.weixin.qq.com/connect/oauth2/authorize'
...
...
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