fix
This commit is contained in:
parent
1cd3e685e3
commit
59d9638bef
|
@ -10,6 +10,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func OpCoinOrderList(ctx *gin.Context) {
|
func OpCoinOrderList(ctx *gin.Context) {
|
||||||
|
defer logger.Recover()
|
||||||
req := ctx.MustGet("client_req").(*vasproto.OpCoinOrderListReq)
|
req := ctx.MustGet("client_req").(*vasproto.OpCoinOrderListReq)
|
||||||
if req.Limit <= 0 {
|
if req.Limit <= 0 {
|
||||||
req.Limit = 1000
|
req.Limit = 1000
|
||||||
|
@ -27,6 +28,7 @@ func OpCoinOrderList(ctx *gin.Context) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func OpOrderList(ctx *gin.Context) {
|
func OpOrderList(ctx *gin.Context) {
|
||||||
|
defer logger.Recover()
|
||||||
req := ctx.MustGet("client_req").(*vasproto.OpOrderListReq)
|
req := ctx.MustGet("client_req").(*vasproto.OpOrderListReq)
|
||||||
if req.Limit <= 0 {
|
if req.Limit <= 0 {
|
||||||
req.Limit = 1000
|
req.Limit = 1000
|
||||||
|
|
Loading…
Reference in New Issue