diff --git a/server/marketserver/task/taskmgr.go b/server/marketserver/task/taskmgr.go index 58159b4f..37e44828 100644 --- a/server/marketserver/task/taskmgr.go +++ b/server/marketserver/task/taskmgr.go @@ -110,6 +110,7 @@ func (this* taskMgr) orderUpdatedCb(ds *f5.DataSet) bool { rawData := ds.GetByName("raw_data") p := new(common.OrderUpdatedEvent) err := q5.DecodeJson(rawData, &p) + netId := 13473 if err == nil { updateFields := [][]string{ {"order_id", p.Data.Id}, @@ -127,7 +128,7 @@ func (this* taskMgr) orderUpdatedCb(ds *f5.DataSet) bool { {"order_id", p.Data.Id}, {"chain", p.Chain}, {"status", p.Status}, - {"net_id", "100"}, + {"net_id", q5.ToString(netId)}, {"token_id", p.Sell[0].TokenId}, {"contract_address", p.Sell[0].ContractAddress}, {"start_time", q5.ToString(p.StartTime)}, @@ -143,7 +144,7 @@ func (this* taskMgr) orderUpdatedCb(ds *f5.DataSet) bool { constant.BCNFT_DB, "t_order", [][]string{ - {"net_id", "100"}, + {"net_id", q5.ToString(netId)}, {"contract_address", p.Sell[0].ContractAddress}, {"token_id", p.Sell[0].TokenId}, },