文件上传测试
This commit is contained in:
parent
1e7618c135
commit
158c943b0a
|
|
@ -32,7 +32,7 @@ public class Index {
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
public String test(MultipartFile file) {
|
public String test(MultipartFile file) {
|
||||||
String filstring = fastDFSClientI.uploadFileToFastDFS(file);
|
String filstring = fastDFSClientI.uploadFileToFastDFS(file);
|
||||||
return "abc";
|
return filstring;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -44,10 +44,6 @@ public class IfishFilePath {
|
||||||
public static String netease_phone;
|
public static String netease_phone;
|
||||||
//直播间封面
|
//直播间封面
|
||||||
public static String path_room_img;
|
public static String path_room_img;
|
||||||
//FastDFS商家视频上传URL访问路径(本地和测试环境)
|
|
||||||
public static String fastDFS_url_local;
|
|
||||||
//FastDFS商家视频上传URL访问路径(正式环境)
|
|
||||||
public static String fastDFS_url_app;
|
|
||||||
//开发模式
|
//开发模式
|
||||||
public static boolean devModel;
|
public static boolean devModel;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,14 +20,10 @@ html_name=index.html
|
||||||
ifish_account=ifish
|
ifish_account=ifish
|
||||||
#IM\u5b98\u65b9\u624b\u673a\u53f7
|
#IM\u5b98\u65b9\u624b\u673a\u53f7
|
||||||
netease_phone=18501773036
|
netease_phone=18501773036
|
||||||
#FastDFS\u6587\u4ef6URL\u8bbf\u95ee\u8def\u5f84(\u672c\u5730\u548c\u6d4b\u8bd5\u73af\u5883)
|
|
||||||
fastDFS_url_local=https://app.zhangxinyanv5.top/
|
|
||||||
#FastDFS\u6587\u4ef6URL\u8bbf\u95ee\u8def\u5f84(\u6b63\u5f0f\u73af\u5883)
|
|
||||||
fastDFS_url_app=http://app.ifish7.com/
|
|
||||||
#\u672c\u5730
|
#\u672c\u5730
|
||||||
#link_img_head=http://192.168.61.128:81/
|
#link_img_head=http://192.168.61.128:81/
|
||||||
#\u6d4b\u8bd5\u73af\u5883
|
#\u6d4b\u8bd5\u73af\u5883
|
||||||
link_img_head=https://app.zhangxinyanv5.top/
|
link_img_head=http://139.196.24.156:83/
|
||||||
#\u6b63\u5f0f\u73af\u5883
|
#\u6b63\u5f0f\u73af\u5883
|
||||||
#link_img_head=https://app.ifish7.com/
|
#link_img_head=https://app.ifish7.com/
|
||||||
#\u56fe\u7247\u683c\u5f0f\u9a8c\u8bc1
|
#\u56fe\u7247\u683c\u5f0f\u9a8c\u8bc1
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue