|
@@ -93,7 +93,7 @@ export default {
|
|
|
getList() {
|
|
|
this.prizes = []
|
|
|
page(getApp().globalData.userInfo).then(res => {
|
|
|
- if (res.data.code === 0) {
|
|
|
+ if (res.code === 0) {
|
|
|
const j = res.data
|
|
|
// 可用积分
|
|
|
this.maySignPoint = j.maySignPoint
|
|
@@ -136,7 +136,7 @@ export default {
|
|
|
this.$refs.lucky.play()
|
|
|
this.disabled = false
|
|
|
result(getApp().globalData.userInfo).then(res => {
|
|
|
- if (res.data.code === 0) {
|
|
|
+ if (res.code === 0) {
|
|
|
setTimeout(() => {
|
|
|
this.$refs.lucky.stop(res.data.resultGoodSort - 1)
|
|
|
this.form = res.data
|
|
@@ -183,7 +183,7 @@ export default {
|
|
|
prizeId: this.form.resultGoodId,
|
|
|
lotteryCode: this.form.lotteryCode
|
|
|
}).then(res => {
|
|
|
- if (res.data.code === 0) {
|
|
|
+ if (res.code === 0) {
|
|
|
this.$refs.popup.close()
|
|
|
this.getList()
|
|
|
setTimeout(() => {
|