1- package me .chanjar .weixin .mp .api ;
1+ package me .chanjar .weixin .common .api ;
22
33import me .chanjar .weixin .common .error .WxErrorException ;
4- import me .chanjar .weixin .mp .bean .imgproc .WxMpImgProcAiCropResult ;
5- import me .chanjar .weixin .mp .bean .imgproc .WxMpImgProcQrCodeResult ;
6- import me .chanjar .weixin .mp .bean .imgproc .WxMpImgProcSuperResolutionResult ;
4+ import me .chanjar .weixin .common .bean .imgproc .WxImgProcAiCropResult ;
5+ import me .chanjar .weixin .common .bean .imgproc .WxImgProcQrCodeResult ;
6+ import me .chanjar .weixin .common .bean .imgproc .WxImgProcSuperResolutionResult ;
77
88import java .io .File ;
99
1313 *
1414 * @author Theo Nie
1515 */
16- public interface WxMpImgProcService {
16+ public interface WxImgProcService {
1717
1818 /**
1919 * 二维码/条码识别接口
@@ -27,7 +27,7 @@ public interface WxMpImgProcService {
2727 * @return WxMpImgProcQrCodeResult
2828 * @throws WxErrorException .
2929 */
30- WxMpImgProcQrCodeResult qrCode (String imgUrl ) throws WxErrorException ;
30+ WxImgProcQrCodeResult qrCode (String imgUrl ) throws WxErrorException ;
3131
3232 /**
3333 * 二维码/条码识别接口
@@ -41,7 +41,7 @@ public interface WxMpImgProcService {
4141 * @return WxMpImgProcQrCodeResult
4242 * @throws WxErrorException .
4343 */
44- WxMpImgProcQrCodeResult qrCode (File imgFile ) throws WxErrorException ;
44+ WxImgProcQrCodeResult qrCode (File imgFile ) throws WxErrorException ;
4545
4646 /**
4747 * 图片高清化接口
@@ -55,7 +55,7 @@ public interface WxMpImgProcService {
5555 * @return WxMpImgProcSuperResolutionResult
5656 * @throws WxErrorException .
5757 */
58- WxMpImgProcSuperResolutionResult superResolution (String imgUrl ) throws WxErrorException ;
58+ WxImgProcSuperResolutionResult superResolution (String imgUrl ) throws WxErrorException ;
5959
6060 /**
6161 * 图片高清化接口
@@ -69,7 +69,7 @@ public interface WxMpImgProcService {
6969 * @return WxMpImgProcSuperResolutionResult
7070 * @throws WxErrorException .
7171 */
72- WxMpImgProcSuperResolutionResult superResolution (File imgFile ) throws WxErrorException ;
72+ WxImgProcSuperResolutionResult superResolution (File imgFile ) throws WxErrorException ;
7373
7474 /**
7575 * 图片智能裁剪接口
@@ -81,7 +81,7 @@ public interface WxMpImgProcService {
8181 * @return WxMpImgProcAiCropResult
8282 * @throws WxErrorException .
8383 */
84- WxMpImgProcAiCropResult aiCrop (String imgUrl ) throws WxErrorException ;
84+ WxImgProcAiCropResult aiCrop (String imgUrl ) throws WxErrorException ;
8585
8686 /**
8787 * 图片智能裁剪接口
@@ -93,7 +93,7 @@ public interface WxMpImgProcService {
9393 * @return WxMpImgProcAiCropResult
9494 * @throws WxErrorException .
9595 */
96- WxMpImgProcAiCropResult aiCrop (String imgUrl , String ratios ) throws WxErrorException ;
96+ WxImgProcAiCropResult aiCrop (String imgUrl , String ratios ) throws WxErrorException ;
9797
9898 /**
9999 * 图片智能裁剪接口
@@ -105,7 +105,7 @@ public interface WxMpImgProcService {
105105 * @return WxMpImgProcAiCropResult
106106 * @throws WxErrorException .
107107 */
108- WxMpImgProcAiCropResult aiCrop (File imgFile ) throws WxErrorException ;
108+ WxImgProcAiCropResult aiCrop (File imgFile ) throws WxErrorException ;
109109
110110 /**
111111 * 图片智能裁剪接口
@@ -117,5 +117,5 @@ public interface WxMpImgProcService {
117117 * @return WxMpImgProcAiCropResult
118118 * @throws WxErrorException .
119119 */
120- WxMpImgProcAiCropResult aiCrop (File imgFile , String ratios ) throws WxErrorException ;
120+ WxImgProcAiCropResult aiCrop (File imgFile , String ratios ) throws WxErrorException ;
121121}
0 commit comments