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.
 
 

31 lines
625 B

<?php
namespace App\Service\v3\Implementations;
use App\Service\v3\Interfaces\LocationServiceInterface;
use App\Model\v3\Area;
use App\Model\v3\Market;
class LocationService implements LocationServiceInterface
{
public function do()
{
// TODO: Implement do() method.
}
public function check()
{
// TODO: Implement check() method.
}
public function undo()
{
// TODO: Implement undo() method.
}
public function getMarketListByLocation($cityIds)
{
$res = Area::query()->with('markets')->whereIn('id',$cityIds)->get();
return $res;
}
}