新武将:activityId参数
This commit is contained in:
@@ -107,7 +107,7 @@ export default class UserGacha extends BaseModel {
|
||||
return rec;
|
||||
}
|
||||
|
||||
public static async findByRole(roleId: string, gachaId: number, activityId: number = 0) {
|
||||
public static async findByRole(roleId: string, gachaId: number, activityId: number) {
|
||||
const doc = new UserGachaModel();
|
||||
const update = Object.assign(doc.toJSON(), { roleId, gachaId, activityId });
|
||||
delete update._id;
|
||||
|
||||
Reference in New Issue
Block a user