package com.usky.system.controller.api;

import com.usky.common.core.bean.ApiResult;
import com.usky.system.RemoteDictService;
import com.usky.system.service.ISysDictDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;


@RestController
public class SysDictControllerApi implements RemoteDictService {


    @Autowired
    private ISysDictDataService iSysDictDataService;

    @Override
    public String selectNameById(String dictType, String dictValue) {
        return iSysDictDataService.selectDictLabel(dictType,dictValue);
    }
}
