| | |
| | | } |
| | | |
| | | 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()) { |
| | |
| | | * @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)){ |
| | | |
| | |
| | | |
| | | 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 |
| | |
| | | # 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 |