MCPcopy Create free account
hub / github.com/CoderOpen/waimai / showStatus

Method showStatus

app/Models/ChiHe/Project.php:28–39  ·  view source on GitHub ↗
($type = null)

Source from the content-addressed store, hash-verified

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 * 获取设置

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected