- add shop_close in ebai.onShopMsgPush

This commit is contained in:
gazebo
2019-04-14 12:43:38 +08:00
parent 06c54755b0
commit e33ab1d62a

View File

@@ -410,7 +410,7 @@ func (c *PurchaseHandler) onShopMsgPush(msg *ebaiapi.CallbackMsg) (response *eba
switch utils.Interface2String(msg.Body["msg_type"]) {
case "online", "offline":
storeStatus, err = c.GetStoreStatus(jxcontext.AdminCtx, vendorStoreID)
case "shop_open", "shop_pause":
case "shop_open", "shop_pause", "shop_close":
if int(utils.ForceInterface2Int64(msg.Body["business_ele"])) == 1 {
storeStatus = model.StoreStatusOpened
} else {