mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-11-11 19:03:43 +08:00
Compare commits
2 Commits
v0.5.11-al
...
v0.5.11-al
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e848a3f7fa | ||
|
|
318adf5985 |
@@ -12,11 +12,6 @@ WORKDIR /web/berry
|
|||||||
RUN npm install
|
RUN npm install
|
||||||
RUN DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat VERSION) npm run build
|
RUN DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat VERSION) npm run build
|
||||||
|
|
||||||
WORKDIR /web
|
|
||||||
RUN ls
|
|
||||||
RUN ls ./build
|
|
||||||
RUN ls ./build/default
|
|
||||||
|
|
||||||
FROM golang AS builder2
|
FROM golang AS builder2
|
||||||
|
|
||||||
ENV GO111MODULE=on \
|
ENV GO111MODULE=on \
|
||||||
|
|||||||
@@ -212,7 +212,7 @@ func SearchLogsByDayAndModel(userId, start, end int) (LogStatistics []*LogStatis
|
|||||||
sum(completion_tokens) as completion_tokens
|
sum(completion_tokens) as completion_tokens
|
||||||
FROM logs
|
FROM logs
|
||||||
WHERE type=2
|
WHERE type=2
|
||||||
AND userId= ?
|
AND user_id= ?
|
||||||
AND created_at BETWEEN ? AND ?
|
AND created_at BETWEEN ? AND ?
|
||||||
GROUP BY day, model_name
|
GROUP BY day, model_name
|
||||||
ORDER BY day, model_name
|
ORDER BY day, model_name
|
||||||
|
|||||||
Reference in New Issue
Block a user