فهرست منبع

1. 修改一次只处理20条数据的bug
2. 修改图片有效图片支持大写后缀

semi 4 سال پیش
والد
کامیت
97ac4891ab

+ 1 - 1
src/main/java/com/pavis/ai/kwp/ioc/common/utils/ImageUtils.java

@@ -46,7 +46,7 @@ public class ImageUtils {
      * 判断是否为一张图片
      */
     public static boolean imgUrlAvailable(String imgUrl) {
-        String regx = "(http|https)://.+?(jpg|png)$";
+        String regx = "(http|https)://.+?(jpg|JPG|png|PNG)$";
         return Pattern.matches(regx, imgUrl);
     }
 }

+ 0 - 1
src/main/resources/mapper/RecLogMapper.xml

@@ -25,7 +25,6 @@
         where tl.t_done = true
           and gl.g_done = true
           and cl.c_done = false
-        limit 20
     </select>
 
     <select id="selectByUpId" resultType="RecLog">