|
|
|
@@ -48,7 +48,7 @@ public class MsgSendingSchedule { |
|
|
|
public void sendmsg(WxMsg wxMsg){ |
|
|
|
//从短信配置中查询密钥 bid 等信息 |
|
|
|
WxMsgConfig wxMsgConfig = new WxMsgConfig(); |
|
|
|
wxMsgConfig.setTenantId("1"); |
|
|
|
wxMsgConfig.setTenantId(wxMsg.getTenantId()); |
|
|
|
List<WxMsgConfig> wxMsgConfigs = wxMsgConfigMapper.findList(wxMsgConfig); |
|
|
|
if (wxMsgConfigs.size() == 0) return; |
|
|
|
wxMsgConfig = wxMsgConfigs.get(0); |
|
|
|
|