修改 飞鹅 新 url 地址和接口名

This commit is contained in:
Jack 2026-03-29 20:05:28 +08:00
parent c5c121ec5e
commit 491ed806d8
4 changed files with 7 additions and 7 deletions

View File

@ -96,7 +96,7 @@ public class FeieUtil {
public Pair<Boolean, String> addPrinter(String printerInfo) {
List<NameValuePair> nvps = new ArrayList<NameValuePair>();
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<NameValuePair> nvps = new ArrayList<NameValuePair>();
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<String> reps = sendHttpPost("Open_printMsg", nvps);
FeiePrinterApiRes<String> 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<NameValuePair> nvps = new ArrayList<NameValuePair>();
nvps.add(new BasicNameValuePair("sn", sn));
FeiePrinterApiRes<String> reps = sendHttpPost("Open_delPrinterSqs", nvps);
FeiePrinterApiRes<String> reps = sendHttpPost("delPrinterSqs", nvps);
if (reps != null && reps.getRet().equals(0)) {
return true;
}

View File

@ -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:

View File

@ -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:

View File

@ -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: