Skip to content
This repository has been archived by the owner on Jan 10, 2019. It is now read-only.

Release V2.3.3

Compare
Choose a tag to compare
@chekun chekun released this 14 Nov 10:15
· 4 commits to master since this release

现在使用setting函数的操作可以更舒心啦。

比如

$setting['cities'] = [
    'nanjing'  => [
         'name' => '南京',
         'districts' => ['玄武区', '鼓楼区']
    ]  
];

那么获取"南京",只需要

echo setting('cities.nanjing.name');