Commit f5a53405 authored by xiaoguang.xu's avatar xiaoguang.xu

修复图形验证码验证问题。

parent 1826ed84
......@@ -67,7 +67,7 @@ public class ImageController {
* @return
*/
@PostMapping("/verify/{type}")
public JsonResult verifyGT(@PathVariable ImageVerifyTypeEnum type, ImageDTO imageDTO) {
public JsonResult verifyGT(@PathVariable ImageVerifyTypeEnum type, @RequestBody ImageDTO imageDTO) {
boolean verify = ImageVerifyStrategyFactory.get(type).verify(imageDTO);
if (verify) {
return JsonResult.buildSuccessResult();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment