|
|
@@ -72,6 +72,7 @@ func (t *MQProc) Process(topic, queuename string, msg *[]byte) {
|
|
|
asyncTask := c.GetAsyncTask(key)
|
|
|
if asyncTask != nil {
|
|
|
rspData := string(*bytes)
|
|
|
+ global.M2A_LOG.Info("[S->C]", zap.Any("rsp", funcode), zap.Any("sessionId", sessionId), zap.Any("data", string(rspData)))
|
|
|
// 判断是否要加密
|
|
|
if asyncTask.IsEncrypted {
|
|
|
if b, err := packet.Encrypt(*bytes, packet.AESKey, true); err != nil {
|
|
|
@@ -82,7 +83,6 @@ func (t *MQProc) Process(topic, queuename string, msg *[]byte) {
|
|
|
}
|
|
|
}
|
|
|
// 给客户端回调
|
|
|
- global.M2A_LOG.Info("[S->C]", zap.Any("rsp", funcode), zap.Any("sessionId", sessionId), zap.Any("data", string(rspData)))
|
|
|
r := rsp.MQBodyRsp{
|
|
|
FunCode: funcode,
|
|
|
IsEncrypted: asyncTask.IsEncrypted,
|