fix(resource): 更新资源链接为 HTTPS
- 将 application-prod.yml 中的静态资源 URL 从 HTTP 改为 HTTPS
- 修改 XcxPayServiceImpl 中的图片上传路径 URL 为 HTTPS
| | |
| | | //图片上传路径 |
| | | public static final String IMG_UPLOAD_PATH="/home/javaweb/webresource/upload/wxcode"; |
| | | public String generateAcode(String scene,String path,String imgName,String width, Integer type){ |
| | | String urlPrefix="http://hcres.csxuncong.com/wxcode"; |
| | | String urlPrefix="https://hcres.csxuncong.com/wxcode"; |
| | | String imgPath=IMG_UPLOAD_PATH+imgName; |
| | | if(!FileUtil.exist(imgPath)){ |
| | | |
| | |
| | | |
| | | static: |
| | | resource: |
| | | url: http://hcres.csxuncong.com/ |
| | | url: https://hcres.csxuncong.com/ |
| | | path: /home/javaweb/webresource/upload/ |
| | | |
| | | system: |