| | |
| | | return new FebsResponse().success().data(apiCommonSetVo); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "小程序首页头部背景") |
| | | @GetMapping(value = "/indexHeadPng") |
| | | public FebsResponse indexHeadPng() { |
| | | String pngUrl = commonService.getDicByTypeAndCode( |
| | | CommonDictionaryEnum.VIDEO_URL_INDEX.getType(), |
| | | CommonDictionaryEnum.VIDEO_URL_INDEX.getCode() |
| | | ); |
| | | if (pngUrl == null) { |
| | | pngUrl = ""; |
| | | } |
| | | return new FebsResponse().success().data(pngUrl); |
| | | } |
| | | |
| | | @ApiOperation(value = "小程序开屏页设置") |
| | | @ApiResponses({ |
| | | @ApiResponse(code = 200, message = "success", response = ApiIndexSetVo.class) |
| | |
| | | CommonDictionaryEnum.TIME_URL_INDEX.getCode() |
| | | ); |
| | | if (timeStop == null) { |
| | | timeStop = "0"; |
| | | timeStop = "3"; |
| | | } |
| | | apiIndexSetVo.setTimeStop(timeStop); |
| | | return new FebsResponse().success().data(apiIndexSetVo); |