- JxBadCommentsEx changed to JxBadCommentsExt

This commit is contained in:
gazebo
2019-02-21 10:23:12 +08:00
parent 009f38dbd1
commit 3470d9afd8

View File

@@ -45,7 +45,7 @@ type StoresInfo struct {
Stores []*StoreExt `json:"stores"` Stores []*StoreExt `json:"stores"`
} }
type JxBadCommentsEx struct { type JxBadCommentsExt struct {
legacymodel.JxBadComments legacymodel.JxBadComments
StoreName string `json:"storeName"` StoreName string `json:"storeName"`
CityName string `json:"cityName"` CityName string `json:"cityName"`
@@ -648,7 +648,7 @@ func TmpGetJxBadCommentsByStoreId(ctx *jxcontext.Context, storeIDs []int, offset
} }
sql += " LIMIT ? OFFSET ?" sql += " LIMIT ? OFFSET ?"
sqlParams = append(sqlParams, pageSize, offset) sqlParams = append(sqlParams, pageSize, offset)
var commentList []*JxBadCommentsEx var commentList []*JxBadCommentsExt
dao.Begin(db) dao.Begin(db)
defer func() { defer func() {
dao.Rollback(db) dao.Rollback(db)