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

Method userType

app/Models/ChiHe/User.php:44–52  ·  view source on GitHub ↗

用户类型

($type = null)

Source from the content-addressed store, hash-verified

42 }
43 //用户类型
44 static function userType($type = null)
45 {
46 $userTypes = [
47 0 => '使用会员',
48 1 => '高级会员',
49 2 => '终生会员',
50 ];
51 return $userTypes[$type] ?? $userTypes;
52 }
53 const UPDATED_AT = null;
54
55 public function getJWTIdentifier()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected