|
@@ -11,6 +11,7 @@ import com.caimei.module.pay.dao.PayDao;
|
|
import com.caimei.module.pay.service.PayService;
|
|
import com.caimei.module.pay.service.PayService;
|
|
import com.caimei.module.pay.util.*;
|
|
import com.caimei.module.pay.util.*;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
+import org.apache.commons.lang.StringUtils;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
@@ -556,6 +557,9 @@ public class PayServiceImpl implements PayService {
|
|
json.put("product", product);
|
|
json.put("product", product);
|
|
String attach = payment.getProductId() + "," + payment.getPayType();
|
|
String attach = payment.getProductId() + "," + payment.getPayType();
|
|
json.put("attach", attach);
|
|
json.put("attach", attach);
|
|
|
|
+ if (StringUtils.isNotBlank(payment.getOpenid())) {
|
|
|
|
+ json.put("openId", payment.getOpenid());
|
|
|
|
+ }
|
|
//二手发布100,默认私账
|
|
//二手发布100,默认私账
|
|
List<Map<String, String>> list = new ArrayList<>();
|
|
List<Map<String, String>> list = new ArrayList<>();
|
|
Map<String, String> map = new HashMap<>(3);
|
|
Map<String, String> map = new HashMap<>(3);
|