1
This commit is contained in:
parent
0cffb64cb2
commit
0ae763fa4e
@ -82,6 +82,7 @@ WHERE A.idx > %d AND A.net_id = %d AND A.owner_address=? `,
|
|||||||
} else {
|
} else {
|
||||||
v["on_sale"] = 0
|
v["on_sale"] = 0
|
||||||
}
|
}
|
||||||
|
jsonData = v
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
q5.AppendSlice(&rspObj.Rows, jsonData)
|
q5.AppendSlice(&rspObj.Rows, jsonData)
|
||||||
|
@ -176,7 +176,7 @@ func (this *ShopCartApi) Add(c *gin.Context) {
|
|||||||
err1 = err
|
err1 = err
|
||||||
if err == nil {
|
if err == nil {
|
||||||
if ds.Next() {
|
if ds.Next() {
|
||||||
if ds.GetByName("seller_address") == accountAddress {
|
if ds.GetByName("seller_address") != accountAddress {
|
||||||
cartDb.CurrSortIdx += 1
|
cartDb.CurrSortIdx += 1
|
||||||
g := common.NewShopCartGoods()
|
g := common.NewShopCartGoods()
|
||||||
g.NetId = netId
|
g.NetId = netId
|
||||||
|
Loading…
x
Reference in New Issue
Block a user