...
|
...
|
@@ -636,7 +636,6 @@ func (status *UnConfirmedStatus) RejectReceiver(task *Task) error { |
|
|
return nil
|
|
|
}
|
|
|
|
|
|
// TODO 已过期任务支持编辑
|
|
|
type ExpiredStatus struct{}
|
|
|
|
|
|
func (status ExpiredStatus) Update(task *Task, data map[string]interface{}) error {
|
...
|
...
|
@@ -673,9 +672,6 @@ func (status ExpiredStatus) Update(task *Task, data map[string]interface{}) erro |
|
|
}
|
|
|
if bidEndTime, ok := data["bidEndTime"]; ok {
|
|
|
task.BidInfo.BidEndTime = bidEndTime.(time.Time)
|
|
|
//task.ReceiveTime = time.Now()
|
|
|
//task.TaskStatus = TASK_STATUS_UNDERWAY
|
|
|
//task.CurrentStatus = &UnderwayStatus{}
|
|
|
}
|
|
|
if isRemind, ok := data["isRemind"]; ok {
|
|
|
task.BidInfo.IsRemind = isRemind.(bool)
|
...
|
...
|
|