|  | @@ -42,6 +42,8 @@ public class PushMessageStrategyV1 implements ReplyStrategyService {
 | 
	
		
			
				|  |  |       */
 | 
	
		
			
				|  |  |      private static final String bucketStrategyConfig = "{\"3rd-party-base\":[0,1,2,3,4,5,6],\"3rd-party-explore1\":[7],\"3rd-party-explore2\":[8,9]}";
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +    private static final String manualStrategyConfig = "{\"manual\":[0,1,2,3,4,5,6,7,8,9]}";
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |      /**
 | 
	
		
			
				|  |  |       * 自动回复使用小程序Id
 | 
	
		
			
				|  |  |       */
 | 
	
	
		
			
				|  | @@ -62,14 +64,14 @@ public class PushMessageStrategyV1 implements ReplyStrategyService {
 | 
	
		
			
				|  |  |      @Override
 | 
	
		
			
				|  |  |      public ReplyBucketData getResult(BucketDataParam bucketDataParam) {
 | 
	
		
			
				|  |  |          log.info("PushMessageStrategyV1 start");
 | 
	
		
			
				|  |  | -        // 0 获取策略key
 | 
	
		
			
				|  |  | -        JSONObject bucketStrategyConfigJsonObject = JSON.parseObject(bucketStrategyConfig);
 | 
	
		
			
				|  |  | -        Set<String> keyedSet = bucketStrategyConfigJsonObject.keySet();
 | 
	
		
			
				|  |  | +        JSONObject strategyConfigJsonObject;
 | 
	
		
			
				|  |  |          if (Objects.equals(StrategyStatusEnum.DEFAULT.status, bucketDataParam.getStrategyStatus())) {
 | 
	
		
			
				|  |  | -            keyedSet = keyedSet.stream()
 | 
	
		
			
				|  |  | -                    .map(key -> key + "-default")
 | 
	
		
			
				|  |  | -                    .collect(Collectors.toSet());
 | 
	
		
			
				|  |  | +            strategyConfigJsonObject = JSON.parseObject(manualStrategyConfig);
 | 
	
		
			
				|  |  | +        } else {
 | 
	
		
			
				|  |  | +            strategyConfigJsonObject = JSON.parseObject(bucketStrategyConfig);
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | +        // 0 获取分组key
 | 
	
		
			
				|  |  | +        Set<String> keyedSet = strategyConfigJsonObject.keySet();
 | 
	
		
			
				|  |  |          // 1 处理文章--算法引擎--排序文章数据
 | 
	
		
			
				|  |  |  //        getWenzhangData();
 | 
	
		
			
				|  |  |          // 2 处理小程序--读取离线数据表--获取策略排序小程序数据
 | 
	
	
		
			
				|  | @@ -80,7 +82,7 @@ public class PushMessageStrategyV1 implements ReplyStrategyService {
 | 
	
		
			
				|  |  |          // 3 入库读表
 | 
	
		
			
				|  |  |          insertSmallData(smallDataCgiReplyList, keyedSet, bucketDataParam);
 | 
	
		
			
				|  |  |          // 4 组装分桶数据
 | 
	
		
			
				|  |  | -        return getReplyBucketData(bucketStrategyConfigJsonObject, keyedSet, bucketDataParam.getGhId());
 | 
	
		
			
				|  |  | +        return getReplyBucketData(strategyConfigJsonObject, keyedSet, bucketDataParam.getGhId());
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      private ReplyBucketData getReplyBucketData(JSONObject bucketStrategyConfigJsonObject, Set<String> keyedSet, String ghId) {
 |