提交 dfb37e07 编辑于 作者: yuudi's avatar yuudi
浏览文件

version 3.6.3

上级 e04c1460
{
"stable": {
"version": 3496,
"url": "http://yopan.loli.show/yobot/yobot3496.zip"
"version": 3497,
"url": "http://yopan.loli.show/yobot/yobot3497.zip"
}
}
\ No newline at end of file
......@@ -31,7 +31,7 @@
<el-form-item label="域名" label-width="120">
<el-input v-model="applyName" placeholder="字母、数字" maxlength="16" show-word-limit>
<el-select v-model="domain" slot="append" placeholder="选择后缀" style="width: 150px">
<el-option label=".yobot.xyz" value=".yobot.xyz"></el-option>
<el-option label=".yobot.club" value=".yobot.club"></el-option>
<el-option label=".xcw.best" value=".xcw.best"></el-option>
</el-select>
</el-input>
......@@ -116,13 +116,6 @@
<el-button size="mini" icon="el-icon-remove-outline" @click="setting['white-list-group'].pop()">删除</el-button>
</el-form-item>
<el-form-item label="更新和重启指令需要的权限">
<!-- <el-select v-model.number="setting['setting-restrict']">
<el-option label="仅主人" value="+0"></el-option>
<el-option label="群主以上" value="+1"></el-option>
<el-option label="管理员以上" value="+2"></el-option>
<el-option label="所有人" value="+3"></el-option>
</el-select> -->
<el-radio v-model.number="setting['setting-restrict']" :label="0">仅主人</el-radio>
<el-radio v-model.number="setting['setting-restrict']" :label="1">群主以上</el-radio>
<el-radio v-model.number="setting['setting-restrict']" :label="2">管理员以上</el-radio>
......
......@@ -95,10 +95,10 @@ class WebUtil:
if name is None:
return jsonify(code=400, message='No name specified')
try:
async with aiohttp.request('GET', url='https://api.v3.yobot.xyz/getdomain/?name='+name) as response:
async with aiohttp.request('GET', url='http://api2.yobot.win/getdomain/?name='+name) as response:
if response.status != 200:
raise ServerError(
f'http code {response.status} from api.v3.yobot.xyz')
f'http code {response.status} from api2.yobot.win')
res = await response.json()
except:
return jsonify(code=401, message='Fail: Connect to Server')
......
......@@ -33,8 +33,8 @@ else:
class Yobot:
Version = "[v3.6.3-rc.1]"
Version_id = 196
Version = "[v3.6.3]"
Version_id = 197
# "git rev-list --count HEAD"
def __init__(self, *,
......
Supports Markdown
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册