|
|
|
@@ -751,7 +751,13 @@ public class WxOrderController extends BaseController { |
|
|
|
String open_id = msgObject.getString("open_id"); |
|
|
|
String cp_extra = msgObject.getString("cp_extra"); |
|
|
|
String tenantId = getTenantId(cp_extra); |
|
|
|
if(StringUtils.isNotBlank(tenantId)){ |
|
|
|
map.put("err_no",ErrorCode.SYS_PARAMETER_NOT_NULL.getCode()); |
|
|
|
map.put("err_tips","缺少cp_extra"); |
|
|
|
return map; |
|
|
|
} |
|
|
|
WxMall mall = mallService.getByTenantId(tenantId); |
|
|
|
|
|
|
|
//验证app |
|
|
|
WxAppinfo appinfo = wxAppinfoService.getOnlyByAppIdFromRedis(app_id); |
|
|
|
if(appinfo == null || !EnumAppPlat.TOUTIAO.getCode().equals(appinfo.getPlat()) |
|
|
|
@@ -766,7 +772,8 @@ public class WxOrderController extends BaseController { |
|
|
|
map.put("err_tips","未找到支付配置"); |
|
|
|
return map; |
|
|
|
} |
|
|
|
TenantEntity tenantEntity = new TenantEntity(); |
|
|
|
|
|
|
|
TenantEntity tenantEntity = new TenantEntity();; |
|
|
|
tenantEntity.updateTenantInfo(mall); |
|
|
|
//验证用户 |
|
|
|
Long memberId = null; |
|
|
|
|