Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5c6a535

Browse files
committed
可能的bug
1 parent 5ced143 commit 5c6a535

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/logic/mission.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ func (self MissionLogic) RedeemLoginAward(ctx context.Context, me *model.Me) err
109109
userLoginMission.Date = today
110110
userLoginMission.TotalDays++
111111

112-
_, err := session.Update(userLoginMission)
112+
_, err := session.Where("uid=?", userLoginMission.Uid).Update(userLoginMission)
113113
if err != nil {
114114
session.Rollback()
115115
objLog.Errorln("update user_login_mission error:", err)

src/vendor/manifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@
293293
{
294294
"importpath": "github.com/polaris1119/nosql",
295295
"repository": "https://github.com/polaris1119/nosql",
296-
"revision": "e7f9f23ddcb139ce9e10fae8196db1a624a61b36",
296+
"revision": "182e26aeeef42c383b9eb2d809f07c7f723cb403",
297297
"branch": "master"
298298
},
299299
{

0 commit comments

Comments
 (0)