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
5f017178
Commit
5f017178
authored
Mar 12, 2021
by
Morson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整用户中心Dingxiang服务
parent
9b05be94
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
Dingxiang.php
src/ucenter/Dingxiang.php
+3
-3
PhoneCode.php
src/ucenter/PhoneCode.php
+2
-2
No files found.
src/ucenter/Dingxiang.php
View file @
5f017178
...
...
@@ -22,7 +22,7 @@ class Dingxiang extends Client
*/
public
static
function
registerDun
(
$others
)
{
return
self
::
invoke
(
'/dun/registerDun'
,
func_get_args
(
));
return
self
::
call
(
'dun.registerDun'
,
compact
(
'others'
));
}
/**
...
...
@@ -34,7 +34,7 @@ class Dingxiang extends Client
*/
public
static
function
loginDun
(
$others
)
{
return
self
::
invoke
(
'/dun/loginDun'
,
func_get_args
(
));
return
self
::
call
(
'dun.loginDun'
,
compact
(
'others'
));
}
/**
...
...
@@ -45,6 +45,6 @@ class Dingxiang extends Client
*/
public
static
function
captcha
(
$others
)
{
return
self
::
invoke
(
'/dun/captcha'
,
func_get_args
(
));
return
self
::
call
(
'dun.captcha'
,
compact
(
'others'
));
}
}
\ No newline at end of file
src/ucenter/PhoneCode.php
View file @
5f017178
...
...
@@ -38,7 +38,7 @@ class PhoneCode extends Client
*/
public
static
function
send
(
string
$phone
,
$type
=
''
)
{
return
self
::
invoke
(
'/phoneCode/send'
,
func_get_args
(
));
return
self
::
call
(
'phoneCode.send'
,
compact
(
'phone'
,
'type'
));
}
/**
...
...
@@ -50,7 +50,7 @@ class PhoneCode extends Client
*/
public
static
function
check
(
string
$phone
,
string
$code
)
{
return
self
::
invoke
(
'/phoneCode/check'
,
func_get_args
(
));
return
self
::
call
(
'phoneCode.check'
,
compact
(
'phone'
,
'code'
));
}
}
...
...
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