diff --git a/src/main/java/com/gxwebsoft/cms/controller/FormController.java b/src/main/java/com/gxwebsoft/cms/controller/FormController.java index 508c67e..4c50531 100644 --- a/src/main/java/com/gxwebsoft/cms/controller/FormController.java +++ b/src/main/java/com/gxwebsoft/cms/controller/FormController.java @@ -5,17 +5,21 @@ import com.alibaba.fastjson.JSONObject; import com.gxwebsoft.cms.entity.Form; import com.gxwebsoft.cms.param.FormParam; import com.gxwebsoft.cms.service.FormService; +import com.gxwebsoft.common.core.security.JwtUtil; import com.gxwebsoft.common.core.utils.RedisUtil; +import com.gxwebsoft.common.core.utils.RequestUtil; import com.gxwebsoft.common.core.web.ApiResult; import com.gxwebsoft.common.core.web.BaseController; import com.gxwebsoft.common.core.web.BatchParam; import com.gxwebsoft.common.core.web.PageResult; import com.gxwebsoft.common.system.entity.User; +import com.gxwebsoft.shop.service.MerchantService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.web.bind.annotation.*; import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; import java.util.List; /** @@ -31,6 +35,8 @@ public class FormController extends BaseController { @Resource private FormService formService; @Resource + private MerchantService merchantService; + @Resource private RedisUtil redisUtil; @ApiOperation("分页查询表单设计表") @@ -49,15 +55,18 @@ public class FormController extends BaseController { @ApiOperation("根据id查询表单设计表") @GetMapping("/{id}") - public ApiResult