Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mr-julyedu
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
baiguangyao
mr-julyedu
Commits
bd02fab8
Commit
bd02fab8
authored
Nov 02, 2019
by
xuzhenghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
f454b077
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
src/components/blessingPreheat/index.js
+3
-0
No files found.
src/components/blessingPreheat/index.js
View file @
bd02fab8
...
@@ -105,14 +105,17 @@ class BlessingPreheat extends Component {
...
@@ -105,14 +105,17 @@ class BlessingPreheat extends Component {
}
}
window
[
'getNewData'
]
=
result
=>
{
window
[
'getNewData'
]
=
result
=>
{
alert
(
'getNewData'
)
this
.
fetchUserBlessing
()
this
.
fetchUserBlessing
()
}
}
window
[
'QQWXWBshare'
]
=
result
=>
{
window
[
'QQWXWBshare'
]
=
result
=>
{
alert
(
'QQWXWBshare'
)
http
.
post
(
`
${
API
.
home
}
/sys/add/blessing`
,
{
http
.
post
(
`
${
API
.
home
}
/sys/add/blessing`
,
{
share_platform
:
result
,
// 1 朋友圈 2 微博 3 qq
share_platform
:
result
,
// 1 朋友圈 2 微博 3 qq
type
:
3
// 1:签到;3:分享;4:浏览课程;
type
:
3
// 1:签到;3:分享;4:浏览课程;
}).
then
(
res
=>
{
}).
then
(
res
=>
{
const
{
code
}
=
res
.
data
const
{
code
}
=
res
.
data
alert
(
code
)
if
(
code
===
200
)
{
if
(
code
===
200
)
{
Toast
.
info
(
'+2点福气值~'
,
2
,
null
,
false
)
Toast
.
info
(
'+2点福气值~'
,
2
,
null
,
false
)
this
.
fetchUserBlessing
()
this
.
fetchUserBlessing
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment