123456789101112131415161718192021222324252627282930313233 |
- <?php
- namespace huolib\utils;
- use huolib\status\OrderStatus;
- class RoleUtils {
-
- public static function checkRole($role_data = []) {
- if (empty($role_data)) {
- return OrderStatus::INVALID_PARAMS;
- }
- return OrderStatus::NO_ERROR;
- }
- }
|