...
|
...
|
@@ -29,7 +29,7 @@ func ToCooperationContractItem(param *allied_creation_cooperation.CooperationCon |
|
|
CooperationContractName: param.CooperationContractName,
|
|
|
CooperationContractNumber: param.CooperationContractNumber,
|
|
|
Status: param.Status,
|
|
|
CreateTtime: int(param.CreatedAt.Unix()),
|
|
|
CreateTtime: int(param.CreatedAt.UnixNano() / 1e6),
|
|
|
}
|
|
|
data.CooperationContractSponsor.UserId = param.CooperationContractSponsor.UserId
|
|
|
data.CooperationContractSponsor.UserName = param.CooperationContractSponsor.UserInfo.UserName
|
...
|
...
|
@@ -122,8 +122,8 @@ func ToCooperationContractInfo(param *allied_creation_cooperation.CooperationCon |
|
|
SalesmanPercentage: v.SalesmanPercentage,
|
|
|
DividendsIncentivesPercentage: v.DividendsIncentivesPercentage,
|
|
|
DividendsIncentivesStage: v.DividendsIncentivesStage,
|
|
|
DividendsIncentivesStageEnd: v.DividendsIncentivesStageEnd.Unix(),
|
|
|
DividendsIncentivesStageStart: v.DividendsIncentivesStageStart.Unix(),
|
|
|
DividendsIncentivesStageEnd: v.DividendsIncentivesStageEnd.UnixNano() / 1e6,
|
|
|
DividendsIncentivesStageStart: v.DividendsIncentivesStageStart.UnixNano() / 1e6,
|
|
|
}
|
|
|
dividendsIncentivesRules = append(dividendsIncentivesRules, r)
|
|
|
}
|
...
|
...
|
@@ -134,7 +134,7 @@ func ToCooperationContractInfo(param *allied_creation_cooperation.CooperationCon |
|
|
CooperationContractNumber: v.CooperationContractNumber,
|
|
|
MoneyIncentivesAmount: v.MoneyIncentivesAmount,
|
|
|
MoneyIncentivesStage: v.MoneyIncentivesStage,
|
|
|
MoneyIncentivesTime: v.MoneyIncentivesTime.Unix(),
|
|
|
MoneyIncentivesTime: v.MoneyIncentivesTime.UnixNano() / 1e6,
|
|
|
ReferrerPercentage: v.ReferrerPercentage,
|
|
|
SalesmanPercentage: v.SalesmanPercentage,
|
|
|
}
|
...
|
...
|
|