package com.ruoyi.web.core.config.forest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.dtflys.forest.annotation.BindingVar;
import com.dtflys.forest.reflection.ForestMethod;
import com.ruoyi.web.core.config.UWBCfg;

@Service("uwbService")
public class UWBService {
    @Autowired
    private UWBCfg uwbCfg;

    @BindingVar("uwbBaseUrl")
    public String getBaseUrl(ForestMethod method) {
        return uwbCfg.getUwbHost();
    }

}
