zhangqian
2023-08-24 b6f3c2160c7633b3492575c1de39735a04c9e63e
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)