1
This commit is contained in:
parent
fdbf6d14bc
commit
c88220b1ad
@ -34,7 +34,7 @@ ORDER BY idx LIMIT 1000
|
|||||||
`,
|
`,
|
||||||
lastIdx,
|
lastIdx,
|
||||||
maxIdx,
|
maxIdx,
|
||||||
jccommon.RECHARGE_ORDER_STATUS_PENDING)
|
jccommon.RECHARGE_STATUS_PENDING)
|
||||||
params := []string{
|
params := []string{
|
||||||
}
|
}
|
||||||
return sql, params
|
return sql, params
|
||||||
@ -59,10 +59,10 @@ func (this *recharge) deliverGoods(ds *f5.DataSet) bool {
|
|||||||
idx := q5.ToInt64(ds.GetByName("idx"))
|
idx := q5.ToInt64(ds.GetByName("idx"))
|
||||||
status := q5.ToInt32(ds.GetByName("stauts"))
|
status := q5.ToInt32(ds.GetByName("stauts"))
|
||||||
if status != 0 {
|
if status != 0 {
|
||||||
result = this.markStatus(idx, jccommon.RECHARGE_ORDER_STATUS_SENT) == nil
|
result = this.markStatus(idx, jccommon.RECHARGE_STATUS_SENT) == nil
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
result = this.markStatus(idx, jccommon.RECHARGE_ORDER_STATUS_SENT) == nil
|
result = this.markStatus(idx, jccommon.RECHARGE_STATUS_SENT) == nil
|
||||||
})
|
})
|
||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
@ -107,6 +107,11 @@ const (
|
|||||||
RECHARGE_ORDER_STATUS_SENT =1
|
RECHARGE_ORDER_STATUS_SENT =1
|
||||||
)
|
)
|
||||||
|
|
||||||
|
const (
|
||||||
|
RECHARGE_STATUS_PENDING = 0
|
||||||
|
RECHARGE_STATUS_SENT =1
|
||||||
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
BC_CURRENCY_NAME_ETHEREUM = "Ethereum"
|
BC_CURRENCY_NAME_ETHEREUM = "Ethereum"
|
||||||
BC_CURRENCY_NAME_USDC = "USDC"
|
BC_CURRENCY_NAME_USDC = "USDC"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user