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

Function cate_info

bootstrap/function.php:74–81  ·  view source on GitHub ↗

用户分类信息

()

Source from the content-addressed store, hash-verified

72
73//用户分类信息
74function cate_info()
75{
76 $cate_info = config('backer.category_info');
77 array_walk($cate_info, function (&$t) {
78 $t = array_diff_key($t, ['status' => 0, 'label' => 0]);
79 });
80 return array_pluck($cate_info, 'cate_name', 'cate_id');
81}
82
83//用户状态信息
84function status_info()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected