因为有其他onedot客户端,所以不希望ovo托管gocq进程。
看了一眼前进手册
但是其中的内容好像过时了,至少不存在basic.json文件。

  • hiruenagiqw223DYamatolacimocxiaaojiu 来过。
  • 简单摸索后可以了使用了。
    对于 gocq 需要如下配置:

      - http:
          disabled: false
          host: 127.0.0.1
          port: 12345
          timeout: 60
          middlewares:
            <<: *default
          post:
           - url: 'http://127.0.0.1:55001/OlivOSMsgApi/qq/onebot/gocqhttp'

    与之对应的,在 .\conf\account.json 内应该有

            {
                "id": qq号,
                "password": "",
                "sdk_type": "onebot",
                "platform_type": "qq",
                "model_type": "default",
                "server": {
                    "auto": false,
                    "type": "post",
                    "host": "http://127.0.0.1",
                    "port": 12345,
                    "access_token": "token"
                },
                "debug": false
            }

简单摸索后可以了使用了。
对于 gocq 需要如下配置:

  - http:
      disabled: false
      host: 127.0.0.1
      port: 12345
      timeout: 60
      middlewares:
        <<: *default
      post:
       - url: 'http://127.0.0.1:55001/OlivOSMsgApi/qq/onebot/gocqhttp'

与之对应的,在 .\conf\account.json 内应该有

        {
            "id": qq号,
            "password": "",
            "sdk_type": "onebot",
            "platform_type": "qq",
            "model_type": "default",
            "server": {
                "auto": false,
                "type": "post",
                "host": "http://127.0.0.1",
                "port": 12345,
                "access_token": "token"
            },
            "debug": false
        }

    DrakOr 后续会支持ws模式
    除此之外,basic.json文件可以可以修改OlivOS侧的http监听端口,它可以在github仓库中找到,我会在后续将其的使用指南放进手册。

    说点什么吧...