✨ feat(聊天): 添加ur武将广播
This commit is contained in:
@@ -15,6 +15,7 @@ import { RoleModel, RoleType, RoleUpdate } from "../../db/Role";
|
||||
import { sendMessageToUserWithSuc } from "../pushService";
|
||||
import { checkTaskInCreateHero } from "../task/taskService";
|
||||
import { filterHeroes } from "../dataService";
|
||||
import { pushGetHero } from "../sysChatService";
|
||||
|
||||
/**
|
||||
* 创建多个武将
|
||||
@@ -71,6 +72,7 @@ import { filterHeroes } from "../dataService";
|
||||
for(let hero of heroes) {
|
||||
showHeroes.push(new HeroShowParam(hero));
|
||||
resultHeroes.push(hero);
|
||||
pushGetHero(roleId, roleName, serverId, hero);
|
||||
}
|
||||
|
||||
await SkinModel.insertSkins(roleId, roleName, skins);
|
||||
|
||||
Reference in New Issue
Block a user