mirror of https://gitee.com/stylefeng/roses
【8.0.4】更新拖拽图片的样式
parent
0892056565
commit
3e51fe95d0
|
@ -27,12 +27,12 @@ public class DragCaptchaImageUtil {
|
|||
/**
|
||||
* 源文件宽度
|
||||
*/
|
||||
private static final int ORI_WIDTH = 300;
|
||||
private static final int ORI_WIDTH = 375;
|
||||
|
||||
/**
|
||||
* 源文件高度
|
||||
*/
|
||||
private static final int ORI_HEIGHT = 150;
|
||||
private static final int ORI_HEIGHT = 200;
|
||||
|
||||
/**
|
||||
* 模板图宽度
|
||||
|
|
|
@ -35,7 +35,6 @@ public class CaptchaController {
|
|||
public ResponseData<DragCaptchaImageDTO> getDragCaptcha() {
|
||||
DragCaptchaImageDTO captcha = dragCaptchaApi.createCaptcha();
|
||||
captcha.setLocationX(null);
|
||||
captcha.setLocationY(null);
|
||||
return new SuccessResponseData<>(captcha);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue