- JxBadCommentsEx changed to JxBadCommentsExt
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user