创建工会也算完成加入工会任务

This commit is contained in:
meixiongfeng 2023-10-12 15:25:40 +08:00
parent a747332c71
commit 56ad5f6ba5

View File

@ -218,7 +218,8 @@ func (this *apiComp) Create(session comm.IUserSession, req *pb.SociatyCreateReq)
log.Field{Key: "err", Value: err.Error()}, log.Field{Key: "err", Value: err.Error()},
) )
} }
// 创建成功也算完成该任务
tasks = append(tasks, comm.GetBuriedParam(comm.Rtype109, 1))
//扣除钻石 //扣除钻石
this.module.ConsumeRes(session, []*cfg.Gameatn{this.module.globalConf.GuildBuildCos}, true) this.module.ConsumeRes(session, []*cfg.Gameatn{this.module.globalConf.GuildBuildCos}, true)