Sfoglia il codice sorgente

mongodb访问方式变更

tags/v1.0.0^2
林万龙 3 anni fa
parent
commit
99721a6ff0
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  1. +1
    -2
      src/main/java/com/telpo/dipperposition/service/impl/DipperAstPosAsyncTaskServiceImpl.java

+ 1
- 2
src/main/java/com/telpo/dipperposition/service/impl/DipperAstPosAsyncTaskServiceImpl.java Vedi File

@@ -85,7 +85,6 @@ public class DipperAstPosAsyncTaskServiceImpl implements IDipperAstPosAsyncTaskS
}

// 将IP对应的省会保存到mongoDB
@Async("asyncServiceExecutor")
public void createIPProvince(String ipAddress, String province) {
log.debug("异步创建推送失败任务记录!");
try {
@@ -105,7 +104,7 @@ public class DipperAstPosAsyncTaskServiceImpl implements IDipperAstPosAsyncTaskS
* @param ipAddress
*/
@Override
@Async("asyncServiceExecutor")
//@Async("asyncServiceExecutor")
public String pushAstPos(String ipAddress) {
this.ipPositionRequestKey = positionConfig.getIpPositionRequestKey();
this.ipPositionRequestPath = positionConfig.getIpPositionRequestPath();


Loading…
Annulla
Salva