Przeglądaj źródła

Merge branch 'dev' of ssh://10.10.101.21/source/platform-b2b into debug

wangmh 8 lat temu
rodzic
commit
be63af34b8

+ 1 - 1
src/main/java/com/uas/platform/b2b/service/impl/KindServiceImpl.java

@@ -40,7 +40,7 @@ public class KindServiceImpl implements KindService {
 
     @Override
     public List<Kind> findByNameCn(String name) throws Exception {
-        String url = conf.getB2c() + "/api/product/kind/findByName" + name;
+        String url = conf.getB2c() + "/api/product/kind/findByName/" + name;
         HttpUtil.Response res = HttpUtil.sendGetRequest(url, null);
         if(res.getStatusCode() != 200) throw new Exception("查询类目信息失败");
         return JSONObject.parseArray(res.getResponseText(), Kind.class);