From ad4d20682033953847ee4c0d397ba86054908841 Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Mon, 28 Nov 2022 17:26:00 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AD=BE=E5=88=B0=E5=8A=9F=E8=83=BD=E6=8C=89?= =?UTF-8?q?=E7=AD=89=E7=BA=A7=E5=BC=80=E5=90=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/json/game_opencond.json | 17 +++++++++++++++++ modules/user/api_login.go | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) 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)