Compare commits

...

2 Commits

Author SHA1 Message Date
JustSong
e848a3f7fa fix: fix error loading stats (#912) 2024-01-07 17:10:59 +08:00
JustSong
318adf5985 chore: remove useless lines 2024-01-07 16:28:44 +08:00
2 changed files with 1 additions and 6 deletions

View File

@@ -12,11 +12,6 @@ WORKDIR /web/berry
RUN npm install
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
ENV GO111MODULE=on \

View File

@@ -212,7 +212,7 @@ func SearchLogsByDayAndModel(userId, start, end int) (LogStatistics []*LogStatis
sum(completion_tokens) as completion_tokens
FROM logs
WHERE type=2
AND userId= ?
AND user_id= ?
AND created_at BETWEEN ? AND ?
GROUP BY day, model_name
ORDER BY day, model_name