remark
This commit is contained in:
@@ -804,7 +804,7 @@ public static void delfile(ServletContext servletContext, String path) {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 删除字符串中提取的文件
|
* 删除字符串中提取的图片文件
|
||||||
*
|
*
|
||||||
* @param path
|
* @param path
|
||||||
* 项目根目录下的文件路径(servletContext若null为c盘下的)
|
* 项目根目录下的文件路径(servletContext若null为c盘下的)
|
||||||
@@ -851,6 +851,12 @@ public static void delFileForStr(ServletContext servletContext, String str) {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 提取字符串中的图片地址存入数据库
|
||||||
|
* @param str
|
||||||
|
* @param towhere
|
||||||
|
* @param saveName
|
||||||
|
*/
|
||||||
public static void intoSqlForStr(String str,String towhere,String saveName) {
|
public static void intoSqlForStr(String str,String towhere,String saveName) {
|
||||||
ArrayList<String> imgs = Utils.getImgStr(str, true);
|
ArrayList<String> imgs = Utils.getImgStr(str, true);
|
||||||
DBUtil db = new DBUtil();
|
DBUtil db = new DBUtil();
|
||||||
|
|||||||
Reference in New Issue
Block a user