|
@@ -82,6 +82,214 @@ func (t *MQProc) getRspProtobuf(msg *[]byte) (funcode uint32, sessionId uint32,
|
|
|
b := (*msg)[8:]
|
|
b := (*msg)[8:]
|
|
|
|
|
|
|
|
switch int(funcode) {
|
|
switch int(funcode) {
|
|
|
|
|
+ case global.ModifyPwdRsp: // 修改账户密码应答
|
|
|
|
|
+ var p pb.ModifyPwdRsp
|
|
|
|
|
+ if err = proto.Unmarshal(b, &p); err != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ if bs, e := protojson.Marshal(&p); e != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ } else {
|
|
|
|
|
+ bytes = &bs
|
|
|
|
|
+ serialNumber = p.GetHeader().GetRequestID()
|
|
|
|
|
+ }
|
|
|
|
|
+ case global.UserReceiveInfoRsp: // 新增修改收货地址请求响应
|
|
|
|
|
+ var p pb.UserReceiveInfoRsp
|
|
|
|
|
+ if err = proto.Unmarshal(b, &p); err != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ if bs, e := protojson.Marshal(&p); e != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ } else {
|
|
|
|
|
+ bytes = &bs
|
|
|
|
|
+ serialNumber = p.GetHeader().GetRequestID()
|
|
|
|
|
+ }
|
|
|
|
|
+ case global.DelUserReceiveInfoRsp: // 删除收货地址请求响应
|
|
|
|
|
+ var p pb.DelUserReceiveInfoRsp
|
|
|
|
|
+ if err = proto.Unmarshal(b, &p); err != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ if bs, e := protojson.Marshal(&p); e != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ } else {
|
|
|
|
|
+ bytes = &bs
|
|
|
|
|
+ serialNumber = p.GetHeader().GetRequestID()
|
|
|
|
|
+ }
|
|
|
|
|
+ case global.UserReceiptInfoRsp: // 新增修改用户发票信息请求响应
|
|
|
|
|
+ var p pb.UserReceiptInfoRsp
|
|
|
|
|
+ if err = proto.Unmarshal(b, &p); err != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ if bs, e := protojson.Marshal(&p); e != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ } else {
|
|
|
|
|
+ bytes = &bs
|
|
|
|
|
+ serialNumber = p.GetHeader().GetRequestID()
|
|
|
|
|
+ }
|
|
|
|
|
+ case global.DelUserReceiptInfoRsp: // 删除用户发票信息请求响应
|
|
|
|
|
+ var p pb.DelUserReceiptInfoRsp
|
|
|
|
|
+ if err = proto.Unmarshal(b, &p); err != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ if bs, e := protojson.Marshal(&p); e != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ } else {
|
|
|
|
|
+ bytes = &bs
|
|
|
|
|
+ serialNumber = p.GetHeader().GetRequestID()
|
|
|
|
|
+ }
|
|
|
|
|
+ case global.T2bBankSignRsp: // 签约应答
|
|
|
|
|
+ var p pb.T2BBankSignRsp
|
|
|
|
|
+ if err = proto.Unmarshal(b, &p); err != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ if bs, e := protojson.Marshal(&p); e != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ } else {
|
|
|
|
|
+ bytes = &bs
|
|
|
|
|
+ serialNumber = p.GetHeader().GetRequestID()
|
|
|
|
|
+ }
|
|
|
|
|
+ case global.T2bBankCancelSignRsp: // 解约应答
|
|
|
|
|
+ var p pb.T2BBankCancelSignRsp
|
|
|
|
|
+ if err = proto.Unmarshal(b, &p); err != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ if bs, e := protojson.Marshal(&p); e != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ } else {
|
|
|
|
|
+ bytes = &bs
|
|
|
|
|
+ serialNumber = p.GetHeader().GetRequestID()
|
|
|
|
|
+ }
|
|
|
|
|
+ case global.T2bBankWithdrawRsp: // 出金应答
|
|
|
|
|
+ var p pb.T2BBankWithdrawRsp
|
|
|
|
|
+ if err = proto.Unmarshal(b, &p); err != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ if bs, e := protojson.Marshal(&p); e != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ } else {
|
|
|
|
|
+ bytes = &bs
|
|
|
|
|
+ serialNumber = p.GetHeader().GetRequestID()
|
|
|
|
|
+ }
|
|
|
|
|
+ case global.T2bBankDepositRsp: // 入金应答
|
|
|
|
|
+ var p pb.T2BBankDepositRsp
|
|
|
|
|
+ if err = proto.Unmarshal(b, &p); err != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ if bs, e := protojson.Marshal(&p); e != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ } else {
|
|
|
|
|
+ bytes = &bs
|
|
|
|
|
+ serialNumber = p.GetHeader().GetRequestID()
|
|
|
|
|
+ }
|
|
|
|
|
+ case global.WarehouseApplyRsp: // 仓库申请应答
|
|
|
|
|
+ var p pb.WarehouseApplyRsp
|
|
|
|
|
+ if err = proto.Unmarshal(b, &p); err != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ if bs, e := protojson.Marshal(&p); e != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ } else {
|
|
|
|
|
+ bytes = &bs
|
|
|
|
|
+ serialNumber = p.GetHeader().GetRequestID()
|
|
|
|
|
+ }
|
|
|
|
|
+ case global.PerformanceContractedApplyRsp: // 违约申请应答
|
|
|
|
|
+ var p pb.PerformanceContractedApplyRsp
|
|
|
|
|
+ if err = proto.Unmarshal(b, &p); err != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ if bs, e := protojson.Marshal(&p); e != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ } else {
|
|
|
|
|
+ bytes = &bs
|
|
|
|
|
+ serialNumber = p.GetHeader().GetRequestID()
|
|
|
|
|
+ }
|
|
|
|
|
+ case global.PerformanceDelayApplyRsp: // 延期申请应答
|
|
|
|
|
+ var p pb.PerformanceDelayApplyRsp
|
|
|
|
|
+ if err = proto.Unmarshal(b, &p); err != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ if bs, e := protojson.Marshal(&p); e != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ } else {
|
|
|
|
|
+ bytes = &bs
|
|
|
|
|
+ serialNumber = p.GetHeader().GetRequestID()
|
|
|
|
|
+ }
|
|
|
|
|
+ case global.PerformanceManualConfirmRsp: // 履约手动确认应答
|
|
|
|
|
+ var p pb.PerformanceManualConfirmRsp
|
|
|
|
|
+ if err = proto.Unmarshal(b, &p); err != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ if bs, e := protojson.Marshal(&p); e != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ } else {
|
|
|
|
|
+ bytes = &bs
|
|
|
|
|
+ serialNumber = p.GetHeader().GetRequestID()
|
|
|
|
|
+ }
|
|
|
|
|
+ case global.PerformanceModifyContactRsp: // 履约修改联络信息回应
|
|
|
|
|
+ var p pb.PerformanceModifyContactRsp
|
|
|
|
|
+ if err = proto.Unmarshal(b, &p); err != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ if bs, e := protojson.Marshal(&p); e != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ } else {
|
|
|
|
|
+ bytes = &bs
|
|
|
|
|
+ serialNumber = p.GetHeader().GetRequestID()
|
|
|
|
|
+ }
|
|
|
|
|
+ case global.GoodsFavoriteOperateRsp: // 商品收藏操作接口应答
|
|
|
|
|
+ var p pb.GoodsFavoriteOperateRsp
|
|
|
|
|
+ if err = proto.Unmarshal(b, &p); err != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ if bs, e := protojson.Marshal(&p); e != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ } else {
|
|
|
|
|
+ bytes = &bs
|
|
|
|
|
+ serialNumber = p.GetHeader().GetRequestID()
|
|
|
|
|
+ }
|
|
|
|
|
+ case global.ZSBuyOrderListingRsp: // 钻石买挂牌接口应答
|
|
|
|
|
+ var p pb.ZSBuyOrderListingRsp
|
|
|
|
|
+ if err = proto.Unmarshal(b, &p); err != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ if bs, e := protojson.Marshal(&p); e != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ } else {
|
|
|
|
|
+ bytes = &bs
|
|
|
|
|
+ serialNumber = p.GetHeader().GetRequestID()
|
|
|
|
|
+ }
|
|
|
case global.ZSSellOrderListingRsp: // 钻石卖挂牌接口响应
|
|
case global.ZSSellOrderListingRsp: // 钻石卖挂牌接口响应
|
|
|
var p pb.ZSSellOrderListingRsp
|
|
var p pb.ZSSellOrderListingRsp
|
|
|
if err = proto.Unmarshal(b, &p); err != nil {
|
|
if err = proto.Unmarshal(b, &p); err != nil {
|
|
@@ -95,6 +303,84 @@ func (t *MQProc) getRspProtobuf(msg *[]byte) (funcode uint32, sessionId uint32,
|
|
|
bytes = &bs
|
|
bytes = &bs
|
|
|
serialNumber = p.GetHeader().GetRequestID()
|
|
serialNumber = p.GetHeader().GetRequestID()
|
|
|
}
|
|
}
|
|
|
|
|
+ case global.ZSBuyOrderDestingRsp: // 钻石卖摘牌申请接口响应
|
|
|
|
|
+ var p pb.ZSBuyOrderDestingRsp
|
|
|
|
|
+ if err = proto.Unmarshal(b, &p); err != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ if bs, e := protojson.Marshal(&p); e != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ } else {
|
|
|
|
|
+ bytes = &bs
|
|
|
|
|
+ serialNumber = p.GetHeader().GetRequestID()
|
|
|
|
|
+ }
|
|
|
|
|
+ case global.ZSSellOrderDestingApplyOperateRsp: // 钻石卖摘牌申请操作接口应答
|
|
|
|
|
+ var p pb.ZSSellOrderDestingApplyOperateRsp
|
|
|
|
|
+ if err = proto.Unmarshal(b, &p); err != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ if bs, e := protojson.Marshal(&p); e != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ } else {
|
|
|
|
|
+ bytes = &bs
|
|
|
|
|
+ serialNumber = p.GetHeader().GetRequestID()
|
|
|
|
|
+ }
|
|
|
|
|
+ case global.ZSBuyOrderDestingNegPriceRsp: // 买摘牌询价接口应答
|
|
|
|
|
+ var p pb.ZSBuyOrderDestingNegPriceRsp
|
|
|
|
|
+ if err = proto.Unmarshal(b, &p); err != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ if bs, e := protojson.Marshal(&p); e != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ } else {
|
|
|
|
|
+ bytes = &bs
|
|
|
|
|
+ serialNumber = p.GetHeader().GetRequestID()
|
|
|
|
|
+ }
|
|
|
|
|
+ case global.ZSBuyOrderDestingNegPriceOperateRsp: // 买摘牌询价操作接口应答
|
|
|
|
|
+ var p pb.ZSBuyOrderDestingNegPriceOperateRsp
|
|
|
|
|
+ if err = proto.Unmarshal(b, &p); err != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ if bs, e := protojson.Marshal(&p); e != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ } else {
|
|
|
|
|
+ bytes = &bs
|
|
|
|
|
+ serialNumber = p.GetHeader().GetRequestID()
|
|
|
|
|
+ }
|
|
|
|
|
+ case global.WRListingCancelOrderRsp: // 挂牌撤单应答
|
|
|
|
|
+ var p pb.WRListingCancelOrderRsp
|
|
|
|
|
+ if err = proto.Unmarshal(b, &p); err != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ if bs, e := protojson.Marshal(&p); e != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ } else {
|
|
|
|
|
+ bytes = &bs
|
|
|
|
|
+ serialNumber = p.GetHeader().GetRequestID()
|
|
|
|
|
+ }
|
|
|
|
|
+ case global.ReceiptZSOutApplyRsp: // 钻石出库申请接口响应
|
|
|
|
|
+ var p pb.ReceiptZSOutApplyRsp
|
|
|
|
|
+ if err = proto.Unmarshal(b, &p); err != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ if bs, e := protojson.Marshal(&p); e != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("总线回复数据反序列化失败", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ } else {
|
|
|
|
|
+ bytes = &bs
|
|
|
|
|
+ serialNumber = p.GetHeader().GetRequestID()
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
return
|
|
return
|
|
@@ -103,10 +389,35 @@ func (t *MQProc) getRspProtobuf(msg *[]byte) (funcode uint32, sessionId uint32,
|
|
|
// RabbitMQSubscribeTopic 订阅主题
|
|
// RabbitMQSubscribeTopic 订阅主题
|
|
|
func RabbitMQSubscribeTopic() (err error) {
|
|
func RabbitMQSubscribeTopic() (err error) {
|
|
|
// 订阅需要的总线响应主题
|
|
// 订阅需要的总线响应主题
|
|
|
|
|
+ if err = global.SubscribeTopic(global.TOPIC_RSP_QKERNEL); err != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("rabbitmq subscribe topic failed, err:", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ if err = global.SubscribeTopic(global.TOPIC_MANAGE_RSP); err != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("rabbitmq subscribe topic failed, err:", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ if err = global.SubscribeTopic(global.TOPIC_RSP_BANK); err != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("rabbitmq subscribe topic failed, err:", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ if err = global.SubscribeTopic(global.TOPIC_PERFORMANCE_RSP); err != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("rabbitmq subscribe topic failed, err:", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ if err = global.SubscribeTopic(global.TOPIC_WAREHOUSE_RECIEPT_RSP); err != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("rabbitmq subscribe topic failed, err:", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ if err = global.SubscribeTopic(global.TOPIC_RSP_WAREHOUSE_TRADE); err != nil {
|
|
|
|
|
+ global.M2A_LOG.Error("rabbitmq subscribe topic failed, err:", zap.Error(err))
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
if err = global.SubscribeTopic(global.TOPIC_RSP_WAREHOUSE_TRADE_GZ); err != nil {
|
|
if err = global.SubscribeTopic(global.TOPIC_RSP_WAREHOUSE_TRADE_GZ); err != nil {
|
|
|
global.M2A_LOG.Error("rabbitmq subscribe topic failed, err:", zap.Error(err))
|
|
global.M2A_LOG.Error("rabbitmq subscribe topic failed, err:", zap.Error(err))
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
global.M2A_LOG.Info("rabbitmq subscribe topic successed.")
|
|
global.M2A_LOG.Info("rabbitmq subscribe topic successed.")
|
|
|
|
|
|
|
|
return
|
|
return
|
|
@@ -129,6 +440,43 @@ func InitFuncodeTopic() {
|
|
|
global.M2A_FuncodeTopic = make(map[string][]int)
|
|
global.M2A_FuncodeTopic = make(map[string][]int)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- //global.M2A_FuncodeTopic[global.ModifyPwdReq] =
|
|
|
|
|
- //global.M2A_FuncodeTopic[global.ZSSellOrderListingReq] = global.TOPIC_REQ_WAREHOUSE_TRADE_GZ
|
|
|
|
|
|
|
+ global.M2A_FuncodeTopic[global.TOPIC_REQ_QKERNEL] = []int{
|
|
|
|
|
+ global.ModifyPwdReq,
|
|
|
|
|
+ }
|
|
|
|
|
+ global.M2A_FuncodeTopic[global.TOPIC_MANAGE_REQ] = []int{
|
|
|
|
|
+ global.UserReceiveInfoReq,
|
|
|
|
|
+ global.DelUserReceiveInfoReq,
|
|
|
|
|
+ global.UserReceiveIsDefaultReq,
|
|
|
|
|
+ global.UserReceiptInfoReq,
|
|
|
|
|
+ global.DelUserReceiptInfoReq,
|
|
|
|
|
+ global.WarehouseApplyReq,
|
|
|
|
|
+ }
|
|
|
|
|
+ global.M2A_FuncodeTopic[global.TOPIC_REQ_BANK] = []int{
|
|
|
|
|
+ global.T2bBankSignReq,
|
|
|
|
|
+ global.T2bBankCancelSignReq,
|
|
|
|
|
+ global.T2bBankWithdrawReq,
|
|
|
|
|
+ global.T2bBankDepositReq,
|
|
|
|
|
+ }
|
|
|
|
|
+ global.M2A_FuncodeTopic[global.TOPIC_PERFORMANCE_REQ] = []int{
|
|
|
|
|
+ global.PerformanceContractedApplyReq,
|
|
|
|
|
+ global.PerformanceDelayApplyReq,
|
|
|
|
|
+ global.PerformanceManualConfirmReq,
|
|
|
|
|
+ global.PerformanceModifyContactReq,
|
|
|
|
|
+ }
|
|
|
|
|
+ global.M2A_FuncodeTopic[global.TOPIC_WAREHOUSE_RECIEPT] = []int{
|
|
|
|
|
+ global.ReceiptZSOutApplyReq,
|
|
|
|
|
+ }
|
|
|
|
|
+ global.M2A_FuncodeTopic[global.TOPIC_REQ_WAREHOUSE_TRADE] = []int{
|
|
|
|
|
+ global.WRListingCancelOrderReq,
|
|
|
|
|
+ }
|
|
|
|
|
+ global.M2A_FuncodeTopic[global.TOPIC_REQ_WAREHOUSE_TRADE_GZ] = []int{
|
|
|
|
|
+ global.GoodsFavoriteOperateReq,
|
|
|
|
|
+ global.ZSBuyOrderListingReq,
|
|
|
|
|
+ global.ZSSellOrderListingReq,
|
|
|
|
|
+ global.ZSBuyOrderDestingReq,
|
|
|
|
|
+ global.ZSSellOrderDestingApplyReq,
|
|
|
|
|
+ global.ZSSellOrderDestingApplyOperateReq,
|
|
|
|
|
+ global.ZSBuyOrderDestingNegPriceReq,
|
|
|
|
|
+ global.ZSBuyOrderDestingNegPriceOperateReq,
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|