This commit is contained in:
CaIon 2023-10-11 21:47:59 +08:00
parent 594a3ca805
commit 87fe0c4efc

View File

@ -71,6 +71,7 @@ func RecordConsumeLog(ctx context.Context, userId int, channelId int, promptToke
ModelName: modelName,
Quota: quota,
Channel: channelId,
TokenId: tokenId,
}
err := DB.Create(log).Error
if err != nil {