This commit is contained in:
mkm 2023-11-13 14:49:00 +08:00
parent fe41046409
commit de6480d3d9

View File

@ -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'];