| | |
| | | @Autowired |
| | | private WebParamService webParamService; |
| | | |
| | | |
| | | @ApiOperation("获取当前登录企业配置信息") |
| | | @GetMapping("/getByLogin") |
| | | public ApiResponse<WebParam> getByLogin() { |
| | | return ApiResponse.success(webParamService.findOne()); |
| | | } |
| | | @ApiOperation("获取当前登录企业配置信息1.0.2") |
| | | @GetMapping("/getByLoginNew") |
| | | public ApiResponse<WebParam> getByLoginNew() { |
| | | return ApiResponse.success(webParamService.findOneNew()); |
| | | } |
| | | |
| | | @ApiOperation("更新企业配置信息") |
| | |
| | | return ApiResponse.success("操作成功"); |
| | | } |
| | | |
| | | @ApiOperation("获取主播端页面配置") |
| | | @GetMapping("/getByLoginAnchor") |
| | | public ApiResponse<WebParam> getByLoginAnchor() { |
| | | return ApiResponse.success(webParamService.findOneAnchor()); |
| | | } |
| | | |
| | | } |