|
@@ -10,6 +10,7 @@ import com.zanxiang.erp.base.ErpServer;
|
|
|
import com.zanxiang.erp.base.rpc.ISysUserRpc;
|
|
|
import com.zanxiang.erp.security.util.SecurityUtil;
|
|
|
import com.zanxiang.game.module.base.pojo.enums.DeleteEnum;
|
|
|
+import com.zanxiang.game.module.base.pojo.enums.GameAuthEnum;
|
|
|
import com.zanxiang.game.module.manage.pojo.params.GameAuthRoleAddParam;
|
|
|
import com.zanxiang.game.module.manage.pojo.params.GameAuthRoleListParam;
|
|
|
import com.zanxiang.game.module.manage.pojo.params.GameAuthRoleUpdateParam;
|
|
@@ -114,6 +115,7 @@ public class GameAuthRoleServiceImpl extends ServiceImpl<GameAuthRoleMapper, Gam
|
|
|
GameAuthRoleVO gameAuthRoleVO = BeanUtil.copy(gameAuthRole, GameAuthRoleVO.class);
|
|
|
Map<Long, String> userMap = sysUserRpc.getUserNameByIds(Collections.singletonList(gameAuthRoleVO.getUserId())).getData();
|
|
|
gameAuthRoleVO.setUserName(userMap.get(gameAuthRoleVO.getUserId()));
|
|
|
+ gameAuthRoleVO.setAuthType(GameAuthEnum.getByValue(gameAuthRole.getAuthType()));
|
|
|
return gameAuthRoleVO;
|
|
|
}
|
|
|
|