fix: update DoubleRotate to match new signature with all parameters
This commit is contained in:
@@ -67,8 +67,13 @@ type RotateRequest struct {
|
||||
}
|
||||
|
||||
type DoubleRotateRequest struct {
|
||||
InsideBase64 string `json:"inside_base64" binding:"required"`
|
||||
OutsideBase64 string `json:"outside_base64" binding:"required"`
|
||||
InsideBase64 string `json:"inside_base64" binding:"required"`
|
||||
OutsideBase64 string `json:"outside_base64" binding:"required"`
|
||||
CheckPixel int `json:"check_pixel"` // 检查像素,默认0
|
||||
SpeedRatio float64 `json:"speed_ratio"` // 速度比例,默认0
|
||||
Grayscale bool `json:"grayscale"` // 灰度处理
|
||||
Anticlockwise bool `json:"anticlockwise"` // 逆时针旋转
|
||||
CutPixelValue int `json:"cut_pixel_value"` // 割像素值,默认0
|
||||
}
|
||||
|
||||
type DetectIconRequest struct {
|
||||
|
||||
Reference in New Issue
Block a user