Commit 9f276395 authored by shiyu's avatar shiyu

版本3.5

parent 46e57b24
...@@ -52,7 +52,7 @@ public class WebMvcConfiguration implements WebMvcConfigurer { ...@@ -52,7 +52,7 @@ public class WebMvcConfiguration implements WebMvcConfigurer {
"/wx/groupPurchase/findList", "/wx/groupPurchase/findItemDetail", "/wx/exchangeApplyOrder/handleApplyOrder", "/wx/supplierItem/findDiscountList", "/wx/groupPurchase/findList", "/wx/groupPurchase/findItemDetail", "/wx/exchangeApplyOrder/handleApplyOrder", "/wx/supplierItem/findDiscountList",
"/wx/appletPageConfig/**" "/wx/appletPageConfig/**"
//下列路径上线注释 //下列路径上线注释
// ,"/wx/itemTagOperate/**", "/wx/openShop/**" // ,"/wx/itemTagOperate/**", "/wx/openShop/**", "/wx/earnestRecord/**", "/wx/auctionEarnest/**", "/wx/userAccount/**"
/* ,"/wx/specialPerformance/**" /* ,"/wx/specialPerformance/**"
, "/wx/supplierItem/**", "/wx/shareRecord/**", "/wx/distributionOrder/**", "/wx/selfPage/**", "/wx/auctionRecord/**", , "/wx/supplierItem/**", "/wx/shareRecord/**", "/wx/distributionOrder/**", "/wx/selfPage/**", "/wx/auctionRecord/**",
"/wx/shareRecord/**","/wx/collectionBook/**", "/wx/collectedRecord/**", "/wx/collectionItemsRelation/**","/wx/collectionShareRecord/**" "/wx/shareRecord/**","/wx/collectionBook/**", "/wx/collectedRecord/**", "/wx/collectionItemsRelation/**","/wx/collectionShareRecord/**"
......
package com.wwdz.ch.wx.impl.openShop; package com.wwdz.ch.wx.impl.openShop;
import com.drew.metadata.adobe.AdobeJpegDescriptor;
import com.wwdz.ch.core.api.wxpay.WxPayServiceApi; import com.wwdz.ch.core.api.wxpay.WxPayServiceApi;
import com.wwdz.ch.core.consts.CommConsts; import com.wwdz.ch.core.consts.CommConsts;
import com.wwdz.ch.core.consts.CommonEnum; import com.wwdz.ch.core.consts.CommonEnum;
......
...@@ -22,6 +22,8 @@ import org.springframework.boot.test.context.SpringBootTest; ...@@ -22,6 +22,8 @@ import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import java.io.InputStream; import java.io.InputStream;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date; import java.util.Date;
import java.util.List; import java.util.List;
...@@ -77,8 +79,8 @@ public class OfficialAccountApiTest { ...@@ -77,8 +79,8 @@ public class OfficialAccountApiTest {
public void sendSms() { public void sendSms() {
// String url = wxAppletApi.getUrlLink(CommConsts.ITEM_OF_GROUPPURCHASE_URL,"itemId=" + 32894809); // String url = wxAppletApi.getUrlLink(CommConsts.ITEM_OF_GROUPPURCHASE_URL,"itemId=" + 32894809);
//发短信 //发短信
String msg = "您的平台换藏订单因对方未寄到平台,目前订单已取消,为表示歉意,平台送您一枚天禧通宝钱币,祝您生活愉快!"; String msg = "您有多笔出价订单未付款,请尽快完成付款,过时将限制您拍卖出价功能。";
aliSmsSender.sendSms("13365063959", msg); aliSmsSender.sendSms("17334331913", msg);
} }
...@@ -119,4 +121,18 @@ public class OfficialAccountApiTest { ...@@ -119,4 +121,18 @@ public class OfficialAccountApiTest {
aliSmsSender.sendSms("13645712452", msg);*/ aliSmsSender.sendSms("13645712452", msg);*/
} }
@Test
public void batchSendSms() {
String linkUrl = wxAppletApi.getUrlLink("/pages/applyShop/index", null);
List<String> phoneList = Arrays.asList("15040040474", "15621269992", "17683937803", "13810094383", "18340905657", "19991859080"
, "18530759591", "18241721295", "13522316571", "15665758671", "13967099711", "18654556018", "13810389145", "13970159628"
,"15307386438", "15658172105", "15032048235", "13542800460", "13573257019", "13142677777");
for (String phone : phoneList) {
//发短信
String msg = "您已符合个人卖家开店要求,诚邀您开店,详情点击 " + linkUrl;
// aliSmsSender.sendSms(phone, msg);
}
}
} }
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment