企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# Service # 文件夹路径:*D:\wamp\www\xue.test\xuetang\protected\service* *D:\wamp\www\xue.test\xuetang\protected\service\UserService.php* ~~~ /** * 获取用户学校名称 * @param $userID * @return string * @author wuzhc 2017-06-20 */ public function getSchoolNameByUserID($userID) { if (!$userID) { return ''; } $userObj = $this->getSchoolByUserID($userID); return $userObj->school ? htmlspecialchars($userObj->school->fdName) : ''; } ~~~