mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-30 10:28:42 +00:00
ui
This commit is contained in:
@@ -45,7 +45,7 @@ const BillSchema = new Schema({
|
||||
try {
|
||||
BillSchema.index({ userId: 1 });
|
||||
// BillSchema.index({ time: -1 });
|
||||
// BillSchema.index({ time: 1 }, { expireAfterSeconds: 90 * 24 * 60 });
|
||||
BillSchema.index({ time: 1 }, { expireAfterSeconds: 90 * 24 * 60 });
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
}
|
||||
|
Reference in New Issue
Block a user