package com.yeejoin.amos.boot.module.app.biz.service.impl;

import com.yeejoin.amos.boot.biz.common.dto.JgUseRegistrationManageDto;
import com.yeejoin.amos.boot.module.app.api.exception.AuthException;
import com.yeejoin.amos.boot.module.app.biz.strategy.ISearchDetailHandler;
import org.springframework.stereotype.Component;

import java.util.Collections;
import java.util.Map;

@Component
public class SetSearchDetailDetailHandlerImpl implements ISearchDetailHandler {
    @Override
    public String manageType() {
        return "set";
    }

    @Override
    public Map<String, Object> handler(JgUseRegistrationManageDto manageDto, String from) {
        throw new AuthException("该设备种类暂不支持扫码，敬请期待！");
//        return Collections.emptyMap();
    }
}
