From b850fbd0072090f4ec064d0a8e2b11b71296542f Mon Sep 17 00:00:00 2001 From: dylanyang Date: Mon, 24 Jun 2024 17:24:57 +0800 Subject: [PATCH] update --- common/price_compoent/price_util.go | 1 - service/dashboard_service/dashboard_service.go | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/common/price_compoent/price_util.go b/common/price_compoent/price_util.go index f38ce09..8fb3e99 100644 --- a/common/price_compoent/price_util.go +++ b/common/price_compoent/price_util.go @@ -4,7 +4,6 @@ import ( "AAStarCommunity/EthPaymaster_BackService/common/global_const" "AAStarCommunity/EthPaymaster_BackService/config" "fmt" - "github.com/sirupsen/logrus" "golang.org/x/xerrors" "io" "io/ioutil" diff --git a/service/dashboard_service/dashboard_service.go b/service/dashboard_service/dashboard_service.go index fcd50bf..c012023 100644 --- a/service/dashboard_service/dashboard_service.go +++ b/service/dashboard_service/dashboard_service.go @@ -301,8 +301,8 @@ type PaymasterRecallLogDbModel struct { PaymasterMethod string `gorm:"column:paymaster_method;type:varchar(25)" json:"paymaster_method"` SendTime string `gorm:"column:send_time;type:varchar(50)" json:"send_time"` Latency int64 `gorm:"column:latency;type:integer" json:"latency"` - RequestBody string `gorm:"column:request_body;type:varchar(500)" json:"request_body"` - ResponseBody string `gorm:"column:response_body;type:varchar(1000)" json:"response_body"` + RequestBody string `gorm:"column:request_body;type:varchar(2000)" json:"request_body"` + ResponseBody string `gorm:"column:response_body;type:varchar(2000)" json:"response_body"` NetWork string `gorm:"column:network;type:varchar(25)" json:"network"` Status int `gorm:"column:status;type:integer" json:"status"` Extra datatypes.JSON `gorm:"column:extra" json:"extra"`