package cn.hmsoft.frame.control;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import cn.hmsoft.frame.util.FrameRandomCodeUtil;
import cn.hmsoft.helper.RandomHelper.RandomImageEntity;

@RestController
public class FrameVerificationControl {
	@RequestMapping("frame/verification/random")
	public void random(HttpServletRequest request, HttpServletResponse response, RandomImageEntity entity) {
		FrameRandomCodeUtil.generateRandomCode(request, response, entity);
	}
}
