|  |  |  | 
|---|
|  |  |  | import com.doumee.core.model.ApiResponse; | 
|---|
|  |  |  | import com.doumee.core.model.PageData; | 
|---|
|  |  |  | import com.doumee.core.model.PageWrap; | 
|---|
|  |  |  | import com.doumee.dao.business.web.response.MiniProgrammeDTO; | 
|---|
|  |  |  | import com.doumee.dao.system.dto.QuerySystemDictDataDTO; | 
|---|
|  |  |  | import com.doumee.dao.system.model.SystemDictData; | 
|---|
|  |  |  | import com.doumee.dao.system.vo.SystemDictDataListVO; | 
|---|
|  |  |  | 
|---|
|  |  |  | public ApiResponse<PageData<SystemDictDataListVO>> findPage (@RequestBody PageWrap<QuerySystemDictDataDTO> pageWrap) { | 
|---|
|  |  |  | return ApiResponse.success(systemDictDataService.findPage(pageWrap)); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiOperation("小程序配置——查詢") | 
|---|
|  |  |  | @PostMapping("/getMiniProgrammeDTO") | 
|---|
|  |  |  | public ApiResponse<MiniProgrammeDTO> getMiniProgrammeDTO(){ | 
|---|
|  |  |  | return ApiResponse.success(systemDictDataService.getMiniProgrammeDTO()); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiOperation("小程序配置——更新") | 
|---|
|  |  |  | @PostMapping("/updateMiniProgrammeDTO") | 
|---|
|  |  |  | //    @RequiresPermissions("system:dict:updateMiniProgrammeDTO") | 
|---|
|  |  |  | public ApiResponse updateMiniProgrammeDTO(@RequestBody MiniProgrammeDTO miniProgrammeDTO){ | 
|---|
|  |  |  | systemDictDataService.updateMiniProgrammeDTO(miniProgrammeDTO); | 
|---|
|  |  |  | return ApiResponse.success(null); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|