添加获取站点列表
This commit is contained in:
parent
71a81d522f
commit
3199f3b1b7
@ -259,6 +259,17 @@ class LocalStore extends Api
|
||||
return JsonServer::error('获取失败');
|
||||
}
|
||||
|
||||
public function getPostStationList()
|
||||
{
|
||||
$id = $this->request->post('id');
|
||||
$post_station = LocalStorePostStation::where(['lstore_id' => $id, 'is_delete' => 0])->field('id, province, city, area, address, lat,lng')->select();
|
||||
if ($post_station) {
|
||||
return JsonServer::success('成功获取', $post_station->toArray());
|
||||
}
|
||||
|
||||
return JsonServer::error('获取失败');
|
||||
}
|
||||
|
||||
public function editLocaShopInfo()
|
||||
{
|
||||
$id = $this->request->post('id');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user