验证cookie增加美团配送

This commit is contained in:
苏尹岚
2020-01-17 10:56:39 +08:00
parent f49143cc8e
commit 5488e459f9
2 changed files with 53 additions and 43 deletions

View File

@@ -77,7 +77,10 @@ func GetOperateEvents(db *DaoDB, apiFunction, name string, operateType int, skuI
sql += " AND b.store_id IN (" + GenQuestionMarks(len(storeIDs)) + ")"
sqlParams = append(sqlParams, storeIDs)
}
sql += " LIMIT ? OFFSET ?"
sql += `
ORDER BY a.created_at DESC
LIMIT ? OFFSET ?
`
sqlParams = append(sqlParams, pageSize, offset)
Begin(db)
defer Commit(db)