Browse Source

fix:edit employee API

jimmyyem 5 months ago
parent
commit
d35a8c77f5
2 changed files with 2 additions and 2 deletions
  1. 1 1
      desc/wechat/employee.api
  2. 1 1
      internal/types/types.go

+ 1 - 1
desc/wechat/employee.api

@@ -66,7 +66,7 @@ type (
 		ShowChat *bool `json:"showChat,optional"`
 		ShowChat *bool `json:"showChat,optional"`
 		IsVip *bool `json:"isVip,optional"`
 		IsVip *bool `json:"isVip,optional"`
 	
 	
-		ChatUrl *string `json:"chatUrl"`
+		ChatUrl *string `json:"chatUrl,optional"`
     }
     }
 
 
     // The response data of employee list | Employee列表数据
     // The response data of employee list | Employee列表数据

+ 1 - 1
internal/types/types.go

@@ -1872,7 +1872,7 @@ type EmployeeInfo struct {
 	AiInfo   *string `json:"aiInfo,optional"`
 	AiInfo   *string `json:"aiInfo,optional"`
 	ShowChat *bool   `json:"showChat,optional"`
 	ShowChat *bool   `json:"showChat,optional"`
 	IsVip    *bool   `json:"isVip,optional"`
 	IsVip    *bool   `json:"isVip,optional"`
-	ChatUrl  *string `json:"chatUrl"`
+	ChatUrl  *string `json:"chatUrl,optional"`
 }
 }
 
 
 // The response data of employee list | Employee列表数据
 // The response data of employee list | Employee列表数据