hsun 2 달 전
부모
커밋
dd132bbb34
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      controllers/users.go

+ 1 - 1
controllers/users.go

@@ -92,7 +92,7 @@ func (this *UsersController) Add() {
 		}
 	}
 	if sellerId > 0 {
-		sellerItem, e := models.GetSysUserById(req.SellerId)
+		sellerItem, e := models.GetSysUserById(sellerId)
 		if e != nil {
 			if e.Error() == utils.ErrNoRow() {
 				br.Msg = "所选营业部不存在,请刷新页面"