@@ -134,11 +134,6 @@ func (u *User) Del(entId int, ids string) bool {
//新增员工
func (u *User) Add(tx *sql.Tx, entId int, user *User, paymentAddress, source, nsq, nsq_Topic string) (int64, bool) {
- if user.User_name != "" && len(user.User_name) > 0 {
- if !u.UserNameExist(user.User_name, user.Phone) {
- return 0, false
- }
nowFormat := NowFormat(Date_Full_Layout)
user_id := Mysql.InsertByTx(tx, Entniche_user, map[string]interface{}{
"name": user.Name,