瀏覽代碼

update

master
shenjiachi 1 天之前
父節點
當前提交
4f054ce51d
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      src/implement/user_tag_records_implement.go

+ 2
- 2
src/implement/user_tag_records_implement.go 查看文件

@@ -81,9 +81,9 @@ func (u UserTagRecordsDb) UserTagRecordsExist(uid int64, tagId int) (bool, error
var m model.UserTagRecords
session := u.Db.Where("tag_id = ?", tagId)
if uid != 0 {
session.And("uid=?", uid)
session.And("uid = ?", uid)
}
exist, err := session.Exist(m)
exist, err := session.Exist(&m)
if err != nil {
return false, zhios_order_relate_logx.Error(err)
}


Loading…
取消
儲存