http://120.52.40.44:8090/iserver/services/map-plangis/rest/maps/M11/layers.json?
返回code: 401, errorMsg: "need more permission to do current action"
你好,报这个错误是因为没有权限导致的,两种方式可以解决:
方法一:你可以在当前浏览器中用对该服务有权限的用户进行登录。
方法二:通过token进行访问,比如:http://120.52.40.44:8090/iserver/services/map-plangis/rest/maps/M11/layers.json?token=aL3D_imy-ixnTrTlyPYT9eWy_MrT2JcRcpSf5D1_drl2Spv129MPdQVcQhsSbG7tCKB0TE3KZduB69Hi_DY_Ng..