@@ 63-77 (lines=15) @@ | ||
60 | * |
|
61 | * @return bool|array |
|
62 | */ |
|
63 | public function getpoi($poi_id) |
|
64 | { |
|
65 | if (empty($poi_id) || !is_numeric($poi_id)) { |
|
66 | $this->setError('参数错误'); |
|
67 | ||
68 | return false; |
|
69 | } |
|
70 | ||
71 | $queryStr = []; |
|
72 | $queryStr['poi_id'] = $poi_id; |
|
73 | ||
74 | $res = $this->_post('getpoi', $queryStr); |
|
75 | ||
76 | return $res; |
|
77 | } |
|
78 | ||
79 | /** |
|
80 | * 查询门店列表 |
|
@@ 134-148 (lines=15) @@ | ||
131 | * |
|
132 | * @return bool|array |
|
133 | */ |
|
134 | public function delpoi($poi_id) |
|
135 | { |
|
136 | if (empty($poi_id) || !is_numeric($poi_id)) { |
|
137 | $this->setError('参数错误'); |
|
138 | ||
139 | return false; |
|
140 | } |
|
141 | ||
142 | $queryStr = []; |
|
143 | $queryStr['poi_id'] = $poi_id; |
|
144 | ||
145 | $res = $this->_post('delpoi', $queryStr); |
|
146 | ||
147 | return $res; |
|
148 | } |
|
149 | ||
150 | /** |
|
151 | * 门店类目表 |