首页>代码>Spring MVC整合Swagger2的api文档实例>/information/src/main/java/com/chen/controller/RegisterController.java
package com.chen.controller;

import io.swagger.annotations.ApiOperation;

import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * 注册
 * @author admin
 *
 */
@Controller
@RequestMapping("/registerController")
public class RegisterController {

	@ApiOperation(value = "创建用户", notes = "返回用户实体对象", position = 1)
    @RequestMapping(value = "/1.0/contact/add.do", method= RequestMethod.POST)
    public void add(HttpServletResponse response) {
		
    }
	
}
最近下载更多
血羽如风  LV4 1月23日
lironggang  LV38 2021年9月22日
yuanchuang  LV22 2021年8月12日
开心灬愉悦  LV9 2021年5月2日
林志勇  LV10 2021年3月9日
雨沐风  LV2 2021年1月16日
heqian  LV16 2020年10月9日
青春的尾巴  LV3 2020年8月2日
zhuchuanhu2  LV3 2020年2月19日
zcl02036716  LV17 2019年12月19日
最近浏览更多
血羽如风  LV4 1月23日
林间听风  LV10 2023年8月1日
843108982  LV1 2023年1月28日
yongjava21  LV26 2022年9月28日
1234mama  LV19 2022年3月22日
lironggang  LV38 2021年9月22日
yuanchuang  LV22 2021年8月12日
ls2008  LV15 2021年7月13日
chunqiu  LV5 2021年6月10日
开心灬愉悦  LV9 2021年5月2日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友