Authored by 郭成尧

api-change

... ... @@ -443,7 +443,7 @@ class familyModel extends global.yoho.BaseModel {
integralCharts(uid) {
let options = {
data: {
method: 'app.family.usercoin',
method: 'app.passport.yohofamilyCoin',
uid: uid
},
param: {
... ... @@ -550,7 +550,7 @@ class familyModel extends global.yoho.BaseModel {
getCoinData(params) {
let options = {
data: {
method: 'app.family.coinlog',
method: 'app.yohocoin.lists',
uid: params.uid,
source: params.source || -1,
queryType: params.queryType || 0,
... ... @@ -570,14 +570,15 @@ class familyModel extends global.yoho.BaseModel {
};
let _this = this;
if (_.get(result, 'data.data')) {
_.forEach(result.data.data, function(val) {
if (_.has(result, 'data.coinlist')) {
_.forEach(_.get(result, 'data.coinlist', []), function(val) {
Object.assign(val, {
typeName: _this.checkType(val.iconType),
minus: parseInt(val.num, 10) < 0
});
});
resu.coinList = result.data.data;
resu.coinList = _.get(result, 'data.coinlist', []);
}
return resu;
... ...
... ... @@ -65,7 +65,7 @@ class myCurrencyModel extends global.yoho.BaseModel {
currencyDetail(uid, page, limit) {
return this.get({data: {
method: 'app.family.coinlog',
method: 'app.yohocoin.lists',
uid: uid,
page: page,
limit: limit
... ...
<div class="coin-mall-c">
<div class="coin{{#if isNowApp}} now{{/if}}">
<span>{{coinNum}}</span>
<span>{{total}}</span>
</div>
<div class="btn-c">
<a class="acquiring-help" href='https://m.yohobuy.com/activity/feature/905.html?share_id=3111&title=YOHO!FAMILY积分说明&openby:yohobuy={"action":"go.h5","params":{"url":"https://m.yohobuy.com/activity/feature/905.html?share_id=3111&title=YOHO!FAMILY积分说明"}}'>如何获取积分</a>
... ... @@ -24,4 +24,4 @@
</div>
<div class="tip-app hide">
</div>
</div>
\ No newline at end of file
</div>
... ...