xyxie 3 月之前
父节点
当前提交
5d74dfba9e
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      controllers/eta_business/user.go

+ 3 - 0
controllers/eta_business/user.go

@@ -1050,6 +1050,9 @@ func (this *EtaBusinessUserController) Import() {
 	for _, v := range req.ValidUser {
 		// 查询商户信息
 		item := new(models.User)
+		if v.CountryCode == "" {
+			v.CountryCode = "86"
+		}
 		item.CountryCode = v.CountryCode
 		item.RealName = v.RealName
 		item.PositionStatus = v.PositionStatus