|
@@ -6,19 +6,28 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
import com.ym.mec.biz.service.MusicGroupStudentFeeService;
|
|
|
+import com.ym.mec.biz.service.VipGroupService;
|
|
|
import com.ym.mec.common.controller.BaseController;
|
|
|
|
|
|
@RequestMapping("task")
|
|
|
@RestController
|
|
|
public class TaskController extends BaseController {
|
|
|
-
|
|
|
+
|
|
|
@Autowired
|
|
|
private MusicGroupStudentFeeService musicGroupStudentFeeService;
|
|
|
|
|
|
- @GetMapping("/refreshPaymentFeeStatus")
|
|
|
- //刷新付费状态
|
|
|
- public void refreshPaymentFeeStatus() {
|
|
|
- musicGroupStudentFeeService.refreshPaymentFeeStatus();
|
|
|
- }
|
|
|
+ @Autowired
|
|
|
+ private VipGroupService vipGroupService;
|
|
|
+
|
|
|
+ @GetMapping("/refreshPaymentFeeStatus")
|
|
|
+ // 刷新付费状态
|
|
|
+ public void refreshPaymentFeeStatus() {
|
|
|
+ musicGroupStudentFeeService.refreshPaymentFeeStatus();
|
|
|
+ }
|
|
|
|
|
|
+ @GetMapping("/vipGroupAwardedMonthlyRewards")
|
|
|
+ // vip课月度奖励
|
|
|
+ public void vipGroupAwardedMonthlyRewards() {
|
|
|
+ vipGroupService.awardedMonthlyRewards();
|
|
|
+ }
|
|
|
}
|