zhangqian
2023-08-18 3882827f98329dc63c72e5084a7bf11e1f8ad4d3
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)