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

namespace Wxsmall\Controller;
class LoginController extends BaseController {
	/**
	 * 更新或新增登录信息
	 */
	public function dologin(){
        $param = I('param.');
        $result = D('Login')->dologin($param);
        $this->ajaxReturn($result);
	}
	/**
	 * 更新或新增登录信息
	 */
	public function setshopid(){
		$param = I('param.');
		$result = D('Login')->setshopid($param);
		$this->ajaxReturn($result);
	}
    public function get_member(){
        $param = I('post.');
        $result = D('Login')->get_member_info($param);
        $this->ajaxReturn($result);
    }
	
}