...
|
...
|
@@ -236,7 +236,7 @@ class Goods extends Frontend |
|
|
$goodsModel = new \app\index\model\Goods();
|
|
|
$ids = [];
|
|
|
if(!empty($param['lng']) && !empty($param['lat'])){
|
|
|
$order = 'g.weigh desc';
|
|
|
$order = 'distance asc';
|
|
|
$data = $goodsModel
|
|
|
->alias('g')
|
|
|
->field([
|
...
|
...
|
|