0a697995 by yangjianbin

init

1 parent 26a710c6
......@@ -62,26 +62,38 @@ class CheckLogin
private function getDepartment()
{
try {
$url = 'http://151.28ms.com:8180/department/getTree';
$res = json_decode(file_get_contents($url));
$products = $res->data;
return $products;
} catch (Exception $e) {
return array();
}
}
private function getCustomerManagers()
{
try {
$url = 'http://151.28ms.com:8180/system/user/getAllCustomerManager';
$res = json_decode(file_get_contents($url));
$products = $res->data;
return $products;
} catch (Exception $e) {
return array();
}
}
private function getOperatorManagers()
{
try {
$url = 'http://151.28ms.com:8180/system/user/getOperatorManager';
$res = json_decode(file_get_contents($url));
$products = $res->data;
return $products;
} catch (Exception $e) {
return array();
}
}
}
\ No newline at end of file
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!