数据上报错误

back_recharge
zhangshanxue 2020-09-21 20:06:34 +08:00
parent e347397922
commit 949cc3cf50
3 changed files with 6 additions and 2 deletions

View File

@ -122,7 +122,7 @@ public class GameApplication {
private static void initReportLog(){ private static void initReportLog(){
File file = new File("reportLog_"+GameApplication.serverId); File file = new File("../reportLog_"+GameApplication.serverId);
if(!file.exists()){ if(!file.exists()){
boolean mkdirs = file.mkdirs();//创建目录 boolean mkdirs = file.mkdirs();//创建目录
if(!mkdirs){ if(!mkdirs){

View File

@ -22,7 +22,7 @@ import java.util.concurrent.BlockingQueue;
* @discribe * @discribe
*/ */
public class ReportUtil { 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<>(); private static Map<Integer,ReportBaseBean> baseBeanMap = new HashMap<>();

View File

@ -416,7 +416,11 @@ public class ExpeditionLogic {
continue; continue;
} }
Set<ExpeditionNodeInfo> tempnode = getNode(sExpeditionFloorConfig, typeArr[0], typeArr[1]); Set<ExpeditionNodeInfo> tempnode = getNode(sExpeditionFloorConfig, typeArr[0], typeArr[1]);
tempnode.forEach(nodeInfo -> { tempnode.forEach(nodeInfo -> {
if(indexList.size()==0){
return;
}
nodeInfo.setLay(lay-orDefault); nodeInfo.setLay(lay-orDefault);
if (nodeInfo.getLay() == 2) { if (nodeInfo.getLay() == 2) {
nodeInfo.setState(NODESTATE_NOT_PASS); nodeInfo.setState(NODESTATE_NOT_PASS);