|
@@ -279,7 +279,7 @@ Page({ |
|
|
levelName: res.data.levelName, |
|
|
levelName: res.data.levelName, |
|
|
upgradePercent: res.data.upgradePercent, |
|
|
upgradePercent: res.data.upgradePercent, |
|
|
upgradeScore: res.data.upgradeScore, |
|
|
upgradeScore: res.data.upgradeScore, |
|
|
credit: res.data.credit, |
|
|
|
|
|
|
|
|
credit: res.data.credit ? res.data.credit:0, |
|
|
score: res.data.score |
|
|
score: res.data.score |
|
|
}) |
|
|
}) |
|
|
if (res.data.nickName) { |
|
|
if (res.data.nickName) { |
|
@@ -441,16 +441,14 @@ Page({ |
|
|
token: token, |
|
|
token: token, |
|
|
} |
|
|
} |
|
|
}).then(res => { |
|
|
}).then(res => { |
|
|
console.log(res.data+"eeee"); |
|
|
|
|
|
that.setData({ |
|
|
that.setData({ |
|
|
weappShareTitle: res.data.weappShareTitle, |
|
|
|
|
|
weappShareCoverImg: res.data.weappShareCoverImg, |
|
|
|
|
|
|
|
|
weappShareTitle: res.data.weappShareTitle ? res.data.weappShareTitle:null, |
|
|
|
|
|
weappShareCoverImg: res.data.weappShareCoverImg ? res.data.weappShareCoverImg:null, |
|
|
}); |
|
|
}); |
|
|
}) |
|
|
}) |
|
|
.catch(err => { |
|
|
|
|
|
|
|
|
.catch(err => { |
|
|
|
|
|
|
|
|
}) |
|
|
|
|
|
; |
|
|
|
|
|
|
|
|
}); |
|
|
}, |
|
|
}, |
|
|
/** |
|
|
/** |
|
|
* banner |
|
|
* banner |
|
|