From 8fa93b6a53cdbce082a50ae59481c200b3c90c13 Mon Sep 17 00:00:00 2001 From: wood chen Date: Thu, 17 Jul 2025 20:55:23 +0800 Subject: [PATCH] =?UTF-8?q?fix(prices.go):=20=E7=A7=BB=E9=99=A4=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E4=BB=B7=E6=A0=BC=E7=8A=B6=E6=80=81=E5=92=8C=E6=89=B9?= =?UTF-8?q?=E5=87=86=E6=89=80=E6=9C=89=E4=BB=B7=E6=A0=BC=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=E5=86=97=E4=BD=99=E5=AD=97=E6=AE=B5"updated?= =?UTF-8?q?=5Fby"=EF=BC=8C=E7=AE=80=E5=8C=96=E6=9B=B4=E6=96=B0=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/handlers/prices.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/backend/handlers/prices.go b/backend/handlers/prices.go index 7553e68..18b10cd 100644 --- a/backend/handlers/prices.go +++ b/backend/handlers/prices.go @@ -482,7 +482,6 @@ func UpdatePriceStatus(c *gin.Context) { updateMap["temp_input_image_tokens"] = nil updateMap["temp_output_image_tokens"] = nil updateMap["temp_price_source"] = nil - updateMap["updated_by"] = nil if err := tx.Model(&price).Updates(updateMap).Error; err != nil { tx.Rollback() @@ -744,7 +743,6 @@ func ApproveAllPrices(c *gin.Context) { updateMap["temp_input_image_tokens"] = nil updateMap["temp_output_image_tokens"] = nil updateMap["temp_price_source"] = nil - updateMap["updated_by"] = nil if err := tx.Model(&price).Updates(updateMap).Error; err != nil { tx.Rollback()