|
|
@ -1,5 +1,6 @@ |
|
|
package com.hxgk.lowcode.controller; |
|
|
package com.hxgk.lowcode.controller; |
|
|
|
|
|
|
|
|
|
|
|
import com.hxgk.lowcode.model.entity.SystemRole; |
|
|
import com.hxgk.lowcode.model.entity.Tree; |
|
|
import com.hxgk.lowcode.model.entity.Tree; |
|
|
import com.hxgk.lowcode.service.CustomerFormService; |
|
|
import com.hxgk.lowcode.service.CustomerFormService; |
|
|
import com.hxgk.lowcode.service.HrService; |
|
|
import com.hxgk.lowcode.service.HrService; |
|
|
@ -7,6 +8,7 @@ import com.hxgk.lowcode.utils.JsonData; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.web.bind.annotation.*; |
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
|
|
|
|
import java.util.ArrayList; |
|
|
import java.util.Map; |
|
|
import java.util.Map; |
|
|
|
|
|
|
|
|
/* |
|
|
/* |
|
|
@ -49,4 +51,11 @@ public class AssociatedFormsController { |
|
|
return JsonData.buildSuccess(tree); |
|
|
return JsonData.buildSuccess(tree); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/*获取系统角色列表*/ |
|
|
|
|
|
@RequestMapping(value = "AssociatedForms/getRoleList") |
|
|
|
|
|
public JsonData getRoleList() { |
|
|
|
|
|
ArrayList<SystemRole> serviceRoleList = customerFormService.getRoleList(); |
|
|
|
|
|
return JsonData.buildSuccess(serviceRoleList); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|