From 178b28d858d7d155dadd20a018920ccdcbd08992 Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期五, 18 八月 2023 10:14:57 +0800
Subject: [PATCH] add temp

---
 api/v1/client.go |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/api/v1/client.go b/api/v1/client.go
index b354d14..e2c09de 100644
--- a/api/v1/client.go
+++ b/api/v1/client.go
@@ -32,6 +32,14 @@
 		return
 	}
 
+	//CreatorId, b := c.Get("claims")
+	//if !b {
+	//	ctx.Fail(ecode.JWTParseErr)
+	//	return
+	//}
+	//
+	//client.CreatorId = CreatorId.(int)
+
 	errCode = clientService.AddClient(client, params.SalesLeadsId)
 	if errCode != ecode.OK {
 		ctx.Fail(errCode)

--
Gitblit v1.8.0