package com.sptg.permissions.biz.controller;

import com.sptg.permissions.api.entity.ApiDockingConf;
import com.sptg.permissions.api.feigns.ApiDockingConfFeign;
import com.sptg.permissions.biz.service.ApiDockingConfInterface;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * title: ApiDockingConfController
 * package: com.sptg.permissions.biz.controller
 * description:aip接口-控制器
 *
 *               
 *                 
 */
@RestController
@RequiredArgsConstructor
public class ApiDockingConfController implements ApiDockingConfFeign {

    private final ApiDockingConfInterface apiDockingConfInterface;

    @Override
    @PostMapping(value = "/api/selectEntityById")
    public ApiDockingConf selectEntityById(@RequestBody Long orgId) {
        return this.apiDockingConfInterface.selectEntityById(orgId);
    }
}
