back_recharge
lvxinran 2019-09-04 11:08:51 +08:00
commit 4970f48e9d
1 changed files with 2 additions and 2 deletions

View File

@ -71,10 +71,10 @@ public class BuyGoodsLogic {
if(isDiscount!=0){
price=(int)(sRechargeCommodityConfig.getPrice() * (10 + isDiscount)/10f);
}
if(!openId.equals("gm-test")&&price*10!=amount){
if(!openId.equals("gm-test")&&price*100!=amount){
resultRes.setResultCode(0);
resultRes.setResultMsg("amount is wrong");
LOGGER.info("the uid={},shuld pay={},amount={}",uid,price,amount);
LOGGER.info("the uid={},should pay={},amount={}",uid,price*100,amount);
return resultRes;
}
buyCount=buyCount+1;