京东新单新回调测试

This commit is contained in:
苏尹岚
2020-04-28 17:48:42 +08:00
parent 75c5d2eaa9
commit 8436f30eec
4 changed files with 24 additions and 16 deletions

View File

@@ -46,6 +46,9 @@ type StatusActionParams struct {
TimeoutGap int // 以秒为单位的随机时间0在GetStatusActionConfig返回时表示不修改缺省
}
type OrderInFoChange struct {
}
func (s *StatusActionParams) GetRefTimeout(statusTime time.Time, orderCreatedAt time.Time) (timeout time.Duration) {
switch s.TimerType {
case TimerTypeBaseNow: