Browse Source

更新

three
huangjiajun 1 year ago
parent
commit
5dfe3cf82d
3 changed files with 9 additions and 0 deletions
  1. +3
    -0
      consume/dou_shen_user_register_for_my_my_fans.go
  2. +3
    -0
      consume/dou_shen_user_register_for_my_my_recommender.go
  3. +3
    -0
      consume/dou_shen_user_register_for_operation_center.go

+ 3
- 0
consume/dou_shen_user_register_for_my_my_fans.go View File

@@ -80,6 +80,9 @@ func handleDouShenUserRegisterConsumeForMyFans(msgData []byte) error {
return err return err
} }
if gimUser == nil { if gimUser == nil {
if db.DBs[msg.MasterId] == nil {
return nil
}
user, err := db.UserFindByMobile(db.DBs[msg.MasterId], strconv.FormatInt(msg.Phone, 10)) user, err := db.UserFindByMobile(db.DBs[msg.MasterId], strconv.FormatInt(msg.Phone, 10))
if err != nil { if err != nil {
return err return err


+ 3
- 0
consume/dou_shen_user_register_for_my_my_recommender.go View File

@@ -80,6 +80,9 @@ func handleDouShenUserRegisterConsumeForMyRecommender(msgData []byte) error {
} }


if gimUser == nil { if gimUser == nil {
if db.DBs[msg.MasterId] == nil {
return nil
}
user, err := db.UserFindByMobile(db.DBs[msg.MasterId], strconv.FormatInt(msg.Phone, 10)) user, err := db.UserFindByMobile(db.DBs[msg.MasterId], strconv.FormatInt(msg.Phone, 10))
if err != nil { if err != nil {
return err return err


+ 3
- 0
consume/dou_shen_user_register_for_operation_center.go View File

@@ -81,6 +81,9 @@ func handleDouShenUserRegisterConsumeForOperationCenter(msgData []byte) error {
} }


if gimUser == nil { if gimUser == nil {
if db.DBs[msg.MasterId] == nil {
return nil
}
user, err := db.UserFindByMobile(db.DBs[msg.MasterId], strconv.FormatInt(msg.Phone, 10)) user, err := db.UserFindByMobile(db.DBs[msg.MasterId], strconv.FormatInt(msg.Phone, 10))
if err != nil { if err != nil {
return err return err


Loading…
Cancel
Save