This commit is contained in:
@@ -69,7 +69,7 @@ public class CultureClockInController {
|
||||
* @param lastCombo 上次组合
|
||||
* @param response HttpServletResponse
|
||||
*/
|
||||
@GetMapping(value = "/random-preview/base64")
|
||||
@PostMapping(value = "/random-preview/base64")
|
||||
public ActionResult<Base64ImageVo> getRandomPicPreviewBase64(@RequestParam(value = "lastCombo1", required = false) String lastCombo, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
||||
|
||||
MutablePair<String, BufferedImage> pair = cultureClockInService.getRandomPicPreview(lastCombo, requestUrl);
|
||||
@@ -91,7 +91,7 @@ public class CultureClockInController {
|
||||
* @param lastCombo 上次组合
|
||||
* @param response HttpServletResponse
|
||||
*/
|
||||
@PutMapping(value = "/random-preview/delete")
|
||||
@PUTMapping(value = "/random-preview/delete")
|
||||
public ActionResult<Base64ImageVo> getRandomPicPreviewBase64(@RequestParam(value = "lastCombo", required = false) String lastCombo, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
||||
|
||||
MutablePair<String, BufferedImage> pair = cultureClockInService.getRandomPicPreview(lastCombo, requestUrl);
|
||||
|
||||
Reference in New Issue
Block a user