diff --git a/mall-shop/src/main/java/com/suisung/mall/shop/store/utis/FeieUtil.java b/mall-shop/src/main/java/com/suisung/mall/shop/store/utis/FeieUtil.java index 756ca615..060f9a01 100644 --- a/mall-shop/src/main/java/com/suisung/mall/shop/store/utis/FeieUtil.java +++ b/mall-shop/src/main/java/com/suisung/mall/shop/store/utis/FeieUtil.java @@ -96,7 +96,7 @@ public class FeieUtil { public Pair addPrinter(String printerInfo) { List nvps = new ArrayList(); nvps.add(new BasicNameValuePair("printerContent", printerInfo)); - JSONObject reps = sendHttpPost2("Open_printerAddlist", nvps); + JSONObject reps = sendHttpPost2("printerAddlist", nvps); if (reps == null) { return Pair.of(false, "打印机未返回数据,操作失败"); } @@ -124,7 +124,7 @@ public class FeieUtil { List nvps = new ArrayList(); nvps.add(new BasicNameValuePair("snlist", snList)); - FeiePrinterApiRes reps = sendHttpPost("Open_printerDelList", nvps); + FeiePrinterApiRes reps = sendHttpPost("printerDelList", nvps); logger.info("飞鹅删除打印机返回数据:{}", reps); if (reps != null && reps.getRet().equals(0)) { return Pair.of(true, "打印机删除成功!"); @@ -150,7 +150,7 @@ public class FeieUtil { nvps.add(new BasicNameValuePair("sn", sn)); nvps.add(new BasicNameValuePair("content", printContent)); - FeiePrinterApiRes reps = sendHttpPost("Open_printMsg", nvps); + FeiePrinterApiRes reps = sendHttpPost("printMsg", nvps); if (reps != null && reps.getRet().equals(0)) { // 返回打印编号,如:816501678_20160919184316_1419533539 return reps.getData(); @@ -201,7 +201,7 @@ public class FeieUtil { List nvps = new ArrayList(); nvps.add(new BasicNameValuePair("sn", sn)); - FeiePrinterApiRes reps = sendHttpPost("Open_delPrinterSqs", nvps); + FeiePrinterApiRes reps = sendHttpPost("delPrinterSqs", nvps); if (reps != null && reps.getRet().equals(0)) { return true; } diff --git a/mall-shop/src/main/resources/bootstrap-dev.yml b/mall-shop/src/main/resources/bootstrap-dev.yml index 603173e7..227c79ae 100644 --- a/mall-shop/src/main/resources/bootstrap-dev.yml +++ b/mall-shop/src/main/resources/bootstrap-dev.yml @@ -166,7 +166,7 @@ project: domain: @project.domain@ static_domain: @project.static_domain@ feieyun: - url: http://api.feieyun.cn/Api/Open/ + url: https://api.feieyun.cn/Api/Open/ user: 17777525395@163.com ukey: vuzPtNVghXSxbZmr sf-express: diff --git a/mall-shop/src/main/resources/bootstrap-local.yml b/mall-shop/src/main/resources/bootstrap-local.yml index d4f1c503..6def6643 100644 --- a/mall-shop/src/main/resources/bootstrap-local.yml +++ b/mall-shop/src/main/resources/bootstrap-local.yml @@ -166,7 +166,7 @@ project: domain: @project.domain@ static_domain: @project.static_domain@ feieyun: - url: http://api.feieyun.cn/Api/Open/ + url: https://api.feieyun.cn/Api/Open/ user: 17777525395@163.com ukey: vuzPtNVghXSxbZmr sf-express: diff --git a/mall-shop/src/main/resources/bootstrap-prod.yml b/mall-shop/src/main/resources/bootstrap-prod.yml index cbda4eae..61a83a49 100644 --- a/mall-shop/src/main/resources/bootstrap-prod.yml +++ b/mall-shop/src/main/resources/bootstrap-prod.yml @@ -179,7 +179,7 @@ project: domain: @project.domain@ static_domain: @project.static_domain@ feieyun: - url: http://api.feieyun.cn/Api/Open/ + url: https://api.feieyun.cn/Api/Open/ user: 17777525395@163.com ukey: vuzPtNVghXSxbZmr sf-express: