($type = null)
| 26 | ]; |
| 27 | |
| 28 | static function showStatus($type = null) |
| 29 | { |
| 30 | $map = [ |
| 31 | 1 => '显示', |
| 32 | 2 => '隐藏', |
| 33 | ]; |
| 34 | |
| 35 | if ($type) { |
| 36 | return $map[$type] ?? ''; |
| 37 | } |
| 38 | return $map; |
| 39 | } |
| 40 | |
| 41 | /** |
| 42 | * 获取设置 |
nothing calls this directly
no outgoing calls
no test coverage detected