用户类型
($type = null)
| 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() |
nothing calls this directly
no outgoing calls
no test coverage detected