UpdateProfileAdmin 更新用户资料(管理员)
(ctx context.Context, profile domain.Profile)
| 188 | |
| 189 | // UpdateProfileAdmin 更新用户资料(管理员) |
| 190 | func (ur *userRepository) UpdateProfileAdmin(ctx context.Context, profile domain.Profile) error { |
| 191 | return ur.dao.UpdateProfileAdmin(ctx, profile) |
| 192 | } |
| 193 | |
| 194 | // fromDomainUser 将领域层对象转为dao层对象 |
| 195 | func fromDomainUser(u domain.User) dao.User { |
nothing calls this directly
no test coverage detected