摘要:
1. 后台服务器需指定好挂载图片路径,前端上传图片时直接上传至挂载路径。2. 添加虚拟路径访问,例如图片都存放在linux服务器的/root/avatar/目录下,访问时想设置avatar代替目录,若web端口为9000,则通过 localhost:9000/项目文根(未设置不填)/avatar/图 阅读全文
posted @ 2022-08-06 14:17
Sherlock先生
阅读(2583)
评论(0)
推荐(0)
摘要:
常用转换符: 测试举例: public class demo { public static void main(String[] args) { //%s %c String str; str = String.format("Hello %s%c","world",'!'); System.ou 阅读全文
posted @ 2022-08-06 14:04
Sherlock先生
阅读(72)
评论(0)
推荐(0)

浙公网安备 33010602011771号