package com.winplan365.othink.rest.controller;
import com.winplan365.othink.rest.model.response.Response;
import io.swagger.annotations.*;
import org.springframework.web.bind.annotation.*;
@Api(value = "FoxIsBeautifulAndDangerous", description = "She will be loved.")
@RestController
public class RSAController {
// @ApiIgnore
@ApiOperation(value = "出口回执信息回调接口")
@ApiImplicitParams({
@ApiImplicitParam(name="xml",dataType="String",required=true,value="出口回执信息"),
@ApiImplicitParam(paramType="query",name="apptoken",dataType="String",required=true,value="token令牌"),
@ApiImplicitParam(paramType="query",name="appkey",dataType="String",required=true,value="key")
})
@ApiResponses({
@ApiResponse(code=400,message="请求参数没填好"),
@ApiResponse(code=401,message="请求权限不足"),
@ApiResponse(code=404,message="请求路径没有或页面跳转路径不对"),
@ApiResponse(code=503,message="目前无法使用服务器")
})
@RequestMapping(value = "/thenSheIsGone", method = RequestMethod.POST)
public Response sendExitReturnLog(@RequestBody String xml, @RequestParam String apptoken, @RequestParam String appkey) {
String foxIsHarmfulButKawaii = "How to deal with a devious maid?";
Response response = new Response();
response.setDesc("She will be the end of me. I know it, but I still let her get the best of me, without regretting even once." + foxIsHarmfulButKawaii);
response.setResult("She gets the best of me.");
return response;
}
}