后台:跑马灯
This commit is contained in:
@@ -7,6 +7,7 @@ import { setMarquee, cancelMarquee } from '../../../services/gmService';
|
||||
import { setDicAuctionTime, setDicGuildActivity } from '../../../services/guildActivityService';
|
||||
import { setWeek } from '../../../pubUtils/timeUtil';
|
||||
import { ServerlistType } from '../../../db/Serverlist';
|
||||
import { MarqueeType } from '../../../db/Marquee';
|
||||
|
||||
export default function (app: Application) {
|
||||
return new SystimerRemote(app);
|
||||
@@ -51,8 +52,8 @@ export class SystimerRemote {
|
||||
* @description 设置跑马灯配置
|
||||
* @param code 跑马灯唯一code
|
||||
*/
|
||||
public async setMarquee(code: string) {
|
||||
return await setMarquee(code);
|
||||
public async setMarquee(marquee: MarqueeType) {
|
||||
return await setMarquee(marquee);
|
||||
}
|
||||
|
||||
public async cancelMarquee(code: string) {
|
||||
|
||||
Reference in New Issue
Block a user