|
@@ -20,6 +20,7 @@ import com.chelvc.framework.common.exception.ResourceUnavailableException;
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.context.annotation.Lazy;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
@@ -32,6 +33,8 @@ import java.util.UUID;
|
|
|
@RequiredArgsConstructor(onConstructor = @__({@Autowired,@Lazy}))
|
|
|
public class MerchantRelationServiceImpl extends ServiceImpl<MerchantRelationMapper,
|
|
|
MerchantRelation> implements MerchantRelationService {
|
|
|
+ @Value("${chelvc.domain}")
|
|
|
+ private String NOTIFY_DOMAIN;
|
|
|
private final MerchantService merchantService;
|
|
|
private final MerchantApplyRecordService merchantApplyRecordService;
|
|
|
private final MerchantAuthMapper merchantAuthMapper;
|
|
@@ -53,7 +56,7 @@ public class MerchantRelationServiceImpl extends ServiceImpl<MerchantRelationMap
|
|
|
jsonObject.put("merchantId", TradeConstant.PARTNER_ID);
|
|
|
jsonObject.put("requestId", requestId);
|
|
|
jsonObject.put("operationType", operationType);
|
|
|
- jsonObject.put("notifyUrl", TradeConstant.MERCHANT_NET_IN_NOTIFY_URL);
|
|
|
+ jsonObject.put("notifyUrl", NOTIFY_DOMAIN + TradeConstant.MERCHANT_NET_IN_NOTIFY_URL);
|
|
|
jsonObject.put("extendedParameters", "sendActiveEmail:FALSE,sendExpressPayMsg:FALSE");
|
|
|
|
|
|
//商户基本信息
|
|
@@ -165,7 +168,7 @@ public class MerchantRelationServiceImpl extends ServiceImpl<MerchantRelationMap
|
|
|
jsonObject.put("merchantId", TradeConstant.PARTNER_ID);
|
|
|
jsonObject.put("requestId", requestId);
|
|
|
jsonObject.put("operationType", operationType);
|
|
|
- jsonObject.put("notifyUrl", TradeConstant.MERCHANT_NET_IN_NOTIFY_URL);
|
|
|
+ jsonObject.put("notifyUrl", NOTIFY_DOMAIN + TradeConstant.MERCHANT_NET_IN_NOTIFY_URL);
|
|
|
jsonObject.put("extendedParameters", "sendActiveEmail:FALSE,sendExpressPayMsg:FALSE");
|
|
|
|
|
|
//商户基本信息
|