添加数据字典Controller
This commit is contained in:
@@ -0,0 +1,25 @@
|
|||||||
|
package com.gzzn.omms.adminapi.controller.dictionary;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
import com.gzzn.omms.adminapi.dto.ResponseDto;
|
||||||
|
import com.gzzn.omms.adminapi.dto.dictionary.DatadicItemsDto;
|
||||||
|
import com.gzzn.omms.adminapi.enums.ResultCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 字典控制器
|
||||||
|
* @author Administrator
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
public class DictionaryController {
|
||||||
|
|
||||||
|
@GetMapping(value="/dictionary/datadicItems/{code}")
|
||||||
|
public ResponseDto<List<DatadicItemsDto>> findAllByGroupCode(@PathVariable String code) {
|
||||||
|
return ResponseDto.failure(ResultCode.INTERFACE_NOT_IMPLEMENT);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
package com.gzzn.omms.adminapi.dto.dictionary;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 数据字典Dto
|
||||||
|
* @author Administrator
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
public class DatadicItemsDto {
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user