|
@@ -53,9 +53,6 @@ public class AdvertisementOrderDonServiceImpl extends ServiceImpl<AdvertisementO
|
|
|
@Value("${advertisement.shopKey}")
|
|
@Value("${advertisement.shopKey}")
|
|
|
private String shopKey;
|
|
private String shopKey;
|
|
|
|
|
|
|
|
- @Value("${advertisement.appId}")
|
|
|
|
|
- private String appId;
|
|
|
|
|
-
|
|
|
|
|
@Value("${advertisement.shopId}")
|
|
@Value("${advertisement.shopId}")
|
|
|
private String shopId;
|
|
private String shopId;
|
|
|
|
|
|
|
@@ -74,9 +71,7 @@ public class AdvertisementOrderDonServiceImpl extends ServiceImpl<AdvertisementO
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
public H5JsPayParams pay(Long popularizeId, BigDecimal money, String appId, AdvertisementUser user, AdvertisementOrderDon.Source source, String callback, String callbackType) throws Exception {
|
|
public H5JsPayParams pay(Long popularizeId, BigDecimal money, String appId, AdvertisementUser user, AdvertisementOrderDon.Source source, String callback, String callbackType) throws Exception {
|
|
|
- if(!this.appId.equals(appId)){
|
|
|
|
|
- throw BusinessRuntimeException.getInstance("appId非法.");
|
|
|
|
|
- }
|
|
|
|
|
|
|
+
|
|
|
AdvertisementPopularize popularize = popularizeMapper.selectById(popularizeId);
|
|
AdvertisementPopularize popularize = popularizeMapper.selectById(popularizeId);
|
|
|
if (popularize == null) {
|
|
if (popularize == null) {
|
|
|
log.error("链接不存在:{}", popularizeId);
|
|
log.error("链接不存在:{}", popularizeId);
|