【文件上传服务在生产环境的配置】

本地上传文件配置:

# 本地文件上传    
file:
    domain: http://127.0.0.1:9404
    path: D:/ruoyi/uploadPath
    prefix: /statics

生产环境文件上传:

# 生产环境文件上传    
file:
    domain: http://999.2.2.58:9404  #linux生产环境的IP地址:端口
    path: /usr/local/lk-webservice/ruoyi/upload
    prefix: /statics

猜你喜欢

转载自blog.csdn.net/single_0910/article/details/121400968