| | |
| | | import java.util.concurrent.atomic.AtomicBoolean; |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletRequest; |
| | | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.panzhihua.applets.config.MinioUtil; |
| | | import com.panzhihua.applets.umf.UmfPayUtil; |
| | | import com.panzhihua.applets.unionpay.*; |
| | | import com.panzhihua.common.controller.BaseController; |
| | | import com.panzhihua.common.model.dtos.wx.UnionpayCarWash; |
| | | import com.panzhihua.common.model.vos.community.Base64File; |
| | | import com.panzhihua.common.utlis.*; |
| | | import net.coobird.thumbnailator.Thumbnails; |
| | |
| | | @ApiOperation("银联退款查询接口") |
| | | @GetMapping("/unionpayRefundQuery") |
| | | public R unionpayRefundQuery(@RequestParam("merOrderId")String merOrderId){ |
| | | String map= RefundQuery.refundQuery(merOrderId); |
| | | return R.ok(map); |
| | | // String map= RefundQuery.refundQuery(merOrderId); |
| | | |
| | | R r=communityService.queryById("5935"); |
| | | log.error("花城洗车银联退款数据 :" + r); |
| | | // if(r.getCode()==200) |
| | | // { |
| | | // UnionpayCarWash wash= JSONObject.parseObject(r.getData().toString(),UnionpayCarWash.class); |
| | | // if(wash!=null) |
| | | // { |
| | | // String re=Refund.sendOrder(wash.getMoney(),wash.getUnionpayOrderId()); |
| | | // log.error("花城洗车银联退款数据2 :" + re); |
| | | // } |
| | | // |
| | | // } |
| | | |
| | | |
| | | return communityService.queryById("5935"); |
| | | } |
| | | |
| | | |