Browse Source

方法名首字母大写

sunlibo 2 years ago
parent
commit
e75744249e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      resourceChannel/resourceChannel.go

+ 2 - 2
resourceChannel/resourceChannel.go

@@ -21,8 +21,8 @@ type SemJsChatRecord struct {
 	GrUserID   string    `gorm:"column:gr_user_id"`
 }
 
-// 会话渠道归因处理
-func getChatChannel(chat SemJsChatRecord) ChannelCategory {
+// GetChatChannel 会话渠道归因处理
+func GetChatChannel(chat SemJsChatRecord) ChannelCategory {
 	channel := 7
 	category := 126
 	if strings.Contains(chat.ChatURL, "pages") && strings.Split(strings.Split(chat.ChatURL, "?")[1], "=")[0] == "miniapp" {