|
@@ -505,6 +505,7 @@ public class WebsitSalesLogic {
|
|
|
* @return
|
|
|
*/
|
|
|
public PayDetail generatePayRecord(String key, String openid, String salesId, String payType, String frontUrl) {
|
|
|
+ CurrentCompanyWechat wechat = commonLogic.getCurrentCompanyWechat();
|
|
|
PayDetail payDetail = null;
|
|
|
AdminWebsitPayConfig payConfig = null;
|
|
|
WebsitSales sales = null;
|
|
@@ -515,6 +516,7 @@ public class WebsitSalesLogic {
|
|
|
|
|
|
sales = websitSalesService.getById(payMap.getSalesId());
|
|
|
} else if (SybConstants.PAY_TYPE_W02.equals(payType)) {
|
|
|
+ openid = wechat.getUser().getOpenId();
|
|
|
payConfig = adminWebsitPayConfigService.getById(key);
|
|
|
|
|
|
sales = websitSalesService.getById(salesId);
|