diff --git a/application/api/model/UserWallet.php b/application/api/model/UserWallet.php index 815c04dc..97ecf509 100644 --- a/application/api/model/UserWallet.php +++ b/application/api/model/UserWallet.php @@ -108,13 +108,8 @@ class UserWallet extends Model $value['change_type_name'] = model('common/UserWallet')->ChangeTypeLable($value['change_type']); } } - $next_last_id = !empty($list) ? end($list)['id'] : 0; // 下一页的last_id - $lists = [ - 'list' => $list, - 'next_last_id' => $next_last_id, - ]; - return ['code' => 1, 'msg' => '获取成功', 'data' => $lists]; + return ['code' => 1, 'msg' => '获取成功', 'data' => $list]; } //收益(钻石)兑换金币