京淘项目-08
1.实现图片回显
1.1准备虚拟路径
1.1.1 编辑image.properties
说明:在jt-manager中创建image.properties文件,在其中编辑关于图片配置的所有信息.
1.1.2 编辑FileServiceImpl
说明:实现虚拟路径配置,并且设定属性动态赋值操作.
@Service
@PropertySource("classpath:/properties/image.properties")
public class FileServiceImpl implements
原创
2020-08-07 20:18:45 ·
291 阅读 ·
1 评论