mingyoung / dingtalk

[已停止维护]

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

请问如何新建日历?"Invalid arguments:create_vo"

lonycn opened this issue · comments

commented

请问如何新建日历?

$params = [
            'create_vo' => [
                'summary' => '测试一个',
                'receiver_userids' => ["01040144291326"],
                'start_time' => time() * 1000 + 3600,
                'end_time' => time() * 1000 + 36000,
                'calendar_type' => 'notification',
                'source' => [
                    'title' => '测试的 呀',
                    'url' => 'http://www.dingtalk.com/page=xxx'
                ],
                'creator_userid' => "01040144291326",
                'uuid' => "01040144291326" . time(),
                'biz_id' => "123",
            ],
        ];
        dd($app->calendar->create($params));

提示错误:
array:3 [▼ "errcode" => 41 "errmsg" => "Invalid arguments:create_vo" "request_id" => "f87qrbvdj9rl" ]

你可能需要联系钉钉问下了