Commit 72774b80 authored by linruibiao's avatar linruibiao

接口编写

parent 57b7b747
......@@ -12,6 +12,7 @@ import com.syc.slm.slmbi.service.InstrumentPanelGroupService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
......@@ -26,6 +27,7 @@ import javax.servlet.http.HttpServletRequest;
@RestController
@RequestMapping("/{appId}/tenant")
@Api(value = "租户", tags = "租户")
@Slf4j
public class TenantController extends BaseRestController{
@Autowired
......@@ -35,6 +37,9 @@ public class TenantController extends BaseRestController{
@ApiImplicitParam(name = "appId", value = "租户id", required = true, dataTypeClass = String.class)
public R<String> initGroup(@PathVariable String appId) {
return call(() -> {
log.info("盛云平台创建租户初始化分组");
log.info("appId:"+appId);
log.info("盛云平台创建租户初始化分组");
InstrumentPanelGroupDTO groupDTO = new InstrumentPanelGroupDTO();
groupDTO.setParentId(null);
groupDTO.setName("全部分组");
......
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