- 门店状态消息相关的状态常量
This commit is contained in:
@@ -32,6 +32,10 @@ const (
|
|||||||
CmdOrderPartRefund = "order.partrefund.push"
|
CmdOrderPartRefund = "order.partrefund.push"
|
||||||
CmdOrderStatus = "order.status.push"
|
CmdOrderStatus = "order.status.push"
|
||||||
CmdOrderUserCancel = "order.user.cancel"
|
CmdOrderUserCancel = "order.user.cancel"
|
||||||
|
|
||||||
|
CmdShopMsgPush = "shop.msg.push"
|
||||||
|
CmdShopBindMsg = "shop.bind.msg"
|
||||||
|
CmdShopUnbindMsg = "shop.unbind.msg"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ResponseResult struct {
|
type ResponseResult struct {
|
||||||
|
|||||||
@@ -9,6 +9,12 @@ import (
|
|||||||
"git.rosy.net.cn/baseapi/utils"
|
"git.rosy.net.cn/baseapi/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
const (
|
||||||
|
StatusIDAddStore = "12003" // 新增门店消息
|
||||||
|
StatusIDDelStore = "12004" // 删除门店消息
|
||||||
|
StatusIDUpdateStore = "12009" // 修改门店消息
|
||||||
|
)
|
||||||
|
|
||||||
type CallbackResponse struct {
|
type CallbackResponse struct {
|
||||||
Code string `json:"code"`
|
Code string `json:"code"`
|
||||||
Msg string `json:"msg"`
|
Msg string `json:"msg"`
|
||||||
|
|||||||
@@ -10,6 +10,13 @@ import (
|
|||||||
"git.rosy.net.cn/baseapi/utils"
|
"git.rosy.net.cn/baseapi/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
const (
|
||||||
|
MsgPoiStatusOpened = 121 // 121=营业
|
||||||
|
MsgPoiStatusClosed = 120 // 120=休息
|
||||||
|
MsgPoiStatusOnline = 18 // 18=上线
|
||||||
|
MsgPoiStatusOffline = 19 // 19=下线
|
||||||
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
MsgTypeWaybillStatus = "waybillStatus"
|
MsgTypeWaybillStatus = "waybillStatus"
|
||||||
MsgTypeNewOrder = "newOrder"
|
MsgTypeNewOrder = "newOrder"
|
||||||
@@ -22,6 +29,8 @@ const (
|
|||||||
MsgTypeOrderModified = "orderModified"
|
MsgTypeOrderModified = "orderModified"
|
||||||
MsgTypeOrderRefund = "orderRefund"
|
MsgTypeOrderRefund = "orderRefund"
|
||||||
MsgTypeOrderPartialRefund = "orderPartialRefund"
|
MsgTypeOrderPartialRefund = "orderPartialRefund"
|
||||||
|
|
||||||
|
MsgTypeStoreStatusChanged = "storeStatusChanged"
|
||||||
)
|
)
|
||||||
|
|
||||||
type CallbackResponse struct {
|
type CallbackResponse struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user