fix
This commit is contained in:
parent
0b8fc0915b
commit
9cfdfdbc77
|
@ -70,7 +70,7 @@ func (l *CreateOrderLogic) CreateOrder(req *types.CreateOrderReq, userinfo *auth
|
||||||
// }, []interface{}{res.OrderSn})
|
// }, []interface{}{res.OrderSn})
|
||||||
|
|
||||||
// 延时任务
|
// 延时任务
|
||||||
time.AfterFunc(time.Minute*1, func() {
|
time.AfterFunc(time.Minute*30, func() {
|
||||||
orderSn := res.OrderSn
|
orderSn := res.OrderSn
|
||||||
fmt.Println("延时任务: OrderSn--", orderSn)
|
fmt.Println("延时任务: OrderSn--", orderSn)
|
||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user