...
|
...
|
@@ -385,7 +385,11 @@ class UserModel |
|
|
// 处理YOHO币数据
|
|
|
if(isset($yohoCoin['data']) && !empty($yohoCoin['data'])){
|
|
|
$coinList = $yohoCoin['data']['coinlist'];
|
|
|
$data['money'] = $yohoCoin['data']['total'];
|
|
|
|
|
|
// 获取有货币总数
|
|
|
$total = self::getYohoCoinData($uid);
|
|
|
$data['money'] = !empty($total) ? $total['yohoCoin']['coinNum'] : 0;
|
|
|
|
|
|
foreach($coinList as $key => $val){
|
|
|
$result[$key]['title'] = $val['message'];
|
|
|
$result[$key]['time'] = $val['date'];
|
...
|
...
|
|