1
This commit is contained in:
@@ -8,6 +8,7 @@ import (
|
||||
"net/http"
|
||||
"net/url"
|
||||
"strings"
|
||||
"time"
|
||||
)
|
||||
|
||||
type MtwmController struct {
|
||||
@@ -38,6 +39,7 @@ func (c *MtwmController) NewOrder() {
|
||||
}
|
||||
|
||||
func (c *MtwmController) OrderAccepted() {
|
||||
time.Sleep(200 * time.Millisecond) // 测试看看有的订单来不拣货,可能是这个状态推的太快了,上一个NewOrder还没处理结束导致的
|
||||
c.onCallbackMsg(mtwmapi.MsgTypeOrderAccepted)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user