后台:更新开服邮件
This commit is contained in:
@@ -80,9 +80,8 @@ export default class GameController extends Controller {
|
||||
|
||||
public async getnotice() {
|
||||
const { ctx } = this;
|
||||
let { serverType } = ctx.request.body;
|
||||
|
||||
let notice = await NoticeModel.getAllNotice(serverType);
|
||||
let notice = await NoticeModel.getAllNotice();
|
||||
let result = notice.map(cur => {
|
||||
let { id, title, tag, type, content, time } = cur;
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user