|
|
@@ -0,0 +1,27 @@
|
|
|
+package com.goafanti.business.controller;
|
|
|
+
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+import javax.annotation.Resource;
|
|
|
+
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+import com.goafanti.business.service.JtBusinessService;
|
|
|
+import com.goafanti.common.bo.Result;
|
|
|
+import com.goafanti.common.controller.CertifyApiController;
|
|
|
+
|
|
|
+@RestController
|
|
|
+@RequestMapping(value = "/open")
|
|
|
+public class JtBusinessController extends CertifyApiController {
|
|
|
+ @Resource
|
|
|
+ private JtBusinessService jtBusinessService;
|
|
|
+
|
|
|
+ @RequestMapping(value = "/jtBusiness/getCategoryList" , method = RequestMethod.GET)
|
|
|
+ public Result getList() {
|
|
|
+ Result result=new Result();
|
|
|
+result.setData(jtBusinessService.getCategoryBoList());
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+}
|