日志:添加玩家日志
This commit is contained in:
@@ -62,7 +62,7 @@ export async function addSkin(roleId: string, roleName: string, skinId: number,
|
||||
}
|
||||
|
||||
export async function addBags(roleId: string, roleName: string, datas: { id: number, count: number }[], reason: number) {
|
||||
let items: { id: number, count: number }[] = [];
|
||||
let items: { id: number, count: number, inc: number }[] = [];
|
||||
for(let data of datas) {
|
||||
let item = await addBag(roleId, roleName, data, reason);
|
||||
items.push(item)
|
||||
|
||||
Reference in New Issue
Block a user