wallet 处理region为null时=1
This commit is contained in:
parent
d57109aa59
commit
588d6d9a0b
@ -98,7 +98,7 @@ public class FreightShipGatewayImpl implements FreightShipGateway {
|
|||||||
public int getFreightGoldToUsdRatio(Long userId) {
|
public int getFreightGoldToUsdRatio(Long userId) {
|
||||||
UserRegionDTO region = getUserRegionSetting(userId);
|
UserRegionDTO region = getUserRegionSetting(userId);
|
||||||
if (region == null) {
|
if (region == null) {
|
||||||
return 0;
|
return 1;
|
||||||
}
|
}
|
||||||
int ratio = FreightGoldToUsdRatioEnum.getRatio(region.getSysOrigin());
|
int ratio = FreightGoldToUsdRatioEnum.getRatio(region.getSysOrigin());
|
||||||
/*
|
/*
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user