fix
Hentua
2023-08-23 4503b94ff261804f92db18aa026d3b86bef08f2c
fix
4 files modified
14 ■■■■ changed files
src/main/java/cc/mrbird/febs/mall/controller/AdminMallOrderController.java 2 ●●● patch | view | raw | blame | history
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/resources/application-test.yml 4 ●●●● patch | view | raw | blame | history
src/main/java/cc/mrbird/febs/mall/controller/AdminMallOrderController.java
@@ -535,7 +535,7 @@
        }
        String fileName = file.getOriginalFilename();
        String dirPath = "/home/javaweb/webresource/qianAYi/";
        String dirPath = "/home/javaweb/webresource/blnka/";
        File saveFile = new File(new File(dirPath).getAbsolutePath() + File.separator + fileName);
        if (!saveFile.exists()) {
src/main/java/cc/mrbird/febs/pay/service/impl/XcxPayServiceImpl.java
@@ -392,9 +392,9 @@
     * @return
     */
    //图片上传路径
    public  static  final String IMG_UPLOAD_PATH="/mnt/sdc/webresource/qianayi/wxcode";
    public  static  final String IMG_UPLOAD_PATH="/mnt/sdc/webresource/blnka/wxcode";
    public  String generateAcode(String scene,String path,String imgName,String width, Integer type){
        String urlPrefix="https://hwfile.csxuncong.com/qianayi/wxcode";
        String urlPrefix="https://hwfile.csxuncong.com/blnka/wxcode";
        String imgPath=IMG_UPLOAD_PATH+imgName;
        if(!FileUtil.exist(imgPath)){
src/main/resources/application-prod.yml
@@ -65,8 +65,8 @@
xcx:
  wechar_login_url: https://api.weixin.qq.com/sns/jscode2session?appid=%s&secret=%s&js_code=%s&grant_type=authorization_code
  xcx_appid: wxfb1acf504eb9d058
  xcx_secret: 7ee226a964b1be7cfb96f5e0dc739c44
  xcx_appid: wx16d0b75302b360d4
  xcx_secret: a2887cd622ed981d2e04d724d29d7454
  debug: false
  wecharPaynotifyUrl: http://qianayi.csxuncong.com/api/xcxPay/wxpayCallback
  wecharRechargePaynotifyUrl: http://qianayi.csxuncong.com/api/xcxPay/rechargeCallBack
src/main/resources/application-test.yml
@@ -70,8 +70,8 @@
#  wecharpaySecret: CSxc168888CSxc168888CSxc168888xc
xcx:
  wechar_login_url: https://api.weixin.qq.com/sns/jscode2session?appid=%s&secret=%s&js_code=%s&grant_type=authorization_code
  xcx_appid: wx5cc58f796224af61
  xcx_secret: 71403646f666f9b9dca308d4f357765c
  xcx_appid: wx16d0b75302b360d4
  xcx_secret: a2887cd622ed981d2e04d724d29d7454
  debug: false
  wecharPaynotifyUrl: http://groupbuy.csxuncong.com/api/xcxPay/wxpayCallback
  wecharRechargePaynotifyUrl: http://groupbuy.csxuncong.com/api/xcxPay/rechargeCallBack