package com.bootdo.datasend.dianxin.controller;

import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletResponse;


@Controller
@RequestMapping("/api")
@RequiredArgsConstructor
public class ApiController {

    /**
     * 注册直接成功
     *
     * @param str
     * @param response
     * @return
     */
    @ResponseBody
    @RequestMapping("/test")
    public Object Register(@RequestBody String str, HttpServletResponse response) {
        return "";
    }


}
