From d253ece803d742b70bd7513dcb625535c4fa0f96 Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Thu, 15 Jun 2023 22:28:13 +0800 Subject: [PATCH] =?UTF-8?q?gm=20=E8=B7=B3=E8=BD=AC=E8=AE=BE=E7=BD=AEstagei?= =?UTF-8?q?d?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/mline/module.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/mline/module.go b/modules/mline/module.go index 3fb8112fc..0a441ead0 100644 --- a/modules/mline/module.go +++ b/modules/mline/module.go @@ -123,7 +123,7 @@ func (this *Mline) ModifyMlineDataByNanduID(session comm.IUserSession, id int32) } for _, v := range _data { if v <= id { - newData.Star[v] = 3 + newData.Star[v] = 7 } } this.modelMline.addNewChapter(session.GetUserId(), newData) @@ -134,7 +134,7 @@ func (this *Mline) ModifyMlineDataByNanduID(session comm.IUserSession, id int32) Uid: session.GetUserId(), CType: connf.Episodetype, ChapterId: connf.Chapterid, - StageId: id, + StageId: 0, Star: map[int32]int32{}, Award: map[int32]bool{}, Ps: map[int32]int32{}, @@ -142,7 +142,8 @@ func (this *Mline) ModifyMlineDataByNanduID(session comm.IUserSession, id int32) _data := this.configure.GetAllStageByChapterID(v) for _, v := range _data { if v <= id { - newData.Star[v] = 3 + newData.Star[v] = 7 + newData.StageId = v } } this.modelMline.addNewChapter(session.GetUserId(), newData)