Explorar o código

优化地区名称错误问题

吴学文 %!s(int64=6) %!d(string=hai) anos
pai
achega
7a3071e4fd

+ 1 - 1
AppFrontService/src/main/java/com/java110/app/smo/api/impl/ApiSMOImpl.java

@@ -31,7 +31,7 @@ public class ApiSMOImpl extends BaseComponentSMO implements IApiSMO {
 
         logger.debug("api请求头" + headers + ";请求内容:" + body);
         HttpMethod method = null;
-        String url = ServiceConstant.SERVICE_API_URL + headers.get(CommonConstant.HTTP_SERVICE);
+        String url = ServiceConstant.SERVICE_API_URL +"/api/"+ headers.get(CommonConstant.HTTP_SERVICE);
         if (CommonConstant.HTTP_METHOD_POST.equals(headers.get(CommonConstant.HTTP_METHOD))) {
             method = HttpMethod.POST;
         } else if (CommonConstant.HTTP_METHOD_GET.equals(headers.get(CommonConstant.HTTP_METHOD))) {

+ 1 - 1
java110-utils/src/main/java/com/java110/utils/constant/ServiceCodeConstant.java

@@ -551,6 +551,6 @@ public class ServiceCodeConstant {
     /**
      * 查询 地区
      */
-    public static final String LIST_AREAS = "app.listAreas";
+    public static final String LIST_AREAS = "area.listAreas";
 
 }