This commit is contained in:
苏尹岚
2020-11-05 10:43:39 +08:00
parent 34e21b209d
commit bad35a0e0c
2 changed files with 2 additions and 6 deletions

View File

@@ -281,10 +281,8 @@ func AcceptJob(ctx *jxcontext.Context, jobID int) (errCode string, err error) {
}
dao.Commit(db)
//任务限时完成
defer func() {
timer := checkLimitJobOrders(db, job, jobOrder, model.JobTimerTypeAccept)
JobTimerMap[jobOrder.JobOrderID] = timer
}()
//特殊任务,如美团会员,是直接要支付
if job.Type == model.JobTypeMtMember {
userBill, err := dao.GetUserBill(db, ctx.GetUserID(), "")

View File

@@ -2,7 +2,6 @@ package dao
import (
"errors"
"fmt"
"reflect"
"runtime/debug"
"time"
@@ -84,7 +83,6 @@ func (db *DaoDB) startWatchTransaction() {
db.transactionWatchTimer = nil
db.beginTransactionStack = nil
})
fmt.Println("111111111111111111111111111111111111111")
}
func (db *DaoDB) stopWatchTransaction() {