27 lines
553 B
PHP
27 lines
553 B
PHP
<?php
|
|
|
|
namespace app\api\logic\store;
|
|
|
|
use app\common\logic\BaseLogic;
|
|
use app\common\model\system_store\SystemStore;
|
|
use think\facade\Db;
|
|
|
|
class StoreLogic extends BaseLogic
|
|
{
|
|
|
|
|
|
public static function search($param)
|
|
{
|
|
return SystemStore::where($param)
|
|
->field(['id', 'name', 'phone', 'detailed_address', 'image', 'is_show',
|
|
'day_time', 'is_store', 'latitude', 'longitude', 'day_start', 'day_end', 'is_store'
|
|
, 'is_send'
|
|
])
|
|
->find()
|
|
->toArray();
|
|
|
|
|
|
}
|
|
|
|
|
|
} |