xubh 4 tahun lalu
induk
melakukan
c6b3892825

+ 2 - 2
src/main/java/com/minpay/common/service/impl/OrderServiceImpl.java

@@ -153,8 +153,8 @@ public class OrderServiceImpl implements IOrderService {
 							if(CommonUtil.isEmpty(paymentType) || CommonUtil.isEmpty(paymentAmt) ){
 								throw new MINBusinessException("机器未设置游戏金额,请联系商户");
 							}
-							String testVel = Service.lookup(IPropertiesService.class)
-									.getSystemProperties().get("TEST").getKey();
+
+							String testVel = Service.lookup(IPublicService.class).getSysParStrValueByCode("TEST");
 							if("00".equals(paymentType)){//随机
 								int randomNum = getRandom(85,115);
 								Log.info("=============详情编号:"+detailId+"随机数(比例):"+randomNum);