测试支付修改
parent
d7a67013cd
commit
176e86f344
|
@ -128,7 +128,7 @@ public class BuyGoodsNewLogic {
|
||||||
if (sRechargeCommodityConfig == null){
|
if (sRechargeCommodityConfig == null){
|
||||||
throw new ErrorCodeException(ErrorCode.CFG_NULL);
|
throw new ErrorCodeException(ErrorCode.CFG_NULL);
|
||||||
}
|
}
|
||||||
int price = (int)sRechargeCommodityConfig.getPrice() *100;
|
int price = (int)sRechargeCommodityConfig.getPrice();
|
||||||
if (!GameApplication.serverProperties.isDebug() && price != 0){
|
if (!GameApplication.serverProperties.isDebug() && price != 0){
|
||||||
LOGGER.error("debug关闭状态,线上环境,不允许测试支付购买!");
|
LOGGER.error("debug关闭状态,线上环境,不允许测试支付购买!");
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue