first commit
本项目是抖音云配置中心的SDK插件,用以访问抖音云配置中心。
php ./configStart.php &
require('/opt/application/dycConfigCenter/DycConfig.php');
$key = "key1"; $config = new DycConfig(); $value = $config->getStringValue($key, "default");
$config = new DycConfig(); $config->refreshConfig();
douyincloud-configcenter-sdk
本项目是抖音云配置中心的SDK插件,用以访问抖音云配置中心。
安装
使用
根据key获取单个配置从云端获取配置刷新本地缓存使用注意事项