| | |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.controller.all.BaseController; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.ctrl.KeyValueEntity; |
| | | import com.lf.server.entity.data.DictEntity; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.service.data.DictService; |
| | |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "查询字典表结构") |
| | | @GetMapping(value = "/selectDictTab") |
| | | public ResponseMsg<List<KeyValueEntity>> selectDictTab() { |
| | | try { |
| | | List<KeyValueEntity> list = dictService.selectDictTab(); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "插入一条") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "实体类", dataType = "DictEntity", paramType = "body") |