|
@@ -53,7 +53,7 @@ public class WeComAutoReplyImpl implements WeComAutoReply {
|
|
|
private AutoReplyMsgSendRecordMapper autoReplyMsgSendRecordMapper;
|
|
|
|
|
|
@Override
|
|
|
- public void AutoReplyMessage(String externalUserId, String userId, Long corpId) {
|
|
|
+ public void AutoReplyMessage(String welcomeCode, String externalUserId, String userId, Long corpId) {
|
|
|
if (!Objects.equals(userId, "SongYi")) {
|
|
|
return;
|
|
|
}
|
|
@@ -76,7 +76,7 @@ public class WeComAutoReplyImpl implements WeComAutoReply {
|
|
|
|
|
|
List<AutoReplyMsgSendRecord> autoReplyMsgSendRecords = new ArrayList<>();
|
|
|
JSONObject param = new JSONObject();
|
|
|
- param.put("welcome_code", "CALLBACK_CODE");
|
|
|
+ param.put("welcome_code", welcomeCode);
|
|
|
JSONArray attachments = new JSONArray();
|
|
|
for (MsgData msgData : msgDataList) {
|
|
|
//小程序
|