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
76788e94
Commit
76788e94
authored
Jun 29, 2017
by
蒋林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bbs
parent
907869c5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
2 deletions
+33
-2
.gitignore
.gitignore
+1
-0
Thread.php
src/bbs/Thread.php
+20
-0
client_config_dev.php
src/client_config_dev.php
+6
-1
client_config_test.php
src/client_config_test.php
+6
-1
No files found.
.gitignore
0 → 100644
View file @
76788e94
.idea
src/bbs/Thread.php
0 → 100644
View file @
76788e94
<?php
/**
* Created by PhpStorm.
* User: LinJiangL
* Date: 17/6/28
* Time: 下午5:43
*/
namespace
internalApi\bbs
;
use
internalApi\base\Client
;
class
Thread
extends
Client
{
public
static
function
getHotThreads
(
$num
=
1
)
{
return
self
::
call
(
'thread.getHotThreads'
,
compact
(
'num'
));
}
}
\ No newline at end of file
src/client_config_dev.php
View file @
76788e94
...
@@ -21,5 +21,10 @@ return [
...
@@ -21,5 +21,10 @@ return [
'apiUrl'
=>
'http://dev.wxherr.com/site/api-server'
,
'apiUrl'
=>
'http://dev.wxherr.com/site/api-server'
,
'clientId'
=>
'common'
,
'clientId'
=>
'common'
,
'clientSecret'
=>
'1BO1WQwnpjc2GfjzrOuq'
'clientSecret'
=>
'1BO1WQwnpjc2GfjzrOuq'
]
],
'bbs'
=>
[
'apiUrl'
=>
'http://bbs.yunya.com/api/server.php'
,
'clientId'
=>
'common'
,
'clientSecret'
=>
'U2FsdGVkX19ZiutUoO6F'
],
];
];
\ No newline at end of file
src/client_config_test.php
View file @
76788e94
...
@@ -21,5 +21,10 @@ return [
...
@@ -21,5 +21,10 @@ return [
'apiUrl'
=>
'http://testserv.pp.cc/wxherr/site/api-server'
,
'apiUrl'
=>
'http://testserv.pp.cc/wxherr/site/api-server'
,
'clientId'
=>
'common'
,
'clientId'
=>
'common'
,
'clientSecret'
=>
'VBz7nU9qIeKUCjY89poG'
'clientSecret'
=>
'VBz7nU9qIeKUCjY89poG'
]
],
'bbs'
=>
[
'apiUrl'
=>
'http://bbs.test.yunyamooc.com/api/server.php'
,
'clientId'
=>
'common'
,
'clientSecret'
=>
'AJmfi4ORZURS0JwSkdiq3r'
],
];
];
\ 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