java110 лет назад: 5
Родитель
Сommit
672a96a11f

+ 12 - 12
service-api/src/main/java/com/java110/api/listener/fee/PayFeePreListener.java

@@ -98,18 +98,18 @@ public class PayFeePreListener extends AbstractServiceApiDataFlowListener {
         JSONObject paramOut = JSONObject.parseObject(responseEntity.getBody());
         paramOut.put("receivableAmount", paramObj.getString("receivableAmount"));
 
-        SmallWeChatDto smallWeChatDto = new SmallWeChatDto();
-        //smallWeChatDto.setObjId((String) paramObj.get("communityId"));
-        smallWeChatDto.setAppId((String) paramObj.get("appId"));
-        List<SmallWeChatDto> smallWeChatDtos = smallWeChatInnerServiceSMOImpl.querySmallWeChats(smallWeChatDto);
-        if(smallWeChatDtos.size() <= 0){
-            throw new IllegalArgumentException("支付失败,小区未配置小程序信息");
-        }
-        //指定支付小区
-        if("1000".equals(smallWeChatDtos.get(0).getObjType())){
-            paramOut.put("payAppId",smallWeChatDtos.get(0).getAppId());
-            paramOut.put("payMchId",smallWeChatDtos.get(0).getMchId());
-        }
+//        SmallWeChatDto smallWeChatDto = new SmallWeChatDto();
+//        //smallWeChatDto.setObjId((String) paramObj.get("communityId"));
+//        smallWeChatDto.setAppId((String) paramObj.get("appId"));
+//        List<SmallWeChatDto> smallWeChatDtos = smallWeChatInnerServiceSMOImpl.querySmallWeChats(smallWeChatDto);
+//        if(smallWeChatDtos.size() <= 0){
+//            throw new IllegalArgumentException("支付失败,小区未配置小程序信息");
+//        }
+//        //指定支付小区
+//        if("1000".equals(smallWeChatDtos.get(0).getObjType())){
+//            paramOut.put("payAppId",smallWeChatDtos.get(0).getAppId());
+//            paramOut.put("payMchId",smallWeChatDtos.get(0).getMchId());
+//        }
 
         responseEntity = new ResponseEntity<>(paramOut.toJSONString(), HttpStatus.OK);
         dataFlowContext.setResponseEntity(responseEntity);