Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wxh_internal_api
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
杨培培
wxh_internal_api
Commits
55ac62b3
Commit
55ac62b3
authored
Jul 02, 2019
by
杨培
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
track 异步模拟
parent
eeaf8f45
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
ucenter_track.php
example/ucenter_track.php
+12
-3
No files found.
example/ucenter_track.php
View file @
55ac62b3
...
...
@@ -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
"
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment