Jelajahi Sumber

修改平台角色

humingfen 4 tahun lalu
induk
melakukan
9cf708e3d5

+ 1 - 1
svr/svr-iot/src/main/java/com/yihu/iot/service/company/IotCompanyService.java

@ -965,7 +965,7 @@ public class IotCompanyService extends BaseJpaService<IotCompanyDO,IotCompanyDao
        //根据注册类型配置相应角色菜单,注册类型(1:厂商注册  0:平台注册)
        String roleId = "";
        if(companyDO.getAccountType().equals("0")){
            roleId = "paltform";
            roleId = "platform";
        }else if(companyDO.getAccountType().equals("1")){
            roleId = "company";
        }