|
|
@ -1,28 +1,26 @@ |
|
|
|
package com.tduck.cloud.wx.mp.handler.scan; |
|
|
|
|
|
|
|
import cn.hutool.core.map.MapUtil; |
|
|
|
import cn.hutool.core.util.ObjectUtil; |
|
|
|
import com.tduck.cloud.common.util.JsonUtils; |
|
|
|
import com.tduck.cloud.wx.mp.request.WxMpQrCodeGenRequest; |
|
|
|
import lombok.RequiredArgsConstructor; |
|
|
|
import me.chanjar.weixin.mp.bean.message.WxMpXmlOutMessage; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.stereotype.Component; |
|
|
|
|
|
|
|
import java.util.Map; |
|
|
|
import java.util.concurrent.ConcurrentHashMap; |
|
|
|
|
|
|
|
/** |
|
|
|
* @author : smalljop |
|
|
|
* @description : |
|
|
|
* @create : 2020-12-01 17:55 |
|
|
|
**/ |
|
|
|
@RequiredArgsConstructor |
|
|
|
@Component |
|
|
|
public class ScanStrategyContext { |
|
|
|
|
|
|
|
private final Map<String, ScanStrategy> scanStrategy; |
|
|
|
@Autowired |
|
|
|
private Map<String, ScanStrategy> scanStrategy; |
|
|
|
|
|
|
|
private final static String SCAN_STRATEGY_NAME = "ScanStrategy"; |
|
|
|
private static String SCAN_STRATEGY_NAME = "ScanStrategy"; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
@ -40,5 +38,4 @@ public class ScanStrategyContext { |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|