Commit ff019dd4 by 程裕兵

feat:rebind mini appid

parent 45f47bd4
...@@ -269,6 +269,9 @@ public class StudioMerchantServiceImpl implements StudioMerchantService { ...@@ -269,6 +269,9 @@ public class StudioMerchantServiceImpl implements StudioMerchantService {
} }
private void rebindMiniAppId(Long oldMerchantId, Long newMerchantId) { private void rebindMiniAppId(Long oldMerchantId, Long newMerchantId) {
if (null == oldMerchantId) {
return;
}
MerchantVO merchant = merchantRpcService.getByMerchantId(oldMerchantId); MerchantVO merchant = merchantRpcService.getByMerchantId(oldMerchantId);
merchant.getSubChannelConfigs().stream() merchant.getSubChannelConfigs().stream()
.filter(e -> SubChannelConfigTypeEnums.WX_XCX_OFFLINE.name().equals(e.getConfigType())) .filter(e -> SubChannelConfigTypeEnums.WX_XCX_OFFLINE.name().equals(e.getConfigType()))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment