Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
fusionapi
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
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林洽文
fusionapi
Commits
f52ddb4a
Commit
f52ddb4a
authored
May 05, 2023
by
zazaname
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调试
parent
6a318dae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
LoginController.php
app/Http/Controllers/LoginController.php
+0
-1
Jiuzi.php
app/Http/InterfaceClass/SdkImpl/Jiuzi.php
+1
-0
No files found.
app/Http/Controllers/LoginController.php
View file @
f52ddb4a
...
...
@@ -21,7 +21,6 @@ class LoginController extends Controller
*/
public
function
createToken
()
{
dingdingLog
(
$_REQUEST
);
$this
->
checkParam
([
'app_id'
,
'ver_info'
,
'ctype'
]);
$data
=
$this
->
loginService
->
createToken
(
$this
->
requestData
);
return
json
(
$data
);
...
...
app/Http/InterfaceClass/SdkImpl/Jiuzi.php
View file @
f52ddb4a
...
...
@@ -31,6 +31,7 @@ class Jiuzi implements ISdkFactory
];
//请求url,获取返回值
$response
=
Requests
::
post
(
$this
->
login_url
,[],
$postParam
)
->
body
;
dingdingLog
(
$response
);
//$response = '{"message":"ok","statusCode":200,"data":{"partnerid":"own","user_id":34,"openid":"qwewqqwe","age":0}}';
//是否验证成功
$response_arr
=
json_decode
(
$response
,
true
);
...
...
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