You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
678 B
29 lines
678 B
2 years ago
|
package com.qs.serve.task.controller;
|
||
|
|
||
|
import com.qs.serve.common.model.dto.R;
|
||
|
import com.qs.serve.modules.pay.service.impl.PayApplicationService;
|
||
|
import lombok.AllArgsConstructor;
|
||
|
import lombok.extern.slf4j.Slf4j;
|
||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||
|
import org.springframework.web.bind.annotation.RestController;
|
||
|
|
||
|
/**
|
||
|
* @author YenHex
|
||
|
* @since 2023/11/2
|
||
|
*/
|
||
|
@Slf4j
|
||
|
@AllArgsConstructor
|
||
|
@RestController
|
||
|
@RequestMapping("/task/pay")
|
||
|
public class TaskPayController {
|
||
|
|
||
|
PayApplicationService applicationService;
|
||
|
|
||
|
@RequestMapping("test")
|
||
|
public R<?> task(){
|
||
|
applicationService.syncTotalPayToActivity();
|
||
|
return R.ok();
|
||
|
}
|
||
|
|
||
|
}
|