This commit is contained in:
lwl0608 2024-03-21 20:06:27 +08:00
parent 1cd3e685e3
commit 59d9638bef
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,7 @@ import (
)
func OpCoinOrderList(ctx *gin.Context) {
defer logger.Recover()
req := ctx.MustGet("client_req").(*vasproto.OpCoinOrderListReq)
if req.Limit <= 0 {
req.Limit = 1000
@ -27,6 +28,7 @@ func OpCoinOrderList(ctx *gin.Context) {
}
func OpOrderList(ctx *gin.Context) {
defer logger.Recover()
req := ctx.MustGet("client_req").(*vasproto.OpOrderListReq)
if req.Limit <= 0 {
req.Limit = 1000