签到功能按等级开启

This commit is contained in:
meixiongfeng 2022-11-28 17:26:00 +08:00
parent 1ea1d5fed1
commit ad4d206820
2 changed files with 18 additions and 1 deletions

View File

@ -644,5 +644,22 @@
"text": "功能暂未开启" "text": "功能暂未开启"
}, },
"uiid": 0 "uiid": 0
},
{
"id": "sign",
"name": {
"key": "num_2028",
"text": "签到"
},
"main": 5,
"optional": "",
"wkqbx": 2,
"kqbx": 0,
"img": "zc_icon_01",
"prompt": {
"key": "opencond_prompt_sign",
"text": "功能暂未开启"
},
"uiid": 0
} }
] ]

View File

@ -144,7 +144,7 @@ func (this *apiComp) Login(session comm.IUserSession, req *pb.UserLoginReq) (cod
// 初始化随机任务数据 // 初始化随机任务数据
// this.module.ModuleRtask.InitCondiData(user.Uid) // this.module.ModuleRtask.InitCondiData(user.Uid)
//this.Sign(session, &pb.UserSignReq{})
// 日常登录任务 // 日常登录任务
this.module.ModuleRtask.SendToRtask(session, comm.Rtype7, 1) this.module.ModuleRtask.SendToRtask(session, comm.Rtype7, 1)