package com.mooctest.controller;

import com.mooctest.service.BugReviewService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class BugReviewController {

    @Autowired
    BugReviewService bugReviewService;

    @PutMapping("/bug_review")
    public void queryReportReviewStatus(@RequestParam("masterId") String masterId) {
        bugReviewService.aggReportReview(masterId);
    }

}
