aa
This commit is contained in:
@@ -374,7 +374,7 @@ func (c *ApiController) GetPrintMsg(dataMap map[string]interface{}) (data, errCo
|
||||
} else if printMsg == nil {
|
||||
return "", model.ErrCodeGeneralFailed, fmt.Errorf("未查询到该消息! msg_id: %v", msgID)
|
||||
} else {
|
||||
if byteData, err := json.Marshal(utils.Struct2MapByJson(printMsg)); err == nil {
|
||||
if byteData, err := json.Marshal(printMsg); err == nil {
|
||||
data = string(byteData)
|
||||
} else {
|
||||
return "", model.ErrCodeGeneralFailed, err
|
||||
|
||||
Reference in New Issue
Block a user