| | |
| | | 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.DouyinConfigDTO; |
| | | import com.doumee.dao.business.web.response.MiniProgrammeDTO; |
| | | import com.doumee.dao.system.dto.QuerySystemDictDataDTO; |
| | | import com.doumee.dao.system.model.SystemDictData; |
| | |
| | | public ApiResponse updateMiniProgrammeDTO(@RequestBody MiniProgrammeDTO miniProgrammeDTO){ |
| | | systemDictDataService.updateMiniProgrammeDTO(miniProgrammeDTO); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("抖音核销配置——查询") |
| | | @PostMapping("/getDouyinConfigDTO") |
| | | public ApiResponse<DouyinConfigDTO> getDouyinConfigDTO(){ |
| | | return ApiResponse.success(systemDictDataService.getDouyinConfigDTO()); |
| | | } |
| | | |
| | | @ApiOperation("抖音核销配置——更新应用配置(client_key/client_secret/account_id)") |
| | | @PostMapping("/updateDouyinAppConfigDTO") |
| | | public ApiResponse updateDouyinAppConfigDTO(@RequestBody DouyinConfigDTO douyinConfigDTO){ |
| | | systemDictDataService.updateDouyinAppConfigDTO(douyinConfigDTO); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("抖音核销配置——更新核销门店ID(单门店)") |
| | | @PostMapping("/updateDouyinPoiIdDTO") |
| | | public ApiResponse updateDouyinPoiIdDTO(@RequestParam String poiId){ |
| | | systemDictDataService.updateDouyinPoiIdDTO(poiId); |
| | | return ApiResponse.success(null); |
| | | } |
| | | } |