...
|
...
|
@@ -110,7 +110,7 @@ func NewDividendsEstimateService(options map[string]interface{}) *DividendsEstim |
|
|
return newDividendsEstimateService
|
|
|
}
|
|
|
|
|
|
func (dividendsEmmateService *DividendsEstimateService) MoneyIncentivesSelector(queryParam query.MoneyIncentiveSelectorQuery) (interface{}, error) {
|
|
|
func (dividendsEmmateService *DividendsEstimateService) MoneyIncentivesSelector(queryParam *query.MoneyIncentiveSelectorQuery) (interface{}, error) {
|
|
|
creationCooperationGateway := allied_creation_cooperation.NewHttplibAlliedCreationCooperation(
|
|
|
queryParam.Operator)
|
|
|
resultContract, err := creationCooperationGateway.CooperationContractSearch(allied_creation_cooperation.ReqCooperationContractSearch{
|
...
|
...
|
@@ -133,7 +133,7 @@ func (dividendsEmmateService *DividendsEstimateService) MoneyIncentivesSelector( |
|
|
for _, v := range contractData.MoneyIncentivesRules {
|
|
|
r := dto.MoneyIncentivesRule{
|
|
|
MoneyIncentivesStage: v.MoneyIncentivesStage,
|
|
|
MoneyIncentivesStageStart: int(v.MoneyIncentivesTime.Unix()),
|
|
|
MoneyIncentivesStageStart: int(v.MoneyIncentivesTime.UnixNano() / 1e6),
|
|
|
}
|
|
|
rules = append(rules, r)
|
|
|
}
|
...
|
...
|
|