- 门店状态消息相关的状态常量

This commit is contained in:
gazebo
2019-04-12 16:18:39 +08:00
parent f843a3ecba
commit 841c63af48
3 changed files with 19 additions and 0 deletions

View File

@@ -32,6 +32,10 @@ const (
CmdOrderPartRefund = "order.partrefund.push"
CmdOrderStatus = "order.status.push"
CmdOrderUserCancel = "order.user.cancel"
CmdShopMsgPush = "shop.msg.push"
CmdShopBindMsg = "shop.bind.msg"
CmdShopUnbindMsg = "shop.unbind.msg"
)
type ResponseResult struct {

View File

@@ -9,6 +9,12 @@ import (
"git.rosy.net.cn/baseapi/utils"
)
const (
StatusIDAddStore = "12003" // 新增门店消息
StatusIDDelStore = "12004" // 删除门店消息
StatusIDUpdateStore = "12009" // 修改门店消息
)
type CallbackResponse struct {
Code string `json:"code"`
Msg string `json:"msg"`

View File

@@ -10,6 +10,13 @@ import (
"git.rosy.net.cn/baseapi/utils"
)
const (
MsgPoiStatusOpened = 121 // 121=营业
MsgPoiStatusClosed = 120 // 120=休息
MsgPoiStatusOnline = 18 // 18=上线
MsgPoiStatusOffline = 19 // 19=下线
)
const (
MsgTypeWaybillStatus = "waybillStatus"
MsgTypeNewOrder = "newOrder"
@@ -22,6 +29,8 @@ const (
MsgTypeOrderModified = "orderModified"
MsgTypeOrderRefund = "orderRefund"
MsgTypeOrderPartialRefund = "orderPartialRefund"
MsgTypeStoreStatusChanged = "storeStatusChanged"
)
type CallbackResponse struct {