Commit 05f2c265 authored by hezhen's avatar hezhen

修改图片验证码路径

parent 7e07e261
......@@ -5,7 +5,7 @@ import java.io.File;
public class ImageUtils {
public static String getClickWordBgPath (){
String imagePath = "/data/www/resources/images/pic-click";
String imagePath = "/data/sdb/www/chw_resources/images/pic-click";
File file = new File(imagePath);
String[] files = file.list();
int randomNum = RandomUtils.getRandomInt(1 , files.length);
......@@ -15,7 +15,7 @@ public class ImageUtils {
public static String getBlockPuzzleBgPath (){
String imagePath = "/data/www/resources/images/jigsaw/original";
String imagePath = "/data/sdb/www/chw_resources/images/jigsaw/original";
File file = new File(imagePath);
String[] files = file.list();
int randomNum = RandomUtils.getRandomInt(1 , files.length);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment