liupeng 5 年 前
コミット
f299450c4d

+ 18 - 0
code/sapparent/sapcms/src/main/java/org/fouram/controller/ApiController.java

@@ -0,0 +1,18 @@
+package org.fouram.controller;
+
+import org.fouram.core.base.controller.BaseController;
+import org.fouram.core.util.AppUtil;
+import org.fouram.core.util.AppUtil.ResultConstant;
+import org.fouram.core.util.LoggerUtil;
+import org.fouram.service.TaskService;
+import org.fouram.service.TestUserService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.ResponseBody;
+
+@Controller
+@RequestMapping(value = "/API")
+public class ApiController extends BaseController {
+
+}

+ 1 - 0
code/sapparent/sapservice/src/main/resources/spring/shiro.xml

@@ -47,6 +47,7 @@
 				/*/*login* = anon
 				/*/*Login* = anon
 				/*/*Anon = anon
+				/API/* = anon
 				/** = authc
 			</value>  
 		</property>