|
|
@ -4,17 +4,11 @@ import com.alibaba.fastjson.JSONObject; |
|
|
|
import com.yxt.common.core.result.ResultBean; |
|
|
|
import com.yxt.supervise.report.aes.AesException; |
|
|
|
import com.yxt.supervise.report.aes.WXBizMsgCrypt; |
|
|
|
import com.yxt.supervise.report.api.csmcashreport.CsmCashReport; |
|
|
|
import com.yxt.supervise.report.api.csmcashreport.CsmCashReportVo; |
|
|
|
import com.yxt.supervise.report.api.reportinventorydaygather.ReportInventoryDayGatherVo; |
|
|
|
import com.yxt.supervise.report.api.wechat.Template; |
|
|
|
import com.yxt.supervise.report.api.wechat.WeChatTemplateMsg; |
|
|
|
import com.yxt.supervise.report.biz.csmcashreport.CsmCashReportMapper; |
|
|
|
import com.yxt.supervise.report.biz.csmcashreport.CsmCashReportService; |
|
|
|
import com.yxt.supervise.report.biz.csmcashreportcashedtoday.CsmCashReportCashedTodayService; |
|
|
|
import com.yxt.supervise.report.biz.csmcashreportsalesyesterday.CsmCashReportSalesYesterdayService; |
|
|
|
import com.yxt.supervise.report.biz.reportinventory.ReportInventoryDayGatherMapper; |
|
|
|
import com.yxt.supervise.report.biz.reportinventory.ReportInventoryService; |
|
|
|
import com.yxt.supervise.report.biz.util.WeixinCheckoutUtil; |
|
|
|
import io.swagger.annotations.Api; |
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
@ -153,8 +147,9 @@ public class WechatRest { |
|
|
|
String wxUrl = WX_URL_MESSAGE_SEND.replace("ACCESS_TOKEN", accessToken); |
|
|
|
List<String> openIds=new ArrayList<>(); |
|
|
|
openIds.add("otnrM57kui-WCUmRtChhb1HguOgw"); |
|
|
|
openIds.add("otnrM544hxIgkMOfaDU8VpJhj_6k"); |
|
|
|
//openIds.add("otnrM5ySvUo7ZZc4qafWzM9eyKBk");
|
|
|
|
// openIds.add("otnrM544hxIgkMOfaDU8VpJhj_6k");
|
|
|
|
// openIds.add("otnrM5ySvUo7ZZc4qafWzM9eyKBk");
|
|
|
|
// openIds.add("otnrM521f8KcCsRfL2Jj4Tk8np1g");
|
|
|
|
JSONObject jsonObject=new JSONObject(); |
|
|
|
for(String openId:openIds){ |
|
|
|
sendMag.put("character_string2", new Template(csmCashReportVo.getSerialNumber())); |
|
|
|