Commit 55ac62b3 authored by 杨培's avatar 杨培

track 异步模拟

parent eeaf8f45
......@@ -12,8 +12,17 @@ require __DIR__.'/_init.php';
//echo Track::track('test');
$ret = Track::trackAsync('test', 12, time(), [
'测试属性' => '属性值',
'_protectedProperty' => 'propertyValue'
$ret = Track::trackAsync('_view', 12, time(), [
'内容标题' => '这是一个测试你懂的',
'内容ID' => '123',
'内容类型' => '帖子',
'_id' => '123',
'_title' => '这是一个测试你懂的',
'_type' => 'post',
'_author' => 12,
'_visitor' => uniqid(),
'_reflow' => 1
]);
print_r($ret);
echo "\n";
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment