Explorar el Código

删除获取基本数据类型的方法,改为前台自己维护

lideyin hace 6 años
padre
commit
d2d333e2f8

+ 0 - 8
examcloud-core-basic-api-provider/src/main/java/cn/com/qmth/examcloud/core/basic/api/controller/SystemPropertyController.java

@@ -114,12 +114,4 @@ public class SystemPropertyController extends ControllerSupport {
         }
     }
 
-    @ApiOperation(value = "获取基本数据类型集合")
-    @GetMapping("getBasicDataTypes")
-    public List<Map<String, String>> getBasicDataTypes(@RequestParam(required = false) String name) {
-        if (StringUtils.isNotBlank(name)) {
-            return BasicDataType.getBasicDataTypes().stream().filter(p -> p.get("name").contains(name)).collect(Collectors.toList());
-        }
-        return BasicDataType.getBasicDataTypes();
-    }
 }