|
|
@@ -18,6 +18,8 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.data.domain.Page;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
/**
|
|
|
* 接口管理
|
|
|
* @author : longhoo
|
|
|
@@ -89,7 +91,7 @@ public class IpInterfaceController {
|
|
|
*/
|
|
|
@Operation(summary = "接口下拉列表")
|
|
|
@PostMapping("/optionList")
|
|
|
- public BaseReturnDto<NameValueVO> optionList(){
|
|
|
+ public BaseReturnDto<List<NameValueVO>> optionList(){
|
|
|
return BaseReturnDto.success(ipInterfaceService.optionList());
|
|
|
}
|
|
|
|