|
@@ -580,6 +580,8 @@ func (this *UserAccount) Authentication(doType string) {
|
|
|
// A账户已绑定微信,此微信必须与当前账户绑定的微信一致
|
|
|
|
|
|
func (this *UserAccount) PhoneBind() {
|
|
|
+ log.Println("绑定开始")
|
|
|
+ fmt.Println("绑定开始")
|
|
|
sessVal := this.Session().GetMultiple()
|
|
|
userId, _ := sessVal["mgoUserId"].(string)
|
|
|
rData, errMsg := func() (interface{}, error) {
|
|
@@ -720,9 +722,11 @@ func (this *UserAccount) PhoneBind() {
|
|
|
}
|
|
|
backData[k] = v
|
|
|
}
|
|
|
-
|
|
|
+ log.Println("绑定日志打印1", backData, baseUserId)
|
|
|
+ fmt.Println("绑定日志打印1", backData, baseUserId)
|
|
|
if util.MQFW.Save("user_merge", backData) != "" {
|
|
|
log.Println("绑定日志打印", backData, baseUserId)
|
|
|
+ fmt.Println("绑定日志打印", backData, baseUserId)
|
|
|
//给另外一个用户发站内信
|
|
|
userData := util.BaseMysql.FindOne("base_position", map[string]interface{}{
|
|
|
"user_id": baseUserId,
|