<?php
/**
 * 登录
 * @Copyright (C) 2016 汉潮 All rights reserved.
 * @License http://www.hanchao9999.com
 * @Author chang <13331202938@126.com>
 */
namespace Member\Controller;
class LoginController extends BaseController{
    public function _initialize(){
	   parent::_initialize ();
       	$forward=I('forward')?I('forward'):cookie('forward');
      	$this->jumpUrl = $forward? $forward: U('Member/Index/index');
    }
	/**
     * 获取验证码
     */
	public function verify(){
		$width=I('width')?I('width'):170;
		$height=I('height')?I('height'):50;
        $config = array(
            'imageW' => $width,
            'imageH' => $height,
            'seKey' => 'chanchao' . C('HANCHAO_KEY'),
            'length' => 4,
        );
        $verify = new \Common\Vendor\Verify($config);
        $verify->entry('Member');  
	}
	 
	
}
?>