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

Method userStatus

app/Models/ChiHe/User.php:35–42  ·  view source on GitHub ↗
($type = null)

Source from the content-addressed store, hash-verified

33 ];
34
35 static function userStatus($type = null)
36 {
37 $status = [
38 1 => '冻结',
39 2 => '正常',
40 ];
41 return $status[$type] ?? $status;
42 }
43 //用户类型
44 static function userType($type = null)
45 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected