|
|
|
@@ -8,10 +8,7 @@ import com.xueyi.common.web.entity.controller.BaseController; |
|
|
|
import com.xueyi.system.api.organize.domain.dto.SysEnterpriseDto; |
|
|
|
import com.xueyi.system.api.organize.domain.query.SysEnterpriseQuery; |
|
|
|
import com.xueyi.system.organize.service.ISysEnterpriseService; |
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
import org.springframework.web.bind.annotation.PathVariable; |
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
/** |
|
|
|
* 企业管理 业务处理 |
|
|
|
@@ -30,8 +27,8 @@ public class SysEnterpriseController extends BaseController<SysEnterpriseQuery, |
|
|
|
/** |
|
|
|
* 获取企业信息 | 服务间调用 |
|
|
|
*/ |
|
|
|
@GetMapping("/info/{enterpriseId}") |
|
|
|
public R<SysEnterpriseDto> getInfo(@PathVariable Long enterpriseId) { |
|
|
|
@GetMapping("/info") |
|
|
|
public R<SysEnterpriseDto> getInfo(@RequestParam(value = "enterpriseId") Long enterpriseId) { |
|
|
|
return R.ok(baseService.selectById(enterpriseId)); |
|
|
|
} |
|
|
|
|
|
|
|
|