|
@@ -36,7 +36,7 @@ class Gift extends Api
|
|
|
$giftList = list_domain_image($giftList,['image','special']);
|
|
|
|
|
|
//追加赠送数量
|
|
|
- $gift_num = Db::name('gift_number')->select();
|
|
|
+ $gift_num = Db::name('gift_number')->order('number asc')->select();
|
|
|
foreach($giftList as $key => &$val){
|
|
|
$child = [];
|
|
|
foreach($gift_num as $k => $num){
|