|
|
|
@ -36,7 +36,7 @@ class UserInvoice extends UserInvoiceModel |
|
|
|
|
$userId = UserService::getCurrentLoginUserId(); |
|
|
|
|
// 获取列表数据 |
|
|
|
|
$query = $this->where('user_id', '=', $userId); |
|
|
|
|
return $query->order(['create_time' => 'desc']) |
|
|
|
|
return $query->order(['created_at' => 'desc']) |
|
|
|
|
->select(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|