1、暂存
This commit is contained in:
@ -6,6 +6,7 @@ import (
|
||||
"go-admin/common/global"
|
||||
"go-admin/common/helper"
|
||||
"go-admin/models"
|
||||
"go-admin/models/positiondto"
|
||||
"go-admin/services/cacheservice"
|
||||
"testing"
|
||||
|
||||
@ -29,7 +30,7 @@ func TestSpotJudge(t *testing.T) {
|
||||
|
||||
key := fmt.Sprintf(rediskey.SpotReduceList, global.EXCHANGE_BINANCE)
|
||||
item := `{"id":66,"apiId":49,"mainId":63,"pid":63,"symbol":"ADAUSDT","price":"0.5912","side":"SELL","num":"12.6","orderSn":"397919643961917440"}`
|
||||
reduceOrder := ReduceListItem{}
|
||||
reduceOrder := positiondto.ReduceListItem{}
|
||||
spotApi := SpotRestApi{}
|
||||
setting, err := cacheservice.GetSystemSetting(db)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user