package org.jeecg.modules.api.studytourController;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.api.bean.PageBean;
import org.jeecg.modules.studytourActivity.entity.StudytourActivity;
import org.jeecg.modules.studytourComment.entity.StudytourComment;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@Api(tags="评价&&心得-相关接口")
@RestController
@RequestMapping("/studytour/comment")
@Slf4j
public class CommentController {

    @ApiOperation(value="我的评论-查询我的评价列表", notes="我的评论-查询我的评价列表")
    @RequestMapping(value = "/queryMyCommentList", method = {RequestMethod.GET})
    public Result<?> queryMyCommentList(@RequestHeader("X-Access-Token") String token, StudytourComment studytourComment, PageBean pageBean){
        return Result.OK("接口暂未处理");
    }

    @ApiOperation(value="我的订单&&成长档案-添加订单评价&&添加心得", notes="我的订单&&成长档案-添加订单评价&&添加心得")
    @RequestMapping(value = "/addComment", method = {RequestMethod.POST})
    public Result<?> addComment(@RequestHeader("X-Access-Token") String token, StudytourComment studytourComment, PageBean pageBean){
        return Result.OK("接口暂未处理");
    }


}
