Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨建斌
/
page
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
1
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
26a710c6
authored
2018-03-21 21:48:13 +0800
by
yangjianbin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
5c81f949
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
application/hooks/CheckLogin.php
application/hooks/CheckLogin.php
View file @
26a710c
...
...
@@ -62,7 +62,7 @@ class CheckLogin
private
function
getDepartment
()
{
$url
=
'http://151.28ms.com:8
088
/department/getTree'
;
$url
=
'http://151.28ms.com:8
180
/department/getTree'
;
$res
=
json_decode
(
file_get_contents
(
$url
));
$products
=
$res
->
data
;
return
$products
;
...
...
@@ -70,7 +70,7 @@ class CheckLogin
private
function
getCustomerManagers
()
{
$url
=
'http://151.28ms.com:8
088
/system/user/getAllCustomerManager'
;
$url
=
'http://151.28ms.com:8
180
/system/user/getAllCustomerManager'
;
$res
=
json_decode
(
file_get_contents
(
$url
));
$products
=
$res
->
data
;
return
$products
;
...
...
@@ -78,7 +78,7 @@ class CheckLogin
private
function
getOperatorManagers
()
{
$url
=
'http://151.28ms.com:8
088
/system/user/getOperatorManager'
;
$url
=
'http://151.28ms.com:8
180
/system/user/getOperatorManager'
;
$res
=
json_decode
(
file_get_contents
(
$url
));
$products
=
$res
->
data
;
return
$products
;
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment