💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
## 获取插件配置参数 ### 函数原型 array get_addon_settings($addon = '', $mpid = '') ### 函数概览 ~~~ /** * 获取插件配置信息 * @author 艾逗笔<765532665@qq.com> */ function get_addon_settings($addon = '', $mpid = '') { if ($addon == '') { $addon = get_addon(); } if ($mpid == '') { $mpid = get_mpid(); } if (!$addon || !$mpid) { return false; } $addon_settings = D('AddonSetting')->get_addon_settings($addon, $mpid); if (!$addon_settings) { return false; } return $addon_settings; } ~~~