add sale value 1

This commit is contained in:
Carl 2022-01-25 18:26:18 +08:00
parent 217afb123f
commit 0e47b968e3
2 changed files with 2 additions and 1 deletions

View File

@ -56,6 +56,7 @@ public class GoodService {
MapRemoveNullUtil.removeNullEntry(paramMap);
paramMap.put("secret","H5@2021");
paramMap.put("channelId","15");
paramMap.put("isSales","1");
String sb = SmartHttpUtil.sendPostForm(url+"product/query",paramMap,null);
JSONObject jsonObject = JSONObject.parseObject(sb);
String result = AESUtil.decryptLinux(jsonObject.getString("data"), AESUtil.KEY);

View File

@ -14,7 +14,7 @@ public class SmsUtil {
SMSServiceSoap_BindingStub stub = (SMSServiceSoap_BindingStub) service.getSMSServiceSoap(protAddres);
java.util.Calendar cal= java.util.Calendar.getInstance();
cal.set(2021,12,31,0,0,0);
String sMSGID = stub.sendSMS(number,8,"您好,您的验证码:" + verifyNumber + ", 5分钟有效期 【皇家宠物食品】",cal,"7101567100151709");
String sMSGID = stub.sendSMS(number,8,"您好,您的验证码:" + verifyNumber + ", 5分钟有效期 ",cal,"7101567100151709");
if (sMSGID.startsWith("OK:"))
System.out.println("Send successful!");
System.out.println("msgId = " + sMSGID);