delete check amount
parent
aa316cc206
commit
bc1c252c02
|
@ -71,12 +71,6 @@ public class BuyGoodsLogic {
|
||||||
if(isDiscount!=0){
|
if(isDiscount!=0){
|
||||||
price=(int)(sRechargeCommodityConfig.getPrice() * (10 + isDiscount)/10f);
|
price=(int)(sRechargeCommodityConfig.getPrice() * (10 + isDiscount)/10f);
|
||||||
}
|
}
|
||||||
if(!openId.equals("gm-test")&&price*100!=amount){
|
|
||||||
resultRes.setResultCode(0);
|
|
||||||
resultRes.setResultMsg("amount is wrong");
|
|
||||||
LOGGER.info("the uid={},should pay={},amount={}",uid,price*100,amount);
|
|
||||||
return resultRes;
|
|
||||||
}
|
|
||||||
buyCount=buyCount+1;
|
buyCount=buyCount+1;
|
||||||
int limit = sRechargeCommodityConfig.getLimit();
|
int limit = sRechargeCommodityConfig.getLimit();
|
||||||
int type = sRechargeCommodityConfig.getType();
|
int type = sRechargeCommodityConfig.getType();
|
||||||
|
|
Loading…
Reference in New Issue