back_recharge
duhui 2023-01-29 21:31:01 +08:00
parent 30d1360629
commit 594497fb53
1 changed files with 4 additions and 4 deletions

View File

@ -126,10 +126,10 @@ public class BuyGoodsNewLogic {
*
*/
public static void testBuyGoods(ISession session,String goodsId) throws Exception {
if (!GameApplication.serverProperties.isDebug()){
LOGGER.error("debug关闭状态线上环境不允许测试支付购买");
return;
}
// if (!GameApplication.serverProperties.isDebug()){
// LOGGER.error("debug关闭状态线上环境不允许测试支付购买");
// return;
// }
SRechargeCommodityNewConfig sRechargeCommodityConfig = SRechargeCommodityNewConfig.getConfigById(Integer.parseInt(goodsId));
int uid = session.getUid();
if (sRechargeCommodityConfig == null){