From ad4aa3dea3554b168824e426e66bd9849e3193d4 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期四, 20 六月 2019 17:08:43 +0800
Subject: [PATCH] 文档重新整理加入 开发环境搭建和生产环境搭建步骤
---
ShopService/src/main/java/com/java110/shop/api/ShopApi.java | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/ShopService/src/main/java/com/java110/shop/api/ShopApi.java b/ShopService/src/main/java/com/java110/shop/api/ShopApi.java
index 5b86627..81ed25f 100644
--- a/ShopService/src/main/java/com/java110/shop/api/ShopApi.java
+++ b/ShopService/src/main/java/com/java110/shop/api/ShopApi.java
@@ -8,6 +8,8 @@
import com.java110.core.context.BusinessServiceDataFlow;
import com.java110.core.factory.DataTransactionFactory;
import com.java110.shop.smo.IShopServiceSMO;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
@@ -24,11 +26,12 @@
*/
@RestController
public class ShopApi extends BaseController {
+ private final static Logger logger = LoggerFactory.getLogger(ShopApi.class);
@Autowired
IShopServiceSMO shopServiceSMOImpl;
- @RequestMapping(path = "/storeApi/service",method= RequestMethod.GET)
+ @RequestMapping(path = "/shopApi/service",method= RequestMethod.GET)
public String serviceGet(HttpServletRequest request) {
return DataTransactionFactory.createBusinessResponseJson(ResponseConstant.RESULT_CODE_ERROR,"涓嶆敮鎸丟et鏂规硶璇锋眰").toJSONString();
}
@@ -39,7 +42,7 @@
* @param request
* @return
*/
- @RequestMapping(path = "/storeApi/service",method= RequestMethod.POST)
+ @RequestMapping(path = "/shopApi/service",method= RequestMethod.POST)
public String servicePost(@RequestBody String orderInfo, HttpServletRequest request) {
BusinessServiceDataFlow businessServiceDataFlow = null;
JSONObject responseJson = null;
--
Gitblit v1.8.0