|
@@ -133,8 +133,8 @@ func (s LocalLifeService) CreateLocalLife(localCreateParam *vo.LocalCreateParam)
|
|
recruitStrategy := entity.RecruitStrategy{
|
|
recruitStrategy := entity.RecruitStrategy{
|
|
FeeForm: strategy.FeeForm,
|
|
FeeForm: strategy.FeeForm,
|
|
StrategyID: strategy.StrategyID,
|
|
StrategyID: strategy.StrategyID,
|
|
- FollowersLow: strategy.FollowersLow,
|
|
|
|
- FollowersUp: strategy.FollowersUp,
|
|
|
|
|
|
+ FollowersLow: int64(strategy.FollowersLow * 10000),
|
|
|
|
+ FollowersUp: int64(strategy.FollowersUp * 10000),
|
|
RecruitNumber: strategy.RecruitNumber,
|
|
RecruitNumber: strategy.RecruitNumber,
|
|
ProjectID: localId,
|
|
ProjectID: localId,
|
|
StrategyType: 1,
|
|
StrategyType: 1,
|
|
@@ -198,8 +198,8 @@ func (s LocalLifeService) UpdateLocal(localUpdateParam *vo.LocalUpdateParam) (*s
|
|
recruitStrategy := entity.RecruitStrategy{
|
|
recruitStrategy := entity.RecruitStrategy{
|
|
FeeForm: strategy.FeeForm,
|
|
FeeForm: strategy.FeeForm,
|
|
StrategyID: strategy.StrategyID,
|
|
StrategyID: strategy.StrategyID,
|
|
- FollowersLow: strategy.FollowersLow,
|
|
|
|
- FollowersUp: strategy.FollowersUp,
|
|
|
|
|
|
+ FollowersLow: int64(strategy.FollowersLow * 10000),
|
|
|
|
+ FollowersUp: int64(strategy.FollowersUp * 10000),
|
|
RecruitNumber: strategy.RecruitNumber,
|
|
RecruitNumber: strategy.RecruitNumber,
|
|
ProjectID: localLife.LocalID,
|
|
ProjectID: localLife.LocalID,
|
|
StrategyType: 1,
|
|
StrategyType: 1,
|
|
@@ -357,8 +357,8 @@ func (s LocalLifeService) UpdateLocalTarget(localUpdateParam *vo.LocalUpdatePara
|
|
recruitStrategy := entity.RecruitStrategy{
|
|
recruitStrategy := entity.RecruitStrategy{
|
|
FeeForm: strategy.FeeForm,
|
|
FeeForm: strategy.FeeForm,
|
|
StrategyID: strategy.StrategyID,
|
|
StrategyID: strategy.StrategyID,
|
|
- FollowersLow: strategy.FollowersLow,
|
|
|
|
- FollowersUp: strategy.FollowersUp,
|
|
|
|
|
|
+ FollowersLow: int64(strategy.FollowersLow * 10000),
|
|
|
|
+ FollowersUp: int64(strategy.FollowersUp * 10000),
|
|
RecruitNumber: strategy.RecruitNumber,
|
|
RecruitNumber: strategy.RecruitNumber,
|
|
ProjectID: localLife.LocalID,
|
|
ProjectID: localLife.LocalID,
|
|
StrategyType: 1,
|
|
StrategyType: 1,
|