From 8e941bd782f574597f19c980982afade4dc11748 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期五, 08 十二月 2023 19:52:20 +0800
Subject: [PATCH] snowflake的id传参换成字符串

---
 model/request/plcBrand.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/model/request/plcBrand.go b/model/request/plcBrand.go
index e4c3a31..ad9e1a6 100644
--- a/model/request/plcBrand.go
+++ b/model/request/plcBrand.go
@@ -10,7 +10,7 @@
 }
 
 type UpdatePlcBrand struct {
-	Id uint `json:"id"`
+	Id uint `json:"id,string"`
 	model.PlcBrand
 }
 

--
Gitblit v1.8.0