提交代码

dev-discount
胡锐 3 years ago
parent 564de231f9
commit 1af33b4da7
  1. 2
      hai-bweb/src/main/java/com/bweb/controller/HighTestController.java
  2. 22
      hai-service/src/main/java/com/hai/config/SpPrinterTemplate.java

File diff suppressed because one or more lines are too long

@ -1,23 +1,5 @@
package com.hai.config; package com.hai.config;
import org.apache.commons.codec.digest.DigestUtils;
import org.apache.http.HttpEntity;
import org.apache.http.NameValuePair;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.config.RequestConfig;
import org.apache.http.client.entity.UrlEncodedFormEntity;
import org.apache.http.client.methods.*;
import org.apache.http.client.utils.URLEncodedUtils;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.message.BasicNameValuePair;
import org.apache.http.util.EntityUtils;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
/** /**
* 商鹏打印机模板 * 商鹏打印机模板
* @author hurui * @author hurui
@ -59,7 +41,7 @@ public class SpPrinterTemplate {
"<L1>加油金额</L1><BR>" + "<L1>加油金额</L1><BR>" +
"<L1>¥" + orderPrice + "元</L1><BR>" + "<L1>¥" + orderPrice + "元</L1><BR>" +
"------------------------------<BR>" + "------------------------------<BR>" +
"<C>来"嗨森逛“;开心又省钱</C>"; "<C><B>来"嗨森逛“;开心又省钱</B></C>";
return str; return str;
} }
@ -98,7 +80,7 @@ public class SpPrinterTemplate {
"<L1>加油金额</L1><BR>" + "<L1>加油金额</L1><BR>" +
"<L1>¥" + orderPrice + "元</L1><BR>" + "<L1>¥" + orderPrice + "元</L1><BR>" +
"------------------------------<BR>" + "------------------------------<BR>" +
"<C>来"嗨森逛“;开心又省钱</C>"; "<C><B>来"嗨森逛“;开心又省钱</B></C>";
return str; return str;
} }

Loading…
Cancel
Save