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