mirror of
https://github.com/woodchen-ink/openai-billing-query.git
synced 2025-07-19 06:21:59 +08:00
update
This commit is contained in:
parent
918213a64e
commit
e3abc00e1b
@ -52,8 +52,8 @@
|
||||
<div class="left-drawer-main">
|
||||
<h3>输入 API KEY</h3>
|
||||
<p>本站不保存 KEY 信息,查询后请自行保存</p>
|
||||
<mdui-text-field id="api-key-input" placeholder="请输入 API-KEY或sessID,多个可直接粘贴" rows="8"
|
||||
label="API-KEY或sessID"></mdui-text-field>
|
||||
<mdui-text-field id="api-key-input" placeholder="请输入 API-KEY或sessID,多个可直接粘贴"
|
||||
label="API-KEY或sessID" rows="6"></mdui-text-field>
|
||||
|
||||
<mdui-select id="api-url-select" icon="airline_stops" label="查询线路" value="https://api.openai.com"
|
||||
onchange="toggleCustomUrlInput()">
|
||||
|
@ -13,11 +13,13 @@ mdui-button {
|
||||
.left-drawer-main{
|
||||
padding:20px 10px 0 10px;
|
||||
/* background-color: rgba(var(--mdui-color-primary), 0.1); */
|
||||
height:calc(100vh - 84px);
|
||||
/* height:calc(100vh - 84px); */
|
||||
}
|
||||
.mdui-main-container{
|
||||
width:96%;
|
||||
padding:20px auto 0 auto;
|
||||
width:92%;
|
||||
/* padding:20px auto 0 auto; */
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
html,
|
||||
body {
|
||||
|
@ -360,7 +360,11 @@ function sendRequest() {
|
||||
let apiKey = apiKeys[i].trim();
|
||||
|
||||
if (queriedApiKeys.includes(apiKey)) {
|
||||
console.log(`API KEY ${apiKey} 已查询过,跳过此次查询`);
|
||||
mdui.alert({
|
||||
headline: "重复提示",
|
||||
description: `API KEY ${apiKey} 已查询过,跳过此次查询`,
|
||||
confirmText: "OK"
|
||||
})
|
||||
continue;
|
||||
}
|
||||
queriedApiKeys.push(apiKey);
|
||||
|
Loading…
x
Reference in New Issue
Block a user