测试支付修改

back_recharge
duhui 2023-05-29 20:12:55 +08:00
parent d7a67013cd
commit 176e86f344
1 changed files with 1 additions and 1 deletions

View File

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