打印超时3分钟

master
zpl 3 years ago
parent b4aecf5dcd
commit a17f3bca63

@ -159,7 +159,8 @@ public class PrintLogServiceImpl extends ServiceImpl<PrintLogMapper, PrintLog> i
} }
public void printServer(List<LabelPrintDto> list){ public void printServer(List<LabelPrintDto> list){
String post = HttpUtil.post(printServer, JSON.toJSONString(list), 60000); // 超时时间180秒/3分钟
String post = HttpUtil.post(printServer, JSON.toJSONString(list), 180000);
/** /**
* {"msg":"打印成功","code":0} * {"msg":"打印成功","code":0}
* {"msg":"打印失败","code":500} * {"msg":"打印失败","code":500}

Loading…
Cancel
Save