Explorar el Código

服务器图片上传

2510966293@qq.com hace 5 años
padre
commit
04d25394c8

+ 1 - 1
src/main/java/com/yc/education/controller/admin/AdminsBackController.java

@@ -277,7 +277,7 @@ public class AdminsBackController extends BaseController {
 		System.out.println(url);
 
 		// 上传服务器时把下面注释去除
-//        url = url.substring(8, url.length());
+        url = url.substring(11, url.length());
 		int num = rootPath.split("\\\\").length;
 		System.out.println(num);
 		if ("zip".equals(type)) {

src/main/webapp/upload/carlog/none.txt → src/main/webapp/upload/car/none.txt