Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
ai-card
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 17d5511d
authored
Nov 29, 2022
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改分享
1 parent
094569cc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
app.js
pages/tab/index/index.js
app.js
View file @
17d5511
...
@@ -96,6 +96,11 @@ App({
...
@@ -96,6 +96,11 @@ App({
resolve
(
result
)
resolve
(
result
)
})
})
}
else
{
_this
.
getUserInfo
(
openId
,
returnResponse
).
then
(
result
=>
{
wx
.
$storage
.
set
(
'scene'
,
wx
.
$trackData
)
resolve
(
result
)
})
}
}
// ssoApi
// ssoApi
// .getUserInfo({
// .getUserInfo({
...
...
pages/tab/index/index.js
View file @
17d5511
...
@@ -249,8 +249,9 @@ Page({
...
@@ -249,8 +249,9 @@ Page({
*/
*/
onShareAppMessage
()
{
onShareAppMessage
()
{
const
cardId
=
wx
.
$storage
.
get
(
"scene"
).
cardId
const
cardId
=
wx
.
$storage
.
get
(
"scene"
).
cardId
const
merchant
=
wx
.
$storage
.
get
(
"scene"
).
merchant
const
merchant
=
wx
.
$storage
.
get
(
"scene"
).
merchant
||
wx
.
$storage
.
get
(
"scene"
).
merchantId
const
shareType
=
'SHARE_HOME'
const
shareType
=
'SHARE_HOME'
console
.
log
(
'cardId'
,
cardId
,
'merchant'
,
merchant
)
return
{
return
{
title
:
`您好,我向你推荐了广联数科
${
this
.
data
.
cardInfo
.
staffName
}
的智能名片~`
,
title
:
`您好,我向你推荐了广联数科
${
this
.
data
.
cardInfo
.
staffName
}
的智能名片~`
,
imageUrl
:
this
.
data
.
shareImg
,
imageUrl
:
this
.
data
.
shareImg
,
...
...
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