Merge branch 'script_gj' into 'master'
add test See merge request !1134
This commit is contained in:
+1
-1
@@ -252,7 +252,7 @@ class SMSOutgoingListener extends BaseBatch {
|
||||
}else {
|
||||
SendSmsResponse sendSmsResponse = doOutgoingMessage(mobile, content)
|
||||
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()
|
||||
msgObj.put('_id', id)
|
||||
msgObj.put('mobile', mobile)
|
||||
|
||||
Reference in New Issue
Block a user