|  |  | 
 |  |  | import com.dy.common.webUtil.BaseResponse; | 
 |  |  | import com.dy.common.webUtil.BaseResponseUtils; | 
 |  |  | import com.dy.pipIrrGlobal.voBa.VoDictItem; | 
 |  |  | import com.dy.pipIrrGlobal.voBa.VoMapCenter; | 
 |  |  | import io.swagger.v3.oas.annotations.tags.Tag; | 
 |  |  | import lombok.extern.slf4j.Slf4j; | 
 |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
 |  |  | 
 |  |  |         return BaseResponseUtils.buildSuccess(dictSv.getDictItemsByDictCode(dictCode)); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 根据配置项名称获取配置项值 | 
 |  |  |      * @param itemName | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     @GetMapping(path = "setting") | 
 |  |  |     @SsoAop() | 
 |  |  |     public BaseResponse<String> getSettingValue(String itemName) { | 
 |  |  |         return BaseResponseUtils.buildSuccess(dictSv.getItemValue(itemName)); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 获取地图中心坐标 | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     @GetMapping(path = "map_center") | 
 |  |  |     @SsoAop | 
 |  |  |     public BaseResponse<VoMapCenter> getMapCenter() { | 
 |  |  |         return BaseResponseUtils.buildSuccess(dictSv.getMapCenter()); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | } |