|
@@ -3,8 +3,8 @@ import { InjectEntityModel } from '@midwayjs/typegoose';
|
|
|
import { ReturnModelType } from '@typegoose/typegoose';
|
|
|
import { BaseService } from 'free-midway-component';
|
|
|
import { Match } from '../../entity/platform/match.entity';
|
|
|
-import { Collection } from 'mongoose';
|
|
|
import { get } from 'lodash';
|
|
|
+import { Collection } from '../../entity/platform/collection.entity';
|
|
|
type modelType = ReturnModelType<typeof Match>;
|
|
|
@Provide()
|
|
|
export class MatchService extends BaseService<modelType> {
|