You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
532 B
18 lines
532 B
<?php
|
|
|
|
|
|
namespace App\Service\v3\Interfaces;
|
|
|
|
|
|
interface LocationServiceInterface
|
|
{
|
|
public function do();
|
|
public function check();
|
|
public function undo();
|
|
public function getMarketListByLocation($lng,$lat);
|
|
public function searchMarket($key,$lng,$lat,$cityId = 2163);
|
|
public function getMarketsInfo();
|
|
public function getDistance($lng1, $lat1, $lng2, $lat2, $unit = 2, $decimal = 2);
|
|
public function getDistanceByTencent($lng1, $lat1, $lng2, $lat2);
|
|
public function getNearestMarket($lng,$lat);
|
|
}
|