Browse Source

代码整理

gaodm 5 years ago
parent
commit
0042722b72

+ 3 - 0
xlcs-service/src/main/java/com/diagbot/web/ViewController.java

@@ -9,6 +9,7 @@ import com.diagbot.vo.OptVO;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Controller;
 import org.springframework.web.bind.annotation.RequestMapping;
+import springfox.documentation.annotations.ApiIgnore;
 
 import java.util.Date;
 import java.util.Map;
@@ -19,6 +20,8 @@ import java.util.Map;
  * @time: 2020/2/7 13:17
  */
 @Controller
+@ApiIgnore
+@Deprecated
 public class ViewController {
     @Autowired
     private OptInfoFacade optInfoFacade;

+ 3 - 0
xlcs-service/src/main/java/com/diagbot/web/WeXinJsSdkController.java

@@ -11,6 +11,7 @@ import org.springframework.web.bind.annotation.PathVariable;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RequestMethod;
 import org.springframework.web.bind.annotation.RestController;
+import springfox.documentation.annotations.ApiIgnore;
 
 import javax.servlet.http.HttpServletRequest;
 
@@ -24,6 +25,8 @@ import javax.servlet.http.HttpServletRequest;
 @Api(value = "微信验证", tags = { "微信验证API" })
 @SuppressWarnings("unchecked")
 @Slf4j
+@ApiIgnore
+@Deprecated
 @RequestMapping("jssdk/{appid}")
 public class WeXinJsSdkController {
 

+ 3 - 0
xlcs-service/src/main/java/com/diagbot/web/WexinController.java

@@ -15,6 +15,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RequestMethod;
 import org.springframework.web.bind.annotation.RequestParam;
 import org.springframework.web.bind.annotation.RestController;
+import springfox.documentation.annotations.ApiIgnore;
 
 import javax.servlet.http.HttpServletRequest;
 import java.util.Enumeration;
@@ -31,6 +32,8 @@ import java.util.Map;
 @SuppressWarnings("unchecked")
 @RequestMapping("/weixin")
 @Slf4j
+@ApiIgnore
+@Deprecated
 public class WexinController {
 
     @Autowired