|
@@ -11,7 +11,7 @@ import (
|
|
|
type (
|
|
|
UserAnalysis struct {
|
|
|
UserMapping map[string]BaseUserId //职位id、mongouserId对应的baseUserId
|
|
|
- EntUserIdMapping map[int64]BaseUserId
|
|
|
+ EntUserIdMapping map[int64]BaseUserId //ent_id对应的baseUserId
|
|
|
|
|
|
BinPhone, BindMail map[BaseUserId]bool
|
|
|
Vip, Vip15, Vip30 map[BaseUserId]bool
|
|
@@ -104,7 +104,7 @@ func (ua *UserAnalysis) LoadMapping() error {
|
|
|
}
|
|
|
ua.UserMapping = newMapping
|
|
|
|
|
|
- //加载ent_id和手机号对应关系
|
|
|
+ //加载ent_id和BaseUserId对应关系
|
|
|
dataEntRes, err := g.DB("jianyu").Query(ctx, "SELECT id,phone FROM entniche_user")
|
|
|
if err != nil {
|
|
|
return err
|