新增超时+自动完成订单提现操作
This commit is contained in:
parent
248c4d5ee3
commit
42129f215f
|
|
@ -35,6 +35,16 @@
|
||||||
<artifactId>ghy-common</artifactId>
|
<artifactId>ghy-common</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.ghy</groupId>
|
||||||
|
<artifactId>ghy-order</artifactId>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.ghy</groupId>
|
||||||
|
<artifactId>ghy-payment</artifactId>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
@ -0,0 +1,22 @@
|
||||||
|
package com.ghy.quartz.task;
|
||||||
|
|
||||||
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
|
@Component("orderTask")
|
||||||
|
public class OrderTask {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 超时状态刷新
|
||||||
|
* */
|
||||||
|
public void overTimeOrder(){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 自动确认完成订单
|
||||||
|
* */
|
||||||
|
public void finishOrder(){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue