...
|
...
|
@@ -456,23 +456,17 @@ class familyModel extends global.yoho.BaseModel { |
|
|
}
|
|
|
|
|
|
getCoinData(params) {
|
|
|
let options = {
|
|
|
data: {
|
|
|
method: 'app.yohocoin.lists',
|
|
|
uid: params.uid,
|
|
|
source: params.source || -1,
|
|
|
queryType: params.queryType || 0,
|
|
|
beginTime: params.beginTime ? this.formatDay(parseInt(params.beginTime, 10)) : '',
|
|
|
endTime: params.endTime ? this.formatDay(parseInt(params.endTime, 10)) : '',
|
|
|
page: params.page || 1,
|
|
|
limit: params.limit || 10
|
|
|
},
|
|
|
param: {
|
|
|
code: 200
|
|
|
}
|
|
|
};
|
|
|
|
|
|
return this.get(options).then(result => {
|
|
|
return family.get('user/getYohoCoinLog', {
|
|
|
uid: params.uid,
|
|
|
source: params.source || -1,
|
|
|
queryType: params.queryType || 0,
|
|
|
beginTime: params.beginTime ? this.formatDay(parseInt(params.beginTime, 10)) : '',
|
|
|
endTime: params.endTime ? this.formatDay(parseInt(params.endTime, 10)) : '',
|
|
|
page: params.page || 1,
|
|
|
limit: params.limit || 10
|
|
|
}, {
|
|
|
code: 200
|
|
|
}).then(result => {
|
|
|
let resu = {
|
|
|
coinList: []
|
|
|
};
|
...
|
...
|
|