浏览代码

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列表数据