Browse Source

修改organize 中引用了technologyservice

yuedefeng 6 years ago
parent
commit
1aabcd1e3e
1 changed files with 1 additions and 4 deletions
  1. 1 4
      src/dashoo.cn/backend/api/controllers/casbin/organize.go

+ 1 - 4
src/dashoo.cn/backend/api/controllers/casbin/organize.go

@@ -6,9 +6,6 @@ import (
 	"encoding/json"
 	"strconv"
 
-	//"fmt"
-
-	"dashoo.cn/backend/api/business/oilsupplier/technologyservice"
 	"dashoo.cn/business2/userRole"
 
 	"strings"
@@ -327,7 +324,7 @@ func (this *OrganizesController) ParentList() {
 // @Success 200 {object} sampletype.SampleType
 // @router /getorganizetreelist [get]
 func (this *OrganizesController) GetOrganizeTreeList() {
-	svc := technologyservice.GetOilTechnologyServiceService(utils.DBE)
+	svc := organize.GetOrganizeService(utils.DBE)
 	where := " 1 = 1 "
 	var list []organize.Base_Orgatree
 	//获取技术服务类资质分类层级信息