Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
hf
9 years ago
Commit
e70fc28939352d3aae800688a471a4f3516d4cf9
1 parent
6bbcb9e1
do test login and register
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
library/LibModels/Wap/Passport/LoginData.php
library/LibModels/Wap/Passport/LoginData.php
View file @
e70fc28
...
...
@@ -31,6 +31,7 @@ class LoginData
$param
[
'area'
]
=
$area
;
$param
[
'profile'
]
=
$profile
;
$param
[
'password'
]
=
$password
;
$param
[
'client_secret'
]
=
Sign
::
getSign
(
$param
);
return
Yohobuy
::
post
(
Yohobuy
::
API_URL
,
$param
);
}
...
...
@@ -46,6 +47,7 @@ class LoginData
$param
=
Yohobuy
::
param
();
$param
[
'method'
]
=
'app.passport.profile'
;
$param
[
'uid'
]
=
$uid
;
$param
[
'client_secret'
]
=
Sign
::
getSign
(
$param
);
return
Yohobuy
::
get
(
Yohobuy
::
API_URL
,
$param
);
}
...
...
Please
register
or
login
to post a comment