1
This commit is contained in:
parent
10621db90a
commit
fc0f132e15
@ -170,6 +170,7 @@ func (this *stackingCec) apply(idx int64, eventName string,
|
|||||||
if !ok {
|
if !ok {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
var growthValueInt64 = bnNewGrowthValue.Int64()
|
||||||
bnNewAmount.Add(bnNewAmount, bnAmount)
|
bnNewAmount.Add(bnNewAmount, bnAmount)
|
||||||
{
|
{
|
||||||
nowTime := f5.GetApp().GetRealSeconds()
|
nowTime := f5.GetApp().GetRealSeconds()
|
||||||
@ -182,8 +183,10 @@ func (this *stackingCec) apply(idx int64, eventName string,
|
|||||||
},
|
},
|
||||||
[][]string{
|
[][]string{
|
||||||
{"amount", bnNewAmount.String()},
|
{"amount", bnNewAmount.String()},
|
||||||
{"modifytime", q5.ToString(nowTime)},
|
{"growth_value", bnNewGrowthValue.String()},
|
||||||
|
{"growth_value_int64", q5.ToString(growthValueInt64)},
|
||||||
{"last_apply_record_idx", q5.ToString(idx)},
|
{"last_apply_record_idx", q5.ToString(idx)},
|
||||||
|
{"modifytime", q5.ToString(nowTime)},
|
||||||
},
|
},
|
||||||
[][]string{
|
[][]string{
|
||||||
{"account_address", strings.ToLower(p.Account)},
|
{"account_address", strings.ToLower(p.Account)},
|
||||||
@ -191,7 +194,7 @@ func (this *stackingCec) apply(idx int64, eventName string,
|
|||||||
{"amount", bnNewAmount.String()},
|
{"amount", bnNewAmount.String()},
|
||||||
{"last_apply_record_idx", q5.ToString(idx)},
|
{"last_apply_record_idx", q5.ToString(idx)},
|
||||||
{"growth_value", bnNewGrowthValue.String()},
|
{"growth_value", bnNewGrowthValue.String()},
|
||||||
{"growth_value_int64", q5.ToString(0)},
|
{"growth_value_int64", q5.ToString(growthValueInt64)},
|
||||||
{"vip_lv", q5.ToString(0)},
|
{"vip_lv", q5.ToString(0)},
|
||||||
{"createtime", q5.ToString(nowTime)},
|
{"createtime", q5.ToString(nowTime)},
|
||||||
{"modifytime", q5.ToString(nowTime)},
|
{"modifytime", q5.ToString(nowTime)},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user