mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 19:15:35 +08:00
支付宝登录
This commit is contained in:
@@ -75,7 +75,7 @@ public interface PileMerchantInfoService {
|
||||
* @param appId 微信小程序appId
|
||||
* @return 一级运营商merchantId
|
||||
*/
|
||||
String getFirstLevelMerchantIdByAppId(String appId);
|
||||
String getFirstLevelMerchantIdByWxAppId(String appId);
|
||||
|
||||
MerchantInfoVO getMerchantInfoVO(String merchantId);
|
||||
|
||||
|
||||
@@ -3480,7 +3480,7 @@ public class OrderBasicInfoServiceImpl implements OrderBasicInfoService {
|
||||
|
||||
if (StringUtils.isNotBlank(dto.getAppId())) {
|
||||
// 校验启动桩使用的小程序,和充电桩所属一级运营商是否一致
|
||||
String merchantIdByAppId = pileMerchantInfoService.getFirstLevelMerchantIdByAppId(dto.getAppId());
|
||||
String merchantIdByAppId = pileMerchantInfoService.getFirstLevelMerchantIdByWxAppId(dto.getAppId());
|
||||
String merchantIdByMerchantId = pileMerchantInfoService.getFirstLevelMerchantIdByMerchantId(stationInfo.getMerchantId());
|
||||
if (!StringUtils.equals(merchantIdByAppId, merchantIdByMerchantId)) {
|
||||
throw new BusinessException("", "当前桩运营商与小程序所属运营商不一致");
|
||||
|
||||
@@ -298,7 +298,7 @@ public class PileMerchantInfoServiceImpl implements PileMerchantInfoService {
|
||||
* @return 一级运营商merchantId
|
||||
*/
|
||||
@Override
|
||||
public String getFirstLevelMerchantIdByAppId(String appId) {
|
||||
public String getFirstLevelMerchantIdByWxAppId(String appId) {
|
||||
String merchantId = null;
|
||||
PileMerchantInfo merchant = getFirstLevelMerchantByAppId(appId);
|
||||
if (Objects.nonNull(merchant)) {
|
||||
|
||||
Reference in New Issue
Block a user