数据上报错误
parent
e347397922
commit
949cc3cf50
|
@ -122,7 +122,7 @@ public class GameApplication {
|
|||
|
||||
|
||||
private static void initReportLog(){
|
||||
File file = new File("reportLog_"+GameApplication.serverId);
|
||||
File file = new File("../reportLog_"+GameApplication.serverId);
|
||||
if(!file.exists()){
|
||||
boolean mkdirs = file.mkdirs();//创建目录
|
||||
if(!mkdirs){
|
||||
|
|
|
@ -22,7 +22,7 @@ import java.util.concurrent.BlockingQueue;
|
|||
* @discribe
|
||||
*/
|
||||
public class ReportUtil {
|
||||
private static final String LOG_PATH = "reportLog_"+GameApplication.serverId;
|
||||
private static final String LOG_PATH = "../reportLog_"+GameApplication.serverId;
|
||||
|
||||
private static Map<Integer,ReportBaseBean> baseBeanMap = new HashMap<>();
|
||||
|
||||
|
|
|
@ -416,7 +416,11 @@ public class ExpeditionLogic {
|
|||
continue;
|
||||
}
|
||||
Set<ExpeditionNodeInfo> tempnode = getNode(sExpeditionFloorConfig, typeArr[0], typeArr[1]);
|
||||
|
||||
tempnode.forEach(nodeInfo -> {
|
||||
if(indexList.size()==0){
|
||||
return;
|
||||
}
|
||||
nodeInfo.setLay(lay-orDefault);
|
||||
if (nodeInfo.getLay() == 2) {
|
||||
nodeInfo.setState(NODESTATE_NOT_PASS);
|
||||
|
|
Loading…
Reference in New Issue