Files
EasySoft-ZenTaoPMS/test/model/webhook/getdatalist.php
2022-05-09 10:39:04 +08:00

21 lines
725 B
PHP
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/usr/bin/env php
<?php
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
include dirname(dirname(dirname(__FILE__))) . '/class/webhook.class.php';
su('admin');
/**
title=测试 webhookModel->getDataList();
cid=1
pid=1
不需传任何参数,取出其中一个ID=39的日志内容这里时间上取当前时间三小时以前的 >> 用户创建了任务39
统计数量 >> 20
*/
$webhook = new webhookTest();
r($webhook->getDataListTest()) && p('39:data') && e('用户创建了任务39'); //不需传任何参数,取出其中一个ID=39的日志内容这里时间上取当前时间三小时以前的
r(count($webhook->getDataListTest())) && p() && e('20'); //统计数量