Commit bd02fab8 by xuzhenghua

test

parent f454b077
......@@ -105,14 +105,17 @@ class BlessingPreheat extends Component {
}
window['getNewData'] = result => {
alert('getNewData')
this.fetchUserBlessing()
}
window['QQWXWBshare'] = result => {
alert('QQWXWBshare')
http.post(`${API.home}/sys/add/blessing`, {
share_platform: result, // 1 朋友圈 2 微博 3 qq
type: 3 // 1:签到;3:分享;4:浏览课程;
}).then(res => {
const {code} = res.data
alert(code)
if (code === 200) {
Toast.info('+2点福气值~', 2, null, false)
this.fetchUserBlessing()
......
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