diff --git a/app/controller/api/store/product/StoreSpu.php b/app/controller/api/store/product/StoreSpu.php index 6075e153..61eab1ed 100644 --- a/app/controller/api/store/product/StoreSpu.php +++ b/app/controller/api/store/product/StoreSpu.php @@ -212,7 +212,7 @@ class StoreSpu extends BaseController POW( SIN( PI( ) * ( $lng- `long` ) / 360 ), 2 ) + COS( PI( ) * $lat / 180 ) * COS( `lat` * PI( ) / 180 ) * POW( SIN( PI( ) * ( $lat- `lat` ) / 360 ), 2 ) ) ) - ) ASC ")); + ) ASC "))->limit(50)->select(); $arr = []; foreach ($select as $k => $v) { $arr[] = $v['mer_id'];