字典接口

This commit is contained in:
zjf committed 2025-07-31 17:09:53 +08:00
1 parent 7702bb9c1b
commit 52f97ef0f6
1 file changed
+10 -1
@@ -165,6 +165,15 @@ public class VisitorsController {
return R.ok( visitorsService.updateCheckStatus(id,checkStatus));
}
/**
* 通过类型参数字典数据
* @param type 1 拜访原因
* @return
*/
@GetMapping("/getDictListByType")
@SysLog("根据字典类型查询数据" )
public R getDictListByType(@RequestParam("type")Long type) {
return visitorsService.getDictListByType(type);
}
}