💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
## 生成URL地址 web端超管后台 >示例:/web/index.php?c=site&a=entry&do=web&m=jsu_php&s=index/index ``` urls('index/index'); ``` web端后台 >示例:/web/index.php?c=site&a=entry&do=addons&m=jsu_php&s=addons/web/index/index ``` addon_url('web/index/index'); ``` mobile端超管后台 >示例:/app/index.php?i=1&c=entry&do=mobile&m=jsu_php&s=addons/mobile/index/index ``` addon_url('web/index/index',[],'mobile'); ``` ## xml转array ``` xmlToArray($xml); ``` ## curl请求 >get请求 ``` curl($url); ``` >post请求 ``` curl($url,$data); ``` >post json请求 ``` curl($url,$data,'json'); ``` ## 检测web端是否已登陆 ``` checklogin(); ``` ## 检测mobile端是否已登陆 ``` checkauth(); ```