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

Function status_info

bootstrap/function.php:84–91  ·  view source on GitHub ↗

用户状态信息

()

Source from the content-addressed store, hash-verified

82
83//用户状态信息
84function status_info()
85{
86 $status_info = config('backer.category_info');
87 array_walk($status_info, function (&$t) {
88 $t = array_diff_key($t, ['cate_name' => 0, 'cate_id' => 0]);
89 });
90 return array_pluck($status_info, 'label', 'status');
91}
92
93//分类下的状态
94function statusBelongToCate($id)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected