...
|
...
|
@@ -72,6 +72,8 @@ const currencyList = (uid, condition)=>{ |
|
|
page: result.pager.curPage
|
|
|
}));
|
|
|
}
|
|
|
}else {
|
|
|
result = {error: 'no data'};
|
|
|
}
|
|
|
|
|
|
return result;
|
...
|
...
|
@@ -127,8 +129,13 @@ const currencyData = (uid, condition)=>{ |
|
|
}
|
|
|
let currency = yield currencyList(uid, condition);
|
|
|
|
|
|
result.currency = currency.list;
|
|
|
result.pager = currency.pager;
|
|
|
if (currency.error) {//参数错误,或者后台报错
|
|
|
result.myCurrency = 0;
|
|
|
}else {
|
|
|
result.currency = currency.list;
|
|
|
result.pager = currency.pager;
|
|
|
}
|
|
|
|
|
|
result.coinHelperUrl = '//www.yohobuy.com/help/?category_id=87';// yoho币帮助
|
|
|
result.tabs = currencyTabs(condition.queryType);
|
|
|
result.options = currencyOptions(condition);
|
...
|
...
|
|