3.9K Star 18.4K Fork 5.3K

卓源软件 / JeeSite 4.x and 5.x

 / 详情

/userfiles/userfiles

已完成
创建于  
2018-09-12 18:04

部署了然后出现了双路径什么鬼,导致前端显示不出来
09-12 17:45:59.971 DEBUG [com.jeesite.modules.sys.web.UserfilesController] - File: /data/wwwroot/default/cxjdd/userfiles/userfiles/system/images/20180912/20170104111721464353463336477_$1536745360521025921.jpg

评论 (8)

zhu 创建了任务

指定的baseDir不要包含userfiles

卓源软件 修改任务状态为已完成

@卓源软件
配置的没啥问题,上传也没问题能回显,但是就是这个列表里的地址有问题。阿里阿多
jeesite.yml 配置项

baseDir: /root/jeesite

日志打印上传和列表

09-13 09:34:09.371 DEBUG [com.jeesite.modules.sys.web.UserfilesController] - File: /root/jeesite/userfiles/system/images/20180913/timg_$1536802449240045044.jpg
09-13 09:34:14.144 DEBUG [com.jeesite.modules.sys.web.UserfilesController] - File: /root/jeesite/userfiles/userfiles/system/images/20180913/timg_$1536802449240045044.jpg

ue列表显示如下

<img width="113" src="/web/userfiles//userfiles/system/images/20180913/timg_$1536802449240045044.jpg?noCache=jlzwt5zd" _src="/web/userfiles//userfiles/system/images/20180913/timg_$1536802449240045044.jpg">

接口调用返回数据
https://www.cxjdsjh.top/web/a/file/ueditor/listimage?start=0&size=100&noCache=1536803205344

{"state": "SUCCESS","total": 3,"start": 0, list: [{"state": "SUCCESS","url": "/web/userfiles//userfiles/system/images/20180913/timg_$1536800796401003102.jpg"},{"state": "SUCCESS","url": "/web/userfiles//userfiles/system/images/20180913/timg_$1536801635672039213.jpg"},{"state": "SUCCESS","url": "/web/userfiles//userfiles/system/images/20180913/timg_$1536802449240045044.jpg"} ]}

zhu 修改任务状态为待办的

basedir路径。。。

确实有问题..。我把状态调整下

@zhu 这个bug解决了吗?周一一起看下?应该是bug

兄弟,你的配置文件是怎么配置的呢?我这里配置成这样,但是上传时提示成功,但是回显不了,去这个路径下也找不到上传的文件。输入图片说明

我也是一样的问题,上传文件没有问题,但是图片回显的地址很莫名其妙的是另一个地址,还不知到怎么解决

问题还没解决么?

卓源软件 任务状态待办的 修改为已完成

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(6)
6732 thinkgem 1651893329 1029371 godzt 1649816811
Java
1
https://gitee.com/thinkgem/jeesite4.git
git@gitee.com:thinkgem/jeesite4.git
thinkgem
jeesite4
JeeSite 4.x and 5.x

搜索帮助