Commit a247052d authored by 高建强's avatar 高建强

item:解决bug4234

parent fbac271f
...@@ -11,6 +11,8 @@ import com.yeejoin.equipmanage.common.entity.Industry; ...@@ -11,6 +11,8 @@ import com.yeejoin.equipmanage.common.entity.Industry;
import com.yeejoin.equipmanage.service.IIndustryService; import com.yeejoin.equipmanage.service.IIndustryService;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import org.typroject.tyboot.core.foundation.enumeration.UserType;
import org.typroject.tyboot.core.restful.doc.TycloudOperation;
@RestController @RestController
@Api(tags = "行业分类Industry") @Api(tags = "行业分类Industry")
...@@ -20,6 +22,7 @@ public class IndustryController { ...@@ -20,6 +22,7 @@ public class IndustryController {
IIndustryService industryService; IIndustryService industryService;
@GetMapping(value = "/list") @GetMapping(value = "/list")
@TycloudOperation(ApiLevel = UserType.AGENCY)
public List<Industry> listAll() { public List<Industry> listAll() {
return industryService.list(); return industryService.list();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment