feat calculate-process添加createAt
This commit is contained in:
parent
1ab4ecc594
commit
ba2c9c779b
@ -2,6 +2,7 @@ package utils
|
||||
|
||||
import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
v2 "gitea.timerzz.com/kedaya_haitao/common/structs/v2"
|
||||
)
|
||||
@ -20,6 +21,7 @@ func CalculateProviderPrice(calculates []v2.CalculateProcess, env map[string]flo
|
||||
}
|
||||
}
|
||||
p.CalMark = strings.Join(calculateStrings, "\n")
|
||||
p.CreatedAt = time.Now()
|
||||
return
|
||||
}
|
||||
|
||||
@ -37,5 +39,6 @@ func CalculateSellerPrice(calculates []v2.CalculateProcess, env map[string]float
|
||||
}
|
||||
}
|
||||
p.CalMark = strings.Join(calculateStrings, "\n")
|
||||
p.CreatedAt = time.Now()
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user