jimmyyem 3 months ago
parent
commit
8255399c26
1 changed files with 15 additions and 14 deletions
  1. 15 14
      ent/client.go

+ 15 - 14
ent/client.go

@@ -406,9 +406,9 @@ func (c *Client) Use(hooks ...Hook) {
 	for _, n := range []interface{ Use(...Hook) }{
 		c.Agent, c.AgentBase, c.AliyunAvatar, c.AllocAgent, c.BatchMsg, c.Category,
 		c.ChatRecords, c.ChatSession, c.Contact, c.CreditBalance, c.CreditUsage,
-		c.Employee, c.EmployeeConfig, c.Label, c.LabelRelationship, c.LabelTagging, c.Message,
-		c.MessageRecords, c.Msg, c.PayRecharge, c.Server, c.SopNode, c.SopStage,
-		c.SopTask, c.Token, c.Tutorial, c.UsageDetail, c.UsageStatisticDay,
+		c.Employee, c.EmployeeConfig, c.Label, c.LabelRelationship, c.LabelTagging,
+		c.Message, c.MessageRecords, c.Msg, c.PayRecharge, c.Server, c.SopNode,
+		c.SopStage, c.SopTask, c.Token, c.Tutorial, c.UsageDetail, c.UsageStatisticDay,
 		c.UsageStatisticHour, c.UsageStatisticMonth, c.UsageTotal, c.WorkExperience,
 		c.WpChatroom, c.WpChatroomMember, c.Wx, c.WxCard, c.WxCardUser, c.WxCardVisit,
 	} {
@@ -422,9 +422,9 @@ func (c *Client) Intercept(interceptors ...Interceptor) {
 	for _, n := range []interface{ Intercept(...Interceptor) }{
 		c.Agent, c.AgentBase, c.AliyunAvatar, c.AllocAgent, c.BatchMsg, c.Category,
 		c.ChatRecords, c.ChatSession, c.Contact, c.CreditBalance, c.CreditUsage,
-		c.Employee, c.EmployeeConfig, c.Label, c.LabelRelationship, c.LabelTagging, c.Message,
-		c.MessageRecords, c.Msg, c.PayRecharge, c.Server, c.SopNode, c.SopStage,
-		c.SopTask, c.Token, c.Tutorial, c.UsageDetail, c.UsageStatisticDay,
+		c.Employee, c.EmployeeConfig, c.Label, c.LabelRelationship, c.LabelTagging,
+		c.Message, c.MessageRecords, c.Msg, c.PayRecharge, c.Server, c.SopNode,
+		c.SopStage, c.SopTask, c.Token, c.Tutorial, c.UsageDetail, c.UsageStatisticDay,
 		c.UsageStatisticHour, c.UsageStatisticMonth, c.UsageTotal, c.WorkExperience,
 		c.WpChatroom, c.WpChatroomMember, c.Wx, c.WxCard, c.WxCardUser, c.WxCardVisit,
 	} {
@@ -6033,18 +6033,19 @@ type (
 	hooks struct {
 		Agent, AgentBase, AliyunAvatar, AllocAgent, BatchMsg, Category, ChatRecords,
 		ChatSession, Contact, CreditBalance, CreditUsage, Employee, EmployeeConfig,
-		Label, LabelRelationship, LabelTagging, Message, MessageRecords, Msg, PayRecharge, Server,
-		SopNode, SopStage, SopTask, Token, Tutorial, UsageDetail, UsageStatisticDay,
-		UsageStatisticHour, UsageStatisticMonth, UsageTotal, WorkExperience,
-		WpChatroom, WpChatroomMember, Wx, WxCard, WxCardUser, WxCardVisit []ent.Hook
+		Label, LabelRelationship, LabelTagging, Message, MessageRecords, Msg,
+		PayRecharge, Server, SopNode, SopStage, SopTask, Token, Tutorial, UsageDetail,
+		UsageStatisticDay, UsageStatisticHour, UsageStatisticMonth, UsageTotal,
+		WorkExperience, WpChatroom, WpChatroomMember, Wx, WxCard, WxCardUser,
+		WxCardVisit []ent.Hook
 	}
 	inters struct {
 		Agent, AgentBase, AliyunAvatar, AllocAgent, BatchMsg, Category, ChatRecords,
 		ChatSession, Contact, CreditBalance, CreditUsage, Employee, EmployeeConfig,
-		Label, LabelRelationship, LabelTagging, Message, MessageRecords, Msg, PayRecharge, Server,
-		SopNode, SopStage, SopTask, Token, Tutorial, UsageDetail, UsageStatisticDay,
-		UsageStatisticHour, UsageStatisticMonth, UsageTotal, WorkExperience,
-		WpChatroom, WpChatroomMember, Wx, WxCard, WxCardUser,
+		Label, LabelRelationship, LabelTagging, Message, MessageRecords, Msg,
+		PayRecharge, Server, SopNode, SopStage, SopTask, Token, Tutorial, UsageDetail,
+		UsageStatisticDay, UsageStatisticHour, UsageStatisticMonth, UsageTotal,
+		WorkExperience, WpChatroom, WpChatroomMember, Wx, WxCard, WxCardUser,
 		WxCardVisit []ent.Interceptor
 	}
 )