فهرست منبع

style 调整顺序

zhangxinlei1996 3 سال پیش
والد
کامیت
58aacddd11
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      api/medical/internal/logic/institution/getnewmsglistlogic.go

+ 1 - 1
api/medical/internal/logic/institution/getnewmsglistlogic.go

@@ -35,8 +35,8 @@ func (l *GetNewMsgListLogic) GetNewMsgList(req *types.GetNewMsgListReq) (resp *t
 		PageSize:    req.PageSize,
 	})
 	if err != nil || ret == nil {
-		l.Error(fmt.Sprintf("%+v", req), resp.Error_msg)
 		resp.Error_code, resp.Error_msg = -1, "查看失败"
+		l.Error(fmt.Sprintf("%+v", req), resp.Error_msg)
 	} else {
 		resp.Data = map[string]interface{}{
 			"count": ret.Count,