|
|
@ -187,6 +187,7 @@ public class RetailAppServiceImp implements RetailAppService {
|
|
|
|
// 微信小程序不查询汇率
|
|
|
|
// 微信小程序不查询汇率
|
|
|
|
if (!StringUtils.equals(device.getString("client_type"), "wxapp")) {
|
|
|
|
if (!StringUtils.equals(device.getString("client_type"), "wxapp")) {
|
|
|
|
res.put("rate", paymentApi.channelApi("Wechat").queryExchangeRateDecimal(client_id));
|
|
|
|
res.put("rate", paymentApi.channelApi("Wechat").queryExchangeRateDecimal(client_id));
|
|
|
|
|
|
|
|
res.put("alipay_rate", paymentApi.channelApi("Alipay").queryExchangeRateDecimal(client_id));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return res;
|
|
|
|
return res;
|
|
|
|
}
|
|
|
|
}
|
|
|
|