|
|
@@ -3,6 +3,7 @@ package org.linlinjava.litemall.wx.web;
|
|
|
import org.apache.commons.logging.Log;
|
|
|
import org.apache.commons.logging.LogFactory;
|
|
|
import org.linlinjava.litemall.core.util.ResponseUtil;
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
@@ -19,7 +20,7 @@ public class WxIndexController {
|
|
|
*
|
|
|
* @return 测试数据
|
|
|
*/
|
|
|
- @RequestMapping("/index")
|
|
|
+ @GetMapping("/index")
|
|
|
public Object index() {
|
|
|
return ResponseUtil.ok("hello world, this is wx service");
|
|
|
}
|