上传代码

This commit is contained in:
liwei 2023-07-27 18:21:37 +08:00
parent 9b4b54237f
commit 6449aa7fdd
2 changed files with 2 additions and 1 deletions

View File

@ -108,6 +108,7 @@ func (this *apiComp) ChallengeFinish(session comm.IUserSession, req *pb.GuildGve
}, },
Formation: make([]*pb.DBSimpleHero, 0), Formation: make([]*pb.DBSimpleHero, 0),
Time: configure.Now().Unix(), Time: configure.Now().Unix(),
FightTime: req.Report.Costtime,
Rating: score.Id, Rating: score.Id,
Harm: req.Report.Harm, Harm: req.Report.Harm,
} }

View File

@ -56,7 +56,7 @@ func (this *ModelMline) getMainlineData(uid string) (results *pb.DBMainline, err
func (this *ModelMline) updateMainlineData(uid string, data *pb.DBMainline) (err error) { func (this *ModelMline) updateMainlineData(uid string, data *pb.DBMainline) (err error) {
if err = this.Change(uid, map[string]interface{}{ if err = this.Change(uid, map[string]interface{}{
"Level": data.Level, "level": data.Level,
"chapteraward": data.Chapteraward, "chapteraward": data.Chapteraward,
"exploreaward": data.Exploreaward, "exploreaward": data.Exploreaward,
"groupaward": data.Groupaward, "groupaward": data.Groupaward,