企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
>[info] 搜索文件 搜索文件。 **官方文档地址:** [链接](https://open.dingtalk.com/document/orgapp/search-for-files) ***** * 代码: ~~~ $operatorId = 'FQiixDQ0O0kzw3r99hOYpBAiEiE'; $body = [ 'keyword' => '搜索关键词', 'option' => [ 'nextToken' => '1', 'maxResults' => 50 ] ]; $res = Search::dentriesSearch($body, $operatorId); echo $res; ~~~ * 返回: ``` { "items": [{ "dentryUuid": "EpGBa2Lm8aRmzkkNhplMx1prWgN7R35y", "name": "name", "creator": { "userId": "01472825524039877041", "name": "user_name" }, "modifier": { "userId": "01472825524039877041", "name": "user_name" } }], "nextToken": "next_token" } ```