// Path: xbin-store-cloud-common/src/main/java/cn/binux/utils/JedisClient.java
// public interface JedisClient {
// 
//     String get(String key);
// 
//     String set(String key, String value);
// 
//     String hget(String hkey, String key);
// 
//     long hset(String hkey, String key, String value);
// 
//     long incr(String key);
// 
//     long expire(String key, Integer second);
// 
//     long ttl(String key);
// 
//     long del(String key);
// 
//     long hdel(String hkey, String key);
// 
// 
// }


import cn.binux.sso.utils.VerifyCodeUtils;
import cn.binux.utils.JedisClient;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
package cn.binux.sso.controller;



/**
 * 验证码 Controller
 *
 * @author xubin.
 * @create 2017-05-05
 */

@Api(value = "API - AuthImagesController", description = "验证码 Controller")
@Controller
@RefreshScope
public class AuthImagesController {

    private static final Logger logger = LoggerFactory.getLogger(AuthImagesController.class);

    @Autowired
// Path: xbin-store-cloud-common/src/main/java/cn/binux/utils/JedisClient.java
// public interface JedisClient {
// 
//     String get(String key);
// 
//     String set(String key, String value);
// 
//     String hget(String hkey, String key);
// 
//     long hset(String hkey, String key, String value);
// 
//     long incr(String key);
// 
//     long expire(String key, Integer second);
// 
//     long ttl(String key);
// 
//     long del(String key);
// 
//     long hdel(String hkey, String key);
// 
// 
// }


// Path: xbin-store-cloud-web-sso/src/main/java/cn/binux/sso/controller/AuthImagesController.java
import cn.binux.sso.utils.VerifyCodeUtils;
import cn.binux.utils.JedisClient;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

package cn.binux.sso.controller;



/**
 * 验证码 Controller
 *
 * @author xubin.
 * @create 2017-05-05
 */

@Api(value = "API - AuthImagesController", description = "验证码 Controller")
@Controller
@RefreshScope
public class AuthImagesController {

    private static final Logger logger = LoggerFactory.getLogger(AuthImagesController.class);

    @Autowired
    private JedisClient jedisClient;