package com.fdkankan.ucenter.controller.api; import com.fdkankan.ucenter.common.Result; import com.fdkankan.ucenter.service.IFusionService; import com.fdkankan.ucenter.vo.request.SceneParam; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestHeader; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @RestController @RequestMapping("/fusion") public class FusionController { @Autowired IFusionService fusionService; /** * 只需获取v4场景数据,无需文件夹 */ @PostMapping("/scene/list") public Result sceneList(@RequestBody SceneParam param, @RequestHeader String token){ return Result.success(fusionService.scenePageList(param,token)); } }