添加属性

This commit is contained in:
haomingming
2026-01-04 15:52:07 +08:00
parent 0fb3681628
commit 75c1575830
3 changed files with 26 additions and 8 deletions
-8
View File
@@ -42,14 +42,6 @@ func (r *OrderProduct) GetOrderProductPage(c *gin.Context) {
orderProductDao := dao.OrderProductDao{}
orderProduct, total, err := orderProductDao.GetOrderProductPageSearch(req, req.Page, req.PageSize)
// 记录orderProduct数据到日志
global.Logger.WithFields(logrus.Fields{
"total": total,
"page": req.Page,
"pageSize": req.PageSize,
}).Info("获取药品订单列表数据")
utils.LogJsonInfo("orderProduct数据详情", orderProduct)
if err != nil {
responses.FailWithMessage(err.Error(), c)
return