军团:修改个人功勋→个人活跃
This commit is contained in:
@@ -4,7 +4,7 @@ import { getRedis } from "./redisService";
|
||||
import { pinus } from "pinus";
|
||||
import { gameData } from "../pubUtils/data";
|
||||
|
||||
export async function sendMail(operate: number, toRoleId: string, sendName: string, params: string[], goods: RewardInter[] = []) {
|
||||
export async function sendMail(operate: number, toRoleId: string, sendName: string = '系统', params: string[] = [], goods: RewardInter[] = []) {
|
||||
let content = getContent( operate, params);
|
||||
let mail = await MailModel.addMail({roleId: toRoleId, goods, sendName, mailId: 1, content});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user