活动:军团限时付费活动

This commit is contained in:
luying
2022-03-09 10:50:09 +08:00
parent 130e2a16bd
commit dafc77954b
6 changed files with 37 additions and 6 deletions

View File

@@ -92,6 +92,7 @@ export class GuildRemote {
*/
private pushMessage(guildCode: string, path: string, message: any) {
let channel = this.getChannel(guildCode);
console.log('##### channel', guildCode, channel)
if (!!channel) {
channel.pushMessage(path, resResult(STATUS.SUCCESS, message));
}
@@ -453,7 +454,7 @@ export class GuildRemote {
* @param path 推送地址
* @param param 内容
*/
public async pushActivityoGuild(guildCode: string, path: string, param: any) {
public async pushActivityToGuild(guildCode: string, path: string, param: any) {
try {
this.pushMessage(guildCode, path, param);
} catch(e) {