1
This commit is contained in:
parent
d3653b8f29
commit
e3c3eb4238
@ -50,6 +50,7 @@ func (this *recharge) deliverGoods(ds *f5.DataSet) bool {
|
|||||||
diamond := q5.ToInt64(ds.GetByName("diamond"))
|
diamond := q5.ToInt64(ds.GetByName("diamond"))
|
||||||
returnContribution := q5.ToFloat64(ds.GetByName("return_contribution"))
|
returnContribution := q5.ToFloat64(ds.GetByName("return_contribution"))
|
||||||
netId := q5.ToInt32(ds.GetByName("net_id"))
|
netId := q5.ToInt32(ds.GetByName("net_id"))
|
||||||
|
payTime := q5.ToInt32(ds.GetByName("pay_time"))
|
||||||
email := ds.GetByName("lower_case_email")
|
email := ds.GetByName("lower_case_email")
|
||||||
accountId := ""
|
accountId := ""
|
||||||
userIdentity := ""
|
userIdentity := ""
|
||||||
@ -70,7 +71,7 @@ func (this *recharge) deliverGoods(ds *f5.DataSet) bool {
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
if returnContribution > 0.0 {
|
if returnContribution > 0.0 {
|
||||||
if this.returnContribution(netId, shortOrderId, userIdentity, returnContribution) != nil {
|
if this.returnContribution(netId, shortOrderId, userIdentity, returnContribution, payTime) != nil {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -98,6 +99,6 @@ func (this *recharge) markOk(idx int64, deliveryAccountId string) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (this *recharge) returnContribution(netId int32, shortOrderId int64,
|
func (this *recharge) returnContribution(netId int32, shortOrderId int64,
|
||||||
userIdentity string, contribution float64) error {
|
userIdentity string, contribution float64, payTime int32) error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user