作者 wangzhi

跨域请求

... ... @@ -38,8 +38,8 @@ class Index extends Api
*/
public function MapAddressList()
{
$arr = Db::name('dangaddress')->select();
$arr = [];
$arr = Db::name('dangaddress')->select();
if (!empty($arr)) foreach ($arr as $k => $v) {
if ($v['images'] = '') {
$arr[$k]['images'] = [];
... ...