|
|
|
@ -21,7 +21,7 @@ class ZoneGoodsParam extends Model |
|
|
|
public static function getList($where = []) |
|
|
|
{ |
|
|
|
$where['status'] = 1; |
|
|
|
$list = self::where($where)->field('id,amount,image,probability,awards')->select()->toArray(); |
|
|
|
$list = self::where($where)->field('id,amount,image,probability,awards')->order('probability')->select()->toArray(); |
|
|
|
|
|
|
|
$ZoneAmountParam = []; |
|
|
|
foreach ($list as &$item) { |
|
|
|
|