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
d1f52d7b
Commit
d1f52d7b
authored
Jun 28, 2017
by
pader
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
示例更新
parent
2585769e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
_init.php
example/_init.php
+3
-1
xue_favorite.php
example/xue_favorite.php
+4
-1
No files found.
example/_init.php
View file @
d1f52d7b
...
@@ -7,4 +7,6 @@
...
@@ -7,4 +7,6 @@
*/
*/
require
__DIR__
.
'/../src/autoload.php'
;
require
__DIR__
.
'/../src/autoload.php'
;
\internalApi\base\Client
::
config
(
include
__DIR__
.
'/../src/client_config_dev.php'
);
\internalApi\base\Client
::
config
(
include
__DIR__
.
'/../src/client_config_dev.php'
);
\ No newline at end of file
header
(
'Content-Type: text/html; charset=utf-8'
);
example/xue_favorite.php
View file @
d1f52d7b
...
@@ -15,5 +15,8 @@ Favorite::setDebug(true);
...
@@ -15,5 +15,8 @@ Favorite::setDebug(true);
//$count = Favorite::countUserFavorites(8);
//$count = Favorite::countUserFavorites(8);
//var_dump($count);
//var_dump($count);
$startTime
=
microtime
(
true
);
$count
=
\internalApi\xue\Comment
::
getLikeMsgCount
(
8
);
$count
=
\internalApi\xue\Comment
::
getLikeMsgCount
(
8
);
var_dump
(
$count
);
$endTime
=
microtime
(
true
);
\ No newline at end of file
var_dump
(
$count
);
echo
$endTime
-
$startTime
;
\ No newline at end of file
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