|
@@ -21,6 +21,7 @@ import com.ym.mec.common.entity.HttpResponseResult;
|
|
|
import com.ym.mec.common.exception.BizException;
|
|
|
import com.ym.mec.thirdparty.message.MessageSenderPluginContext;
|
|
|
import com.ym.mec.util.http.HttpUtil;
|
|
|
+import com.yonge.log.model.AuditLogAnnotation;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -144,6 +145,7 @@ public class PracticeGroupController extends BaseController {
|
|
|
|
|
|
@ApiOperation("陪练课预约")
|
|
|
@PostMapping(value = "/practiceApply")
|
|
|
+ @AuditLogAnnotation(operateName = "陪练课预约")
|
|
|
public Object practiceApply(PracticeGroup practiceGroup){
|
|
|
SysUser sysUser = sysUserFeignService.queryUserInfo();
|
|
|
if (sysUser == null) {
|
|
@@ -204,6 +206,7 @@ public class PracticeGroupController extends BaseController {
|
|
|
|
|
|
@ApiOperation("陪练课购买")
|
|
|
@PostMapping(value = "/buyPracticeGroup")
|
|
|
+ @AuditLogAnnotation(operateName = "陪练课购买")
|
|
|
public HttpResponseResult buyPracticeGroup(@RequestBody PracticeGroupBuyDto practiceGroupBuyParams){
|
|
|
SysUser sysUser = sysUserFeignService.queryUserInfo();
|
|
|
if (sysUser == null) {
|
|
@@ -234,6 +237,7 @@ public class PracticeGroupController extends BaseController {
|
|
|
|
|
|
@ApiOperation("重新支付")
|
|
|
@PostMapping(value = "/repay")
|
|
|
+ @AuditLogAnnotation(operateName = "重新支付")
|
|
|
public HttpResponseResult repay(Integer groupId, boolean useBalancePayment) throws Exception {
|
|
|
SysUser sysUser = sysUserFeignService.queryUserInfo();
|
|
|
if (sysUser == null) {
|
|
@@ -336,6 +340,7 @@ public class PracticeGroupController extends BaseController {
|
|
|
|
|
|
@ApiOperation("取消待支付的订单")
|
|
|
@PostMapping(value = "/cancelWaitPayOrder")
|
|
|
+ @AuditLogAnnotation(operateName = "取消待支付的订单")
|
|
|
public HttpResponseResult cancelWaitPayOrder(Integer groupId){
|
|
|
SysUser sysUser = sysUserFeignService.queryUserInfo();
|
|
|
if (sysUser == null) {
|