Commit b2d9cd3607b5271a7b28e72a7e0d3fe9d892a078

Authored by hujiaqi
1 parent a8ef325d13

分娩接口维护

Showing 1 changed file with 27 additions and 0 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/ScanController.java View file @ b2d9cd3
  1 +package com.lyms.platform.operate.web.controller;
  2 +
  3 +import com.lyms.platform.common.base.BaseController;
  4 +import org.springframework.stereotype.Controller;
  5 +import org.springframework.web.bind.annotation.RequestMapping;
  6 +
  7 +import javax.servlet.http.HttpServletResponse;
  8 +
  9 +/**
  10 + * @auther HuJiaqi
  11 + * @createTime 2017年01月10日 16时21分
  12 + * @discription
  13 + */
  14 +@Controller
  15 +public class ScanController extends BaseController {
  16 +
  17 + /**
  18 + * @auther HuJiaqi
  19 + * @createTime 2017年01月10日 16时23分
  20 + * @discription 扫码接口,现在直接返回一个地址
  21 + */
  22 + @RequestMapping("/scan")
  23 + public void scan(HttpServletResponse httpServletResponse) throws Exception {
  24 + httpServletResponse.sendRedirect("http://m.healthbaby.com.cn/download/download.html");
  25 + }
  26 +
  27 +}