Commit 63d3e214 authored by AU-Pro-mac's avatar AU-Pro-mac

add new change

parent 07cf7399
......@@ -171,7 +171,6 @@ Page({
// test - code
// url: 'https://cloud.video.taobao.com/play/u/20446068/p/1/e/6/t/1/239271757987.mp4', timeStamp: 0, totalTime: 0, completed: false
// test - code
}
this.videoImgSrcSmallArr[index] = item.mainImage
})
......@@ -315,9 +314,9 @@ Page({
this.setData({
ticketNum: data.gameTimes,
drawNum: data.lotteryTimes,
// test - code
// ticketNum: 1,
// drawNum: 1,
// todayFirstLogin: data.todayFirstLogin
// drawNum: 1
})
// if (this.data.todayFirstLogin) this.userFirstInToday()
}
......
......@@ -149,10 +149,9 @@ Component({
// 游戏开始 获取用户信息
gameStartInfo () {
// -- test code --
// test - code
// this.gameStartInfo_test()
// return
// -- test code --
API.doJoin({activityId: app.activityId, type: this.data.gameType === 1 ? 'slide' : 'timeline'})
.then(res => {
......@@ -184,10 +183,9 @@ Component({
// 游戏结束 获取开奖
getGameOverPrize () {
// -- test code --
// test - code
// this.getGameOverPrize_test()
// return
// -- test code --
API.gameOver({activityId: app.activityId, type: this.data.gameType === 1 ? 'slide' : 'timeline', isWin: this.isWin})
.then(res => {
......
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