正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
@@ -7,6 +7,7 @@ import ( | @@ -7,6 +7,7 @@ import ( | ||
7 | "gitlab.fjmaimaimai.com/linmadan/mmm-worth/pkg/application/unifiedUserCenter/command" | 7 | "gitlab.fjmaimaimai.com/linmadan/mmm-worth/pkg/application/unifiedUserCenter/command" |
8 | "gitlab.fjmaimaimai.com/linmadan/mmm-worth/pkg/domain" | 8 | "gitlab.fjmaimaimai.com/linmadan/mmm-worth/pkg/domain" |
9 | "gitlab.fjmaimaimai.com/linmadan/mmm-worth/pkg/infrastructure/dao" | 9 | "gitlab.fjmaimaimai.com/linmadan/mmm-worth/pkg/infrastructure/dao" |
10 | + "time" | ||
10 | ) | 11 | ) |
11 | 12 | ||
12 | // 统一用户中心适配服务 | 13 | // 统一用户中心适配服务 |
@@ -145,6 +146,7 @@ func (unifiedUserCenterService *UnifiedUserCenterService) SyncEmployeeCallback(s | @@ -145,6 +146,7 @@ func (unifiedUserCenterService *UnifiedUserCenterService) SyncEmployeeCallback(s | ||
145 | }, | 146 | }, |
146 | Status: status, | 147 | Status: status, |
147 | SuMoney: 0, | 148 | SuMoney: 0, |
149 | + CreateTime: time.Now(), | ||
148 | } | 150 | } |
149 | 151 | ||
150 | if _, err := employeeRepository.Save(employee); err != nil { | 152 | if _, err := employeeRepository.Save(employee); err != nil { |
@@ -206,6 +208,7 @@ func (unifiedUserCenterService *UnifiedUserCenterService) SyncEmployeeCallback(s | @@ -206,6 +208,7 @@ func (unifiedUserCenterService *UnifiedUserCenterService) SyncEmployeeCallback(s | ||
206 | }, | 208 | }, |
207 | Status: status, | 209 | Status: status, |
208 | SuMoney: 0, | 210 | SuMoney: 0, |
211 | + CreateTime: time.Now(), | ||
209 | } | 212 | } |
210 | if _, err := employeeRepository.Save(employee); err != nil { | 213 | if _, err := employeeRepository.Save(employee); err != nil { |
211 | return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) | 214 | return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) |
-
请 注册 或 登录 后发表评论