<?php
/** App登录控制器
 * @Copyright (C) 2016 汉潮 All rights reserved.
 * @License http://www.hanchao9999.com
 * @Author xiaoq <xiaoq@570035208.com>
 */

namespace Wxsmall\Controller;
class NearbyController extends BaseController {
	public function _initialize(){
        parent::_initialize ();
    }
	/**
	 * 获取附近门店列表页
	 */
	public function nearby(){
        $param = I('param.');
        $user_info=$this->checkuserauth();
        $param['uid']=$user_info['id'];
        $result = D('Nearby')->get_shops_list($param);
        $this->ajaxReturn($result);
	}
}