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.
 
 

37 lines
821 B

<?php
namespace App\Service\v3\Implementations;
use App\Model\v3\Store;
use App\Service\v3\Interfaces\StoreServiceInterface;
class StoreService implements StoreServiceInterface
{
public function do()
{
// TODO: Implement do() method.
}
public function check()
{
// TODO: Implement check() method.
}
public function undo()
{
// TODO: Implement undo() method.
}
public function detail($storeId, $marketId)
{
return Store::query()
->select([
'id', 'name', 'logo', 'introduction', 'announcement', 'address', 'tel', 'stall_info',
'is_rest','time1', 'time2', 'time3', 'time4',
])
->where(['id' => $storeId, 'market_id' => $marketId])
->first()->toArray();
}
}