|
@@ -187,7 +187,7 @@ func (u *User) Add(tx *sql.Tx, entId int, user *User, paymentAddress, source, ns
|
|
|
//base_user表,用户名字段 user_name
|
|
|
//mog库user表,用户名字段 user_name
|
|
|
if user.User_name != "" && len(user.User_name) > 0 {
|
|
|
- Mysql.UpdateOrDeleteBySqlByTx(tx, `update entniche_user set user_name="?" where phone="?" and ent_id!=?`, user.User_name, user.Phone, entId)
|
|
|
+ Mysql.UpdateOrDeleteBySqlByTx(tx, `update entniche_user set user_name=? where phone=? and ent_id!=?`, user.User_name, user.Phone, entId)
|
|
|
data, _ := MQFW.Find("user", map[string]interface{}{
|
|
|
"i_appid": 2,
|
|
|
"$or": []map[string]interface{}{
|