|
@@ -286,7 +286,8 @@ public class IMHelper {
|
|
|
}*/
|
|
|
}
|
|
|
|
|
|
- void againRecord(HttpURLConnection conn,String body,Long registrationId) throws Exception {
|
|
|
+ @Async
|
|
|
+ public void againRecord(HttpURLConnection conn,String body,Long registrationId) throws Exception {
|
|
|
IMApiResultInfo resultInfo = JSON.parseObject(httpHelper.returnResult(conn, body), IMApiResultInfo.class);
|
|
|
if(resultInfo.getResultCode() == 10000){
|
|
|
redisTemplate.opsForValue().set(resultInfo.getRecordId(),registrationId.toString());
|