mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-10-02 18:26:38 +08:00
commit
e6acd8b55f
@ -56,6 +56,7 @@ public class GoodService {
|
|||||||
MapRemoveNullUtil.removeNullEntry(paramMap);
|
MapRemoveNullUtil.removeNullEntry(paramMap);
|
||||||
paramMap.put("secret","H5@2021");
|
paramMap.put("secret","H5@2021");
|
||||||
paramMap.put("channelId","15");
|
paramMap.put("channelId","15");
|
||||||
|
paramMap.put("isSales","1");
|
||||||
String sb = SmartHttpUtil.sendPostForm(url+"product/query",paramMap,null);
|
String sb = SmartHttpUtil.sendPostForm(url+"product/query",paramMap,null);
|
||||||
JSONObject jsonObject = JSONObject.parseObject(sb);
|
JSONObject jsonObject = JSONObject.parseObject(sb);
|
||||||
String result = AESUtil.decryptLinux(jsonObject.getString("data"), AESUtil.KEY);
|
String result = AESUtil.decryptLinux(jsonObject.getString("data"), AESUtil.KEY);
|
||||||
|
@ -14,7 +14,7 @@ public class SmsUtil {
|
|||||||
SMSServiceSoap_BindingStub stub = (SMSServiceSoap_BindingStub) service.getSMSServiceSoap(protAddres);
|
SMSServiceSoap_BindingStub stub = (SMSServiceSoap_BindingStub) service.getSMSServiceSoap(protAddres);
|
||||||
java.util.Calendar cal= java.util.Calendar.getInstance();
|
java.util.Calendar cal= java.util.Calendar.getInstance();
|
||||||
cal.set(2021,12,31,0,0,0);
|
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:"))
|
if (sMSGID.startsWith("OK:"))
|
||||||
System.out.println("Send successful!");
|
System.out.println("Send successful!");
|
||||||
System.out.println("msgId = " + sMSGID);
|
System.out.println("msgId = " + sMSGID);
|
||||||
|
Loading…
Reference in New Issue
Block a user