支付宝登录

This commit is contained in:
Guoqs
2024-06-11 17:01:44 +08:00
parent 0290db1914
commit 6d5b436393
8 changed files with 18 additions and 43 deletions

View File

@@ -75,7 +75,7 @@ public interface PileMerchantInfoService {
* @param appId 微信小程序appId
* @return 一级运营商merchantId
*/
String getFirstLevelMerchantIdByAppId(String appId);
String getFirstLevelMerchantIdByWxAppId(String appId);
MerchantInfoVO getMerchantInfoVO(String merchantId);

View File

@@ -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("", "当前桩运营商与小程序所属运营商不一致");

View File

@@ -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)) {