Commit ddfbf150 by mushishixian

debug

parent 713f4a85
Showing with 1 additions and 0 deletions
...@@ -116,6 +116,7 @@ func main() { ...@@ -116,6 +116,7 @@ func main() {
data["type"] = 2 data["type"] = 2
if count > 0 { if count > 0 {
_, err = specialDb.Reset().Table("lie_activity_statistics").Where("activity_id", activity.Id).Data(data).Update() _, err = specialDb.Reset().Table("lie_activity_statistics").Where("activity_id", activity.Id).Data(data).Update()
fmt.Println(specialDb.LastSql())
if err != nil { if err != nil {
logger.Error(err.Error()) logger.Error(err.Error())
fmt.Println(err.Error()) fmt.Println(err.Error())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment