소스 검색

fix:edit employee API

jimmyyem 5 달 전
부모
커밋
d35a8c77f5
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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"`
 		IsVip *bool `json:"isVip,optional"`
 	
-		ChatUrl *string `json:"chatUrl"`
+		ChatUrl *string `json:"chatUrl,optional"`
     }
 
     // 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"`
 	ShowChat *bool   `json:"showChat,optional"`
 	IsVip    *bool   `json:"isVip,optional"`
-	ChatUrl  *string `json:"chatUrl"`
+	ChatUrl  *string `json:"chatUrl,optional"`
 }
 
 // The response data of employee list | Employee列表数据