问题修复

pull/1/head
limu 1 year ago
parent 46425ff3ff
commit 603d27aa97
  1. 2
      app/api/model/user/UserInvoice.php

@ -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();
}

Loading…
Cancel
Save