feat(order): 统一网站自交接订单24小时自动完成倒计时
This commit is contained in:
@@ -144,6 +144,10 @@ func orderListingTerms(snapshot datatypes.JSON) (days int, dailyLossM float64) {
|
||||
return days, roundQuantity(dailyLossM)
|
||||
}
|
||||
|
||||
func EstimateOrderDurationHours(snapshot datatypes.JSON) int {
|
||||
return estimateOrderDurationHours(snapshot)
|
||||
}
|
||||
|
||||
func estimateOrderDurationHours(snapshot datatypes.JSON) int {
|
||||
hafCoinM := readOrderSnapshotCoinM(snapshot)
|
||||
if hafCoinM <= 0 {
|
||||
|
||||
Reference in New Issue
Block a user