chudong
发表于 2021-8-9 10:48:33
lzj500 发表于 2021-1-25 16:00
我想知道终端那里是通过什么方式通讯的?它不是通过HTTP协议通讯的。也不像是通过websocket通讯的。在调试 ...
面板终端是websocket通讯的,这里API接口参数可以参考,GET方式传入,直接在URL里面传入
墨冷
发表于 2021-8-17 12:01:41
ssl 没得配置:(
一蜘蛛的天下
发表于 2021-8-17 16:30:50
Dump
string(668) ""Traceback (most recent call last):\nFile \"class/flask_sockets.py\", line 30, in __call__\n handler, values = adapter.match()\nFile \"/www/server/panel/pyenv/lib/python3.7/site-packages/werkzeug/routing.py\", line 1945, in match\n raise NotFound()\nwerkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\nFile \"class/data.py\", line 185, in getData\n table = get.table\nAttributeError: 'dict_obj' object has no attribute 'table'\n""
一蜘蛛的天下
发表于 2021-8-17 16:32:41
一蜘蛛的天下 发表于 2021-8-17 16:30
Dump
string(668) ""Traceback (most recent call last):\nFile \"class/flask_sockets.py\", line 30,...
如何解决?:lol
一蜘蛛的天下
发表于 2021-8-17 17:31:05
一蜘蛛的天下 发表于 2021-8-17 16:30
Dump
string(668) ""Traceback (most recent call last):\nFile \"class/flask_sockets.py\", line 30,...
你好,table如何增加?官方pdf没有这个参数呢
$数据数组 = array("webname"=>"{\"domain\":\"adds.irop.cn\",\"domainlist\":[],\"count\":0}",
"path"=>"/www/wwwroot/adds.irop.cn",
"type_id"=>"0",
"type"=>"PHP",
"version"=>"56",
"port"=>"80",
"ps"=>"备注",
"ftp"=>"true",
"ftp_username"=>"add_irop_cns",
"ftp_password"=>"add_irop_cns",
"sql"=>"MySQL",
"datauser"=>"add_irop_cn",
"codeing"=>"utf8",
"datapassword"=>"add_irop_cn"
);
198.16.135:8888/site?action=AddSite
一蜘蛛的天下
发表于 2021-8-17 17:35:14
一蜘蛛的天下 发表于 2021-8-17 16:30
Dump
string(668) ""Traceback (most recent call last):\nFile \"class/flask_sockets.py\", line 30,...
string(149) "{"where": "", "page": "
1共0条
", "data": "error: near \"order\": syntax error"}"
一蜘蛛的天下
发表于 2021-8-17 17:43:52
string(753) ""Traceback (most recent call last):\n File \"class/flask_sockets.py\", line 30, in __call__\n handler, values = adapter.match()\n File \"/www/server/panel/pyenv/lib/python3.7/site-packages/werkzeug/routing.py\", line 1945, in match\n raise NotFound()\nwerkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"class/data.py\", line 199, in getData\n data['data']['backup_count'] = SQL.table('backup').where(\"pid=? AND type=?\",(data['data']['id'],type)).count()\nTypeError: string indices must be integers\n""
一蜘蛛的天下
发表于 2021-8-17 17:49:23
一蜘蛛的天下 发表于 2021-8-17 17:31
你好,table如何增加?官方pdf没有这个参数呢
增加到了数据数组,但是返回的是站点列表?
一蜘蛛的天下
发表于 2021-8-17 17:53:39
我的错我的错,函数传值了,结果刚才查了下,居然发现,我没有使用传值变量而是测试时$this->IP."/?getdata="
朝阳WEB
发表于 2021-10-6 16:34:09
有没有一起开发的,我写到了更改文件内容了,2655906529
浙江嘉广科技
发表于 2021-12-24 23:57:18
本帖最后由 浙江嘉广科技 于 2021-12-25 12:40 编辑
自己写了个调用官方api的python库,供大家参考,https://github.com/adamzhang1987/bt-python-sdk
宝塔用户_tzpkfe
发表于 2022-2-11 09:56:43
接口返回null 会是什么原因,调用A宝塔可以获取数据,B宝塔返回null
宝塔用户_oimogi
发表于 2022-2-25 11:20:32
子凡 发表于 2018-12-16 00:24
看来有望卖虚拟主机了
C#开发宝典- 宝塔API接口-C#版-我们来贡献一个http://blogs.51diysoft.com/DevDic/Detail?id=2202251017491394
宝塔用户_oimogi
发表于 2022-2-25 11:21:04
C#开发宝典- 宝塔API接口-C#版-我们来贡献一个http://blogs.51diysoft.com/DevDic/Detail?id=2202251017491394
欢迎整理进去。
宝塔用户_oimogi
发表于 2022-2-28 13:34:16
镖客若水 发表于 2019-9-10 16:57
windows什么时候能提供啊
C#开发宝典- 宝塔API接口-C#版-我们来贡献一个http://blogs.51diysoft.com/DevDic/Detail?id=2202251017491394
欢迎整理进去。
页:
1
2
3
4
5
6
[7]
8
9
10
11
12