Browse Source

Merge branch 'bzq/dev' of eta_mini/eta_mini_crm into debug

鲍自强 8 months ago
parent
commit
37fd669bd4
2 changed files with 3 additions and 2 deletions
  1. 2 2
      controllers/seller.go
  2. 1 0
      models/user.go

+ 2 - 2
controllers/seller.go

@@ -101,8 +101,8 @@ func (this *SellerController) List() {
 }
 
 // List
-// @Title 获取部门下销售
-// @Description 获取部门下销售接口
+// @Title 获取营业部下面的部门
+// @Description 获取营业部下面的部门
 // @Success 200 {object} []models.SysDepartmentList
 // @router /department/list [get]
 func (this *SellerController) DepartmentList() {

+ 1 - 0
models/user.go

@@ -43,6 +43,7 @@ type UserView struct {
 	Phone                string `description:"手机号"`
 	AreaCode             string `description:"区号"`
 	Email                string `description:"邮箱"`
+	SellerDepartmentId   int    `description:"营业部门id"`
 	SellerDepartmentName string `description:"营业部门名称"`
 	Company              string `description:"所属公司"`
 	ValidStartTime       string `description:"有效期开始时间"`