diff --git a/bin/json/game_opencond.json b/bin/json/game_opencond.json index 0b59bc2ae..28af15278 100644 --- a/bin/json/game_opencond.json +++ b/bin/json/game_opencond.json @@ -644,5 +644,22 @@ "text": "功能暂未开启" }, "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 } ] \ No newline at end of file diff --git a/modules/user/api_login.go b/modules/user/api_login.go index 52fa79c28..f4f8c15c2 100644 --- a/modules/user/api_login.go +++ b/modules/user/api_login.go @@ -144,7 +144,7 @@ func (this *apiComp) Login(session comm.IUserSession, req *pb.UserLoginReq) (cod // 初始化随机任务数据 // this.module.ModuleRtask.InitCondiData(user.Uid) - + //this.Sign(session, &pb.UserSignReq{}) // 日常登录任务 this.module.ModuleRtask.SendToRtask(session, comm.Rtype7, 1)