This commit is contained in:
2025-04-23 18:38:42 +08:00
parent 960b7478e2
commit 0d7ed208b1
@@ -252,7 +252,7 @@ class SMSOutgoingListener extends BaseBatch {
}else { }else {
SendSmsResponse sendSmsResponse = doOutgoingMessage(mobile, content) SendSmsResponse sendSmsResponse = doOutgoingMessage(mobile, content)
ObjectId id = ObjectId.get() ObjectId id = ObjectId.get()
println "发送\t[id:" + id.toString() + ",mobile:" + mobile + "]\t" + sendSmsResponse.code + ":" + sendSmsResponse.message + "\t" + DateUtil.formatToTightYYYYMMDDhhmmss(new Date()) println "发送\t[id:" + id.toString() + ",mobile:" + mobile +", content:"+content+ "]\t" + sendSmsResponse.code + ":" + sendSmsResponse.message + "\t" + DateUtil.formatToTightYYYYMMDDhhmmss(new Date())
DBObject msgObj = new BasicDBObject() DBObject msgObj = new BasicDBObject()
msgObj.put('_id', id) msgObj.put('_id', id)
msgObj.put('mobile', mobile) msgObj.put('mobile', mobile)