This commit is contained in:
邹宗楠
2022-11-14 18:36:39 +08:00
parent 0c90137616
commit 951fcb9870

View File

@@ -4438,7 +4438,8 @@ func RefreshTiktokShopToken(ctx *jxcontext.Context) (err error) {
token, _ := json.Marshal(result)
v.Token = string(token)
v.UpdatedAt = time.Now()
dao.UpdateEntity(db, v, "Token", "UpdatedAt")
v.Comment = utils.Time2Str(time.Now())[0:11] + ":" + v.Token[0:230]
dao.UpdateEntity(db, v, "Token", "UpdatedAt", "Comment")
}
}
}