Compare commits

...

1 Commits

Author SHA1 Message Date
wangwei10061 1b1bce9139 阶段回传 2019-02-20 11:23:53 +08:00
1 changed files with 10 additions and 0 deletions

View File

@ -451,4 +451,14 @@ public class GameController extends BaseController {
return gameService.check(tpiID, tpiGitURL);
}
@RequestMapping(path = "/log")
@ApiOperation(value = "阶段回传", httpMethod = "POST", produces = MediaType.APPLICATION_FORM_URLENCODED_VALUE)
public JSONObject log(@ApiParam(name = "content", required = true, value = "回传的内容") @RequestParam String content) throws Exception {
JSONObject response = new JSONObject();
logger.debug(Base64Util.decode(Base64Util.reencode(content)));
response.put("code", 0);
response.put("msg", "开启成功");
return response;
}
}