zhongrj
2024-03-07 7b17b9937da0971878998f4cd432e3b2c682ff27
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package org.springblade.common.utils;
 
import java.util.UUID;
 
public class RoleUtil {
 
 
    /**
     * 判断是否物业人员
     *
     * @return
     */
    public static boolean isProperty(String userRole) {
        if (userRole.contains("wygly") || userRole.contains("wyxmjl") || userRole.contains("wyfwry")) {
            return true;
        }
        return false;
    }
}