package com.fjhx.controller.process; import com.alibaba.fastjson.JSONObject; import com.fjhx.entity.process.ProcessTenant; import com.fjhx.service.process.ProcessTenantService; import org.springblade.core.tool.api.R; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; /** *
* 租户流程表 前端控制器 *
* * @author ${author} * @since 2022-08-16 */ @RestController @RequestMapping("/processTenant") public class ProcessTenantController { @Autowired private ProcessTenantService processTenantService; /** * 添加租户流程 */ @PostMapping("/add") public R add(@RequestBody ProcessTenant processTenant) { processTenantService.add(processTenant); return R.success(); } }