package com.chushang.system.remote;

import com.chushang.datascope.entity.DataScopeEntity;
import com.chushang.system.feign.RemoteDataScopeService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping(value = "/data/scope")
public class RemoteDataScopeController implements RemoteDataScopeService {
    /**
     * 获取对应的部门数据
     */
    @Override
    @GetMapping(value ="/dept/list")
    public List<String> listDeptIds(@RequestParam(value = "dataScope") DataScopeEntity dataScope, String source)
    {
        return null;
    }
}
