back_recharge
parent
30d1360629
commit
594497fb53
|
@ -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){
|
||||
|
|
Loading…
Reference in New Issue