Administrator
2025-05-19 e6839a670cb185de6c8af9c7abcbebccc8e64e15
refactor(prod): 更新生产环境配置和微信小程序支付参数

- 修改静态资源 URL 和路径
- 更新微信小程序码生成路径和 URL前缀
2 files modified
8 ■■■■ changed files
src/main/java/cc/mrbird/febs/pay/service/impl/XcxPayServiceImpl.java 4 ●●●● patch | view | raw | blame | history
src/main/resources/application-prod.yml 4 ●●●● patch | view | raw | blame | history
src/main/java/cc/mrbird/febs/pay/service/impl/XcxPayServiceImpl.java
@@ -439,9 +439,9 @@
     * @return
     */
    //图片上传路径
    public  static  final String IMG_UPLOAD_PATH="/mnt/sdc/webresource/blnka/wxcode";
    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="https://file.blnka.cn/blnka/wxcode";
        String urlPrefix="http://hcres.csxuncong.com/wxcode";
        String imgPath=IMG_UPLOAD_PATH+imgName;
        if(!FileUtil.exist(imgPath)){
src/main/resources/application-prod.yml
@@ -76,8 +76,8 @@
static:
  resource:
    url: http://file.blnka.cn/file/
    path: /mnt/sdc/webresource/file/
    url: http://hcres.csxuncong.com/
    path: /home/javaweb/webresource/upload/
system:
  job: true