房间送礼信息 和 进入小黑屋
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
// application/common/model/GiveGiftBase.php
|
||||
// application/common/model/GiveGiftBases.php
|
||||
|
||||
namespace app\common\model;
|
||||
|
||||
@@ -276,7 +276,7 @@ class GiveGiftBase extends Model
|
||||
$data = [];
|
||||
if ($total > 0) {
|
||||
$offset = ($options['page'] - 1) * $options['limit'];
|
||||
$dataSql = "{$unionSql} ORDER BY {$options['order']} LIMIT {$offset}, {$options['limit']}";
|
||||
$dataSql = "{$unionSql} ORDER BY {$options['order']} DESC LIMIT {$offset}, {$options['limit']}";
|
||||
|
||||
try {
|
||||
$data = Db::query($dataSql, $params);
|
||||
|
||||
Reference in New Issue
Block a user