feat(活动): 微信公众号口令

This commit is contained in:
luying
2023-04-04 10:11:05 +08:00
parent 94b6dca4cc
commit cecd959c00
22 changed files with 441 additions and 43 deletions

View File

@@ -12,6 +12,7 @@ import { saveActivityMemory } from '../../../services/log/memoryLogService';
import { setApiIsClose } from '../../../services/chatService';
import { setHiddenData } from '../../../services/dataService';
import { setKvToMemory } from '../../../services/pushService';
import { sendPublicAccountGift } from '../../../services/activity/bindPhoneService';
export default function (app: Application) {
new HandlerService(app, {});
@@ -174,4 +175,12 @@ export class ActivityRemote {
errlogger.error(`remote ${__filename} \n ${e.stack}`);
}
}
public async sendPublicAccountGift(message: string) {
try {
await sendPublicAccountGift(message);
} catch(e) {
errlogger.error(`remote ${__filename} \n ${e.stack}`);
}
}
}