- elm and weixin token refresh added.

This commit is contained in:
gazebo
2018-06-26 18:49:26 +08:00
parent 8ca0584794
commit 294a208d6c
6 changed files with 160 additions and 39 deletions

View File

@@ -72,7 +72,7 @@ func (o *OrderController) OrderStatusChanged(msg *elmapi.CallbackMsg, orderId st
return errResponseDBError
}
if rec.Type != msg.Type {
err = globals2.FreshFoodAPI.ELMOrderStatus(orderId, msg.Type, utils.GetCurTimestamp())
err = globals2.FreshFoodAPI.ELMOrderStatus(orderId, msg.Type, utils.GetCurTimeStr())
if err != nil {
return errResponseInternal
} else {