上传代码
This commit is contained in:
parent
9b4b54237f
commit
6449aa7fdd
@ -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,
|
||||||
}
|
}
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user