✨ feat(gvg): 组建期聊天和邮件
This commit is contained in:
@@ -901,8 +901,9 @@ export async function initGVGConfigSchedule() {
|
||||
let config = await GVGConfigModel.findConfig();
|
||||
if(!config) {
|
||||
config = await createNewGVGConfig();
|
||||
} else {
|
||||
setGVGConfigToRemote(config);
|
||||
}
|
||||
setGVGConfigToRemote(config);
|
||||
|
||||
if(nowSeconds() > config.scheduleTime) {
|
||||
config = await createNewGVGConfig();
|
||||
|
||||
Reference in New Issue
Block a user