- 门店状态消息相关的状态常量
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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"`
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user