|
本帖最后由 年轻的老司机 于 2019-3-28 02:51 编辑
问题如下:
[ol][Warning] SSPanelPlugin: json: cannot unmarshal string into Go struct field NodeinfoResponse.data of type model.NodeInfo[/ol]复制代码
同样的json配置,在另一台小鸡上可以正常运行,这台小鸡就不能了,请问一下这是缺少了什么组件么

json example
[ol]{ "api": { "services": [ "HandlerService", "LoggerService", "StatsService" ], "tag": "api" }, "inbounds": [{ "listen": "127.0.0.1", "port": 2333, "protocol": "dokodemo-door", "settings": { "address": "127.0.0.1" }, "tag": "api" } ], "log": { "access": "/var/log/v2ray/access.log", "error": "/var/log/v2ray/error.log", "loglevel": "info" }, "outbounds": [{ "protocol": "freedom", "settings": {} }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" } ], "policy": { "levels": { "0": { "connIdle": 300, "downlinkOnly": 5, "handshake": 4, "statsUserDownlink": true, "statsUserUplink": true, "uplinkOnly": 2 } }, "system": { "statsInboundDownlink": false, "statsInboundUplink": false } }, "reverse": {}, "routing": { "settings": { "rules": [{ "ip": [ "0.0.0.0/8", "10.0.0.0/8", "100.64.0.0/10", "127.0.0.0/8", "169.254.0.0/16", "172.16.0.0/12", "192.0.0.0/24", "192.0.2.0/24", "192.168.0.0/16", "198.18.0.0/15", "198.51.100.0/24", "203.0.113.0/24", "::1/128", "fc00::/7", "fe80::/10" ], "outboundTag": "blocked", "protocol": [ "bittorrent" ], "type": "field" }, { "inboundTag": [ "api" ], "outboundTag": "api", "type": "field" }, { "domain": [ "regexp:(api|ps|sv|offnavi|newvector|ulog\\.imap|newloc)(\\.map|)\\.(baidu|n\\.shifen)\\.com", "regexp:(.+\\.|^)(360|so)\\.(cn|com)", "regexp:(.?)(xunlei|sandai|Thunder|XLLiveUD)(.)" ], "outboundTag": "blocked", "type": "field" } ] }, "strategy": "rules" }, "stats": {}, "sspanel": { "nodeId": 20, "checkRate": 60, "SpeedTestCheckRate": 6, "panelUrl": "xxxx", "panelKey": "xxxx" }}[/ol]复制代码 |
|