From 7df1e9f3c9b7c746d0596d9b193800ceb7e0ddb8 Mon Sep 17 00:00:00 2001 From: MickMake Date: Sat, 5 Nov 2022 10:13:16 +1100 Subject: [PATCH] v3.0.0-alpha - mqtt changes --- .idea/workspace.xml | 1251 ++--------------- .../msgDownwardStatusReceipt/data.go | 2 +- .../AppService/acceptPsSharing/data.go | 2 +- iSolarCloud/AppService/activateEmail/data.go | 2 +- iSolarCloud/AppService/addConfig/data.go | 2 +- .../AppService/addDeviceRepair/data.go | 2 +- .../addDeviceToStructureForHousehold/data.go | 2 +- .../data.go | 2 +- iSolarCloud/AppService/addFault/data.go | 2 +- iSolarCloud/AppService/addFaultOrder/data.go | 2 +- iSolarCloud/AppService/addFaultPlan/data.go | 2 +- .../AppService/addFaultRepairSteps/data.go | 2 +- .../AppService/addHouseholdEvaluation/data.go | 2 +- .../addHouseholdLeaveMessage/data.go | 2 +- .../addHouseholdOpinionFeedback/data.go | 2 +- .../AppService/addHouseholdWorkOrder/data.go | 2 +- iSolarCloud/AppService/addOnDutyInfo/data.go | 2 +- iSolarCloud/AppService/addOperRule/data.go | 2 +- .../AppService/addOrDelPsStructure/data.go | 2 +- iSolarCloud/AppService/addOrderStep/data.go | 2 +- .../addPowerStationForHousehold/data.go | 2 +- .../AppService/addPowerStationInfo/data.go | 2 +- .../AppService/addReportConfigEmail/data.go | 2 +- .../AppService/addSysAdvancedParam/data.go | 2 +- iSolarCloud/AppService/addSysOrgNew/data.go | 2 +- iSolarCloud/AppService/aliPayAppTest/data.go | 2 +- iSolarCloud/AppService/auditOperRule/data.go | 2 +- .../AppService/batchAddStationBySn/data.go | 2 +- iSolarCloud/AppService/batchImportSN/data.go | 2 +- .../AppService/batchInsertUserAndOrg/data.go | 2 +- .../data.go | 2 +- .../batchProcessPlantReport/data.go | 2 +- .../AppService/batchUpdateDeviceSim/data.go | 2 +- .../batchUpdateUserIsAgreeGdpr/data.go | 2 +- .../AppService/boundMobilePhone/data.go | 2 +- iSolarCloud/AppService/boundUserMail/data.go | 2 +- .../caculateDeviceInputDiscrete/data.go | 2 +- .../calculateDeviceDiscrete/data.go | 23 +- .../calculateInitialCompensationData/data.go | 2 +- .../AppService/cancelDeliverMail/data.go | 2 +- .../AppService/cancelOrderScan/data.go | 2 +- .../AppService/cancelParamSetTask/data.go | 2 +- .../AppService/cancelPsSharing/data.go | 2 +- .../AppService/cancelRechargeOrder/data.go | 2 +- .../changRechargeOrderToCancel/data.go | 2 +- .../changeHouseholdUser2Installer/data.go | 2 +- .../AppService/changeRemoteParam/data.go | 24 +- .../AppService/checkDealerOrgCode/data.go | 2 +- .../checkDevSnIsBelongsToUser/data.go | 2 +- .../AppService/checkInverterResult/data.go | 2 +- .../AppService/checkIsCanDoParamSet/data.go | 2 +- iSolarCloud/AppService/checkIsIvScan/data.go | 2 +- .../AppService/checkOssObjectExist/data.go | 2 +- .../AppService/checkServiceIsConnect/data.go | 2 +- .../checkTechnicalParameters/data.go | 2 +- .../AppService/checkUnitStatus/data.go | 2 +- .../checkUpRechargeDevicePaying/data.go | 2 +- .../AppService/checkUserAccountUnique/data.go | 2 +- .../checkUserAccountUniqueAll/data.go | 2 +- .../AppService/checkUserInfoUnique/data.go | 2 +- .../AppService/checkUserIsExist/data.go | 2 +- .../AppService/checkUserListIsExist/data.go | 2 +- .../AppService/checkUserPassword/data.go | 2 +- .../AppService/cloudDeploymentRecord/data.go | 2 +- .../AppService/comfirmParamModel/data.go | 2 +- .../communicationModuleDetail/data.go | 2 +- .../AppService/compareValidateCode/data.go | 2 +- .../AppService/componentInfo2Cloud/data.go | 2 +- iSolarCloud/AppService/confirmFault/data.go | 2 +- iSolarCloud/AppService/confirmIvFault/data.go | 2 +- .../AppService/confirmReportConfig/data.go | 2 +- .../AppService/createAppkeyInfo/data.go | 2 +- .../AppService/createRenewInvoice/data.go | 2 +- .../AppService/dealCommandReply/data.go | 2 +- .../dealDeletePsFailPsDelete/data.go | 2 +- .../dealFailRemoteUpgradeSubTasks/data.go | 2 +- .../dealFailRemoteUpgradeTasks/data.go | 2 +- iSolarCloud/AppService/dealFaultOrder/data.go | 2 +- .../dealGroupStringDisableOrEnable/data.go | 2 +- .../dealNumberOfServiceCalls2Mysql/data.go | 2 +- .../dealParamSettingAfterComplete/data.go | 2 +- .../AppService/dealPsDataSupplement/data.go | 2 +- .../AppService/dealPsReportEmailSend/data.go | 2 +- .../AppService/dealRemoteUpgrade/data.go | 2 +- .../AppService/dealSnElectrifyCheck/data.go | 2 +- .../dealSysDeviceSimFlowInfo/data.go | 2 +- .../AppService/dealSysDeviceSimInfo/data.go | 2 +- .../definiteTimeDealSnExpRemind/data.go | 2 +- .../definiteTimeDealSnStatus/data.go | 2 +- .../AppService/delDeviceRepair/data.go | 2 +- iSolarCloud/AppService/delOperRule/data.go | 2 +- .../delayCallApiResidueTimes/data.go | 2 +- .../AppService/deleteComponent/data.go | 2 +- .../AppService/deleteCustomerEmployee/data.go | 2 +- .../AppService/deleteDeviceAccount/data.go | 2 +- .../AppService/deleteDeviceSimById/data.go | 2 +- .../deleteElectricitySettlementData/data.go | 2 +- .../AppService/deleteFaultPlan/data.go | 2 +- .../AppService/deleteFirmwareFiles/data.go | 2 +- .../deleteHouseholdEvaluation/data.go | 2 +- .../deleteHouseholdLeaveMessage/data.go | 2 +- .../deleteHouseholdWorkOrder/data.go | 2 +- .../deleteInverterSnInChnnl/data.go | 2 +- .../AppService/deleteModuleLog/data.go | 2 +- .../AppService/deleteOnDutyInfo/data.go | 2 +- .../AppService/deleteOperateBillFile/data.go | 2 +- .../AppService/deleteOssObject/data.go | 2 +- .../deletePowerDevicePointById/data.go | 2 +- .../AppService/deletePowerPicture/data.go | 2 +- .../deletePowerRobotInfoBySnAndPsId/data.go | 2 +- .../deletePowerRobotSweepStrategy/data.go | 2 +- .../AppService/deleteProductionData/data.go | 2 +- iSolarCloud/AppService/deletePs/data.go | 2 +- .../AppService/deleteRechargeOrder/data.go | 2 +- .../deleteRegularlyConnectionInfo/data.go | 2 +- .../deleteReportConfigEmailAddr/data.go | 2 +- .../AppService/deleteSysAdvancedParam/data.go | 2 +- .../AppService/deleteSysOrgNew/data.go | 2 +- iSolarCloud/AppService/deleteTemplate/data.go | 2 +- .../deleteUserInfoAllByUserId/data.go | 2 +- .../deviceInputDiscreteDeleteTime/data.go | 2 +- .../deviceInputDiscreteGetTime/data.go | 2 +- .../deviceInputDiscreteInsertTime/data.go | 2 +- .../deviceInputDiscreteUpdateTime/data.go | 2 +- iSolarCloud/AppService/deviceReplace/data.go | 2 +- .../AppService/editDeviceRepair/data.go | 2 +- iSolarCloud/AppService/editOperRule/data.go | 2 +- .../energyPovertyAlleviation/data.go | 2 +- iSolarCloud/AppService/energyTrend/data.go | 2 +- .../exportParamSettingValPDF/data.go | 2 +- .../AppService/exportPlantReportPDF/data.go | 2 +- iSolarCloud/AppService/faultAutoClose/data.go | 2 +- .../faultCloseRemindOrderHandler/data.go | 2 +- .../AppService/findCodeValueList/data.go | 2 +- iSolarCloud/AppService/findEmgOrgInfo/data.go | 2 +- .../AppService/findEnvironmentInfo/data.go | 2 +- .../AppService/findFromHbaseAndRedis/data.go | 2 +- iSolarCloud/AppService/findInfoByuuid/data.go | 2 +- .../AppService/findLossAnalysisList/data.go | 2 +- iSolarCloud/AppService/findOnDutyInfo/data.go | 2 +- .../AppService/findSingleStationPR/data.go | 2 +- .../AppService/findUserPassword/data.go | 2 +- .../genTLSUserSigByUserAccount/data.go | 2 +- .../AppService/generateRandomPassword/data.go | 2 +- .../AppService/getAPIServiceInfo/data.go | 2 +- .../AppService/getAccessedPermission/data.go | 2 +- .../getAllPowerDeviceSetName/data.go | 2 +- .../AppService/getAllUserRemindCount/data.go | 2 +- .../AppService/getAndOutletsAndUnit/data.go | 2 +- .../AppService/getApiCallsForAppkeys/data.go | 2 +- .../getAreaInfoCodeByCounty/data.go | 2 +- iSolarCloud/AppService/getAreaList/data.go | 2 +- .../getAutoCreatePowerStation/data.go | 2 +- .../AppService/getBackReadValue/data.go | 2 +- .../getBatchNewestPointData/data.go | 2 +- .../AppService/getCallApiResidueTimes/data.go | 2 +- .../AppService/getChangedPsListByTime/data.go | 2 +- iSolarCloud/AppService/getCloudList/data.go | 2 +- .../getCloudServiceMappingConfig/data.go | 2 +- .../getCommunicationDeviceConfigInfo/data.go | 2 +- .../getCommunicationModuleMonitorData/data.go | 2 +- .../getComponentModelFactory/data.go | 2 +- iSolarCloud/AppService/getConfigList/data.go | 2 +- .../getConnectionInfoBySnAndLocalPort/data.go | 2 +- iSolarCloud/AppService/getCountDown/data.go | 2 +- .../AppService/getCountryServiceInfo/data.go | 2 +- iSolarCloud/AppService/getCounty/data.go | 2 +- .../AppService/getCustomerEmployee/data.go | 2 +- .../AppService/getCustomerList/data.go | 2 +- .../AppService/getDataFromHBase/data.go | 2 +- .../getDataFromHbaseByRowKey/data.go | 2 +- .../getDevInstalledPowerByPsId/data.go | 2 +- iSolarCloud/AppService/getDevRecord/data.go | 2 +- .../AppService/getDevRunRecordList/data.go | 2 +- .../AppService/getDevSimByList/data.go | 2 +- iSolarCloud/AppService/getDevSimList/data.go | 2 +- .../AppService/getDeviceAccountById/data.go | 2 +- .../getDeviceFaultStatisticsData/data.go | 2 +- iSolarCloud/AppService/getDeviceInfo/data.go | 2 +- .../AppService/getDeviceModelInfoList/data.go | 2 +- .../getDevicePointMinuteDataList/data.go | 2 +- .../AppService/getDevicePoints/data.go | 2 +- .../AppService/getDevicePropertys/data.go | 2 +- .../AppService/getDeviceRepairDetail/data.go | 2 +- .../getDeviceTechBranchCount/data.go | 2 +- .../AppService/getDeviceTypeInfoList/data.go | 2 +- .../AppService/getDeviceTypeList/data.go | 2 +- iSolarCloud/AppService/getDstInfo/data.go | 2 +- .../getElectricitySettlementData/data.go | 2 +- .../data.go | 2 +- .../AppService/getEncryptPublicKey/data.go | 2 +- iSolarCloud/AppService/getFaultCount/data.go | 2 +- iSolarCloud/AppService/getFaultDetail/data.go | 2 +- .../AppService/getFaultMsgByFaultCode/data.go | 2 +- .../getFaultMsgListByPageWithYYYYMM/data.go | 2 +- .../getFaultMsgListWithYYYYMM/data.go | 2 +- .../AppService/getFaultPlanList/data.go | 2 +- .../getFileOperationRecordOne/data.go | 2 +- .../getFormulaFaultAnalyseList/data.go | 2 +- .../getGroupStringCheckResult/data.go | 2 +- .../getGroupStringCheckRule/data.go | 2 +- iSolarCloud/AppService/getHisData/data.go | 2 +- iSolarCloud/AppService/getHistoryInfo/data.go | 2 +- .../AppService/getHouseholdEvaluation/data.go | 2 +- .../getHouseholdLeaveMessage/data.go | 2 +- .../getHouseholdOpinionFeedback/data.go | 2 +- .../getHouseholdPsInstallerByUserId/data.go | 2 +- .../AppService/getHouseholdUserInfo/data.go | 2 +- .../getHouseholdWorkOrderInfo/data.go | 2 +- .../getHouseholdWorkOrderList/data.go | 2 +- .../AppService/getI18nConfigByType/data.go | 2 +- .../AppService/getI18nFileInfo/data.go | 2 +- .../AppService/getI18nInfoByKey/data.go | 2 +- iSolarCloud/AppService/getI18nVersion/data.go | 2 +- .../AppService/getInfoFromAMap/data.go | 2 +- .../AppService/getInfomationFromRedis/data.go | 2 +- .../AppService/getInstallInfoList/data.go | 2 +- .../data.go | 2 +- .../AppService/getInvertDataList/data.go | 2 +- .../AppService/getInverterDataCount/data.go | 2 +- .../AppService/getInverterProcess/data.go | 2 +- .../getInverterUuidBytotalId/data.go | 2 +- .../AppService/getIvEchartsData/data.go | 2 +- .../AppService/getIvEchartsDataById/data.go | 2 +- iSolarCloud/AppService/getKpiInfo/data.go | 4 +- .../AppService/getListMiFromHBase/data.go | 2 +- iSolarCloud/AppService/getMapInfo/data.go | 2 +- .../AppService/getMapMiFromHBase/data.go | 2 +- .../AppService/getMenuAndPrivileges/data.go | 2 +- .../getMicrogridEStoragePsReport/data.go | 2 +- .../AppService/getModuleLogInfo/data.go | 2 +- .../AppService/getModuleLogTaskList/data.go | 2 +- .../AppService/getNationProvJSON/data.go | 2 +- .../getNeedOpAsynOpRecordList/data.go | 2 +- iSolarCloud/AppService/getNoticeInfo/data.go | 2 +- .../getNumberOfServiceCalls/data.go | 2 +- iSolarCloud/AppService/getOSSConfig/data.go | 2 +- .../AppService/getOperRuleDetail/data.go | 2 +- .../AppService/getOperateBillFileId/data.go | 2 +- .../getOperateTicketForDetail/data.go | 2 +- .../getOrCreateNetEaseUserToken/data.go | 2 +- .../AppService/getOrderDataList/data.go | 2 +- .../AppService/getOrderDataSql2/data.go | 2 +- iSolarCloud/AppService/getOrderDatas/data.go | 2 +- iSolarCloud/AppService/getOrderDetail/data.go | 2 +- .../AppService/getOrderStatistics/data.go | 2 +- .../AppService/getOrgIdNameByUserId/data.go | 2 +- .../getOrgInfoByDealerOrgCode/data.go | 2 +- .../AppService/getOrgListByName/data.go | 2 +- .../AppService/getOrgListByUserId/data.go | 2 +- .../AppService/getOrgListForUser/data.go | 2 +- .../AppService/getOssObjectStream/data.go | 2 +- .../getOwnerFaultConfigList/data.go | 2 +- .../AppService/getPListinfoFromMysql/data.go | 2 +- .../getParamSetTemplate4NewProtocol/data.go | 2 +- .../getParamSetTemplatePointInfo/data.go | 2 +- .../AppService/getParamterSettingBase/data.go | 2 +- iSolarCloud/AppService/getPhotoInfo/data.go | 2 +- .../AppService/getPlanedOrNotPsList/data.go | 2 +- .../AppService/getPlantReportPDFList/data.go | 2 +- .../getPowerDeviceModelTechList/data.go | 2 +- .../getPowerDeviceModelTree/data.go | 2 +- .../getPowerDevicePointInfo/data.go | 2 +- .../getPowerDevicePointNames/data.go | 2 +- .../getPowerDeviceSetTaskDetailList/data.go | 2 +- .../getPowerDeviceSetTaskList/data.go | 2 +- .../getPowerFormulaFaultAnalyse/data.go | 2 +- .../AppService/getPowerPictureList/data.go | 2 +- .../getPowerRobotInfoByRobotSn/data.go | 2 +- .../getPowerRobotSweepAttrByPsId/data.go | 2 +- .../getPowerRobotSweepStrategy/data.go | 2 +- .../getPowerRobotSweepStrategyList/data.go | 2 +- .../AppService/getPowerSettingCharges/data.go | 2 +- .../getPowerSettingHistoryRecords/data.go | 2 +- .../AppService/getPowerStationPR/data.go | 2 +- .../getPowerStationTableDataSql/data.go | 2 +- .../getPowerStationTableDataSqlCount/data.go | 2 +- .../AppService/getPowerTrendDayData/data.go | 2 +- .../getPrivateCloudValidityPeriod/data.go | 2 +- .../getProvInfoListByNationCode/data.go | 2 +- iSolarCloud/AppService/getPsAuthKey/data.go | 2 +- iSolarCloud/AppService/getPsCurveInfo/data.go | 2 +- .../getPsDataSupplementTaskList/data.go | 2 +- .../getPsDetailByUserTokens/data.go | 2 +- .../getPsDetailForSinglePage/data.go | 2 +- .../AppService/getPsInstallerByPsId/data.go | 2 +- .../getPsInstallerOrgInfoByPsId/data.go | 2 +- iSolarCloud/AppService/getPsList/data.go | 2 +- .../AppService/getPsListByName/data.go | 2 +- .../getPsListForPsDataByPsId/data.go | 2 +- .../AppService/getPsListStaticData/data.go | 2 +- iSolarCloud/AppService/getPsUser/data.go | 2 +- .../AppService/getRechargeOrderDetail/data.go | 2 +- .../getRechargeOrderItemDeviceList/data.go | 2 +- .../AppService/getRechargeOrderList/data.go | 2 +- .../AppService/getRegionalTree/data.go | 2 +- .../getRemoteParamSettingList/data.go | 2 +- .../getRemoteUpgradeDeviceList/data.go | 2 +- .../getRemoteUpgradeScheduleDetails/data.go | 2 +- .../getRemoteUpgradeSubTasksList/data.go | 2 +- .../getRemoteUpgradeTaskList/data.go | 2 +- .../getReportEmailConfigInfo/data.go | 2 +- .../AppService/getReportExportColumns/data.go | 2 +- .../AppService/getReportListByUserId/data.go | 2 +- .../getRobotNumAndSweepCapacity/data.go | 2 +- iSolarCloud/AppService/getRuleUnit/data.go | 2 +- .../getSendReportConfigCron/data.go | 2 +- iSolarCloud/AppService/getSerialNum/data.go | 2 +- .../getShieldMapConditionList/data.go | 2 +- .../AppService/getSimIdBySnList/data.go | 2 +- .../AppService/getSingleIVData/data.go | 2 +- .../AppService/getSnChangeRecord/data.go | 2 +- .../AppService/getSnConnectionInfo/data.go | 2 +- .../AppService/getStationInfoSql/data.go | 2 +- .../AppService/getSungwsConfigCache/data.go | 2 +- .../getSungwsGlobalConfigCache/data.go | 2 +- .../getSweepDevParamSetTemplate/data.go | 2 +- .../AppService/getSweepRobotDevList/data.go | 2 +- iSolarCloud/AppService/getSysMsg/data.go | 2 +- .../AppService/getSysOrgNewList/data.go | 2 +- .../AppService/getSysOrgNewOne/data.go | 2 +- iSolarCloud/AppService/getSysUserById/data.go | 2 +- .../AppService/getTableDataSql/data.go | 2 +- .../AppService/getTableDataSqlCount/data.go | 2 +- .../AppService/getTemplateByInfoType/data.go | 2 +- .../AppService/getTemplateList/data.go | 2 +- .../AppService/getUUIDByUpuuid/data.go | 2 +- iSolarCloud/AppService/getUpTimePoint/data.go | 2 +- iSolarCloud/AppService/getUserById/data.go | 2 +- .../AppService/getUserByInstaller/data.go | 2 +- .../getUserDevOnlineOffineCount/data.go | 2 +- .../AppService/getUserGDPRAttrs/data.go | 2 +- .../getUserHavePowerStationCount/data.go | 2 +- .../getUserInfoByUserAccounts/data.go | 2 +- iSolarCloud/AppService/getUserList/data.go | 2 +- .../AppService/getUserPsOrderList/data.go | 2 +- .../AppService/getValFromHBase/data.go | 2 +- .../AppService/getValidateCode/data.go | 2 +- .../getValidateCodeAtRegister/data.go | 2 +- iSolarCloud/AppService/getWeatherInfo/data.go | 2 +- .../AppService/getWechatPushConfig/data.go | 2 +- iSolarCloud/AppService/getWorkInfo/data.go | 2 +- .../AppService/groupStringCheck/data.go | 2 +- .../handleDevByCommunicationSN/data.go | 2 +- .../AppService/householdResetPassBySN/data.go | 2 +- .../AppService/immediatePayment/data.go | 2 +- .../AppService/importExcelData/data.go | 2 +- .../AppService/incomeStatistics/data.go | 2 +- iSolarCloud/AppService/informPush/data.go | 2 +- .../AppService/insertEmgOrgInfo/data.go | 2 +- .../insightSynDeviceStructure2Cloud/data.go | 2 +- .../AppService/intoDataToHbase/data.go | 2 +- .../AppService/ipLocationQuery/data.go | 2 +- iSolarCloud/AppService/isHave2GSn/data.go | 2 +- .../judgeDevIsHasInitSetTemplate/data.go | 2 +- .../AppService/judgeIsSettingMan/data.go | 2 +- iSolarCloud/AppService/listOssFiles/data.go | 2 +- iSolarCloud/AppService/loadAreaInfo/data.go | 2 +- .../AppService/loadPowerStation/data.go | 2 +- iSolarCloud/AppService/login/data.go | 2 +- iSolarCloud/AppService/loginByToken/data.go | 2 +- iSolarCloud/AppService/logout/data.go | 2 +- .../AppService/mobilePhoneHasBound/data.go | 2 +- .../AppService/modifiedDeviceInfo/data.go | 2 +- .../AppService/modifyEmgOrgStruc/data.go | 2 +- .../AppService/modifyFaultPlan/data.go | 2 +- .../AppService/modifyOnDutyInfo/data.go | 2 +- iSolarCloud/AppService/modifyPassword/data.go | 2 +- .../AppService/modifyPersonalUnitList/data.go | 2 +- iSolarCloud/AppService/modifyPsUser/data.go | 2 +- .../AppService/moduleLogParamSet/data.go | 2 +- iSolarCloud/AppService/operateOssFile/data.go | 2 +- .../operationPowerRobotSweepStrategy/data.go | 2 +- iSolarCloud/AppService/orgPowerReport/data.go | 2 +- .../AppService/paramSetTryAgain/data.go | 2 +- iSolarCloud/AppService/paramSetting/data.go | 2 +- iSolarCloud/AppService/planPower/data.go | 2 +- .../AppService/powerDevicePointList/data.go | 2 +- .../AppService/powerTrendChartData/data.go | 2 +- .../AppService/queryAllPsIdAndName/data.go | 2 +- .../queryBatchCreatePsTaskList/data.go | 2 +- .../data.go | 2 +- .../AppService/queryCardStatusCTCC/data.go | 2 +- .../AppService/queryChildAccountList/data.go | 2 +- .../queryCompensationRecordData/data.go | 2 +- .../queryCompensationRecordList/data.go | 2 +- iSolarCloud/AppService/queryComponent/data.go | 2 +- .../queryComponentTechnicalParam/data.go | 2 +- .../queryCountryGridAndRelation/data.go | 2 +- .../AppService/queryCountryList/data.go | 2 +- .../AppService/queryCtrlTaskById/data.go | 2 +- .../AppService/queryDeviceList/data.go | 26 +- .../queryDeviceListByUserId/data.go | 2 +- .../AppService/queryDeviceListForApp/data.go | 11 +- .../queryDeviceModelTechnical/data.go | 2 +- .../data.go | 2 +- .../queryDeviceRealTimeDataByPsKeys/data.go | 2 +- .../AppService/queryDeviceRepairList/data.go | 2 +- .../queryDeviceTypeInfoList/data.go | 2 +- .../AppService/queryEnvironmentList/data.go | 2 +- iSolarCloud/AppService/queryFaultList/data.go | 2 +- .../AppService/queryFaultPlanDetail/data.go | 2 +- .../AppService/queryFaultRepairSteps/data.go | 2 +- .../queryFaultTypeAndLevelByCode/data.go | 2 +- .../AppService/queryFaultTypeByDevice/data.go | 2 +- .../queryFaultTypeByDevicePage/data.go | 2 +- .../AppService/queryFirmwareFilesPage/data.go | 2 +- .../AppService/queryInfotoAlert/data.go | 2 +- .../AppService/queryInverterModelList/data.go | 2 +- .../queryInverterVersionList/data.go | 2 +- .../AppService/queryM2MCardInfoCMCC/data.go | 2 +- .../queryM2MCardTermInfoCMCC/data.go | 2 +- .../queryModelInfoByModelId/data.go | 2 +- .../AppService/queryMutiPointDataList/data.go | 2 +- .../AppService/queryNoticeList/data.go | 2 +- .../queryNumberOfRenewalReminders/data.go | 2 +- iSolarCloud/AppService/queryOperRules/data.go | 2 +- iSolarCloud/AppService/queryOrderList/data.go | 2 +- iSolarCloud/AppService/queryOrderStep/data.go | 2 +- .../queryOrgGenerationReport/data.go | 2 +- .../AppService/queryOrgInfoList/data.go | 2 +- .../queryOrgPowerElecPercent/data.go | 2 +- .../queryOrgPsCompensationRecordList/data.go | 2 +- .../AppService/queryParamSettingTask/data.go | 2 +- .../AppService/queryPersonalUnitList/data.go | 2 +- .../AppService/queryPointDataTopOne/data.go | 2 +- .../queryPsAreaByUserIdAndAreaCode/data.go | 2 +- .../queryPsCompensationRecordList/data.go | 2 +- .../AppService/queryPsDataByDate/data.go | 2 +- iSolarCloud/AppService/queryPsIdList/data.go | 2 +- .../queryPsListByUserIdAndAreaCode/data.go | 2 +- .../AppService/queryPsNameByPsId/data.go | 2 +- .../AppService/queryPsPrByDate/data.go | 2 +- .../data.go | 2 +- .../AppService/queryPsStructureList/data.go | 2 +- .../queryPuuidsByCommandTotalId/data.go | 2 +- .../queryPuuidsByCommandTotalId2/data.go | 2 +- .../AppService/queryRepairRuleList/data.go | 2 +- .../queryReportListForManagementPage/data.go | 2 +- iSolarCloud/AppService/queryReportMsg/data.go | 2 +- iSolarCloud/AppService/querySharingPs/data.go | 2 +- .../AppService/querySysAdvancedParam/data.go | 2 +- iSolarCloud/AppService/queryTimeBySN/data.go | 2 +- .../AppService/queryTrafficByDateCTCC/data.go | 2 +- .../AppService/queryTrafficCTCC/data.go | 2 +- iSolarCloud/AppService/queryUnitList/data.go | 4 +- .../AppService/queryUnitUuidBytotalId/data.go | 2 +- .../AppService/queryUserBtnPri/data.go | 2 +- .../AppService/queryUserByUserIds/data.go | 2 +- .../queryUserExtensionAttribute/data.go | 2 +- .../AppService/queryUserForStep/data.go | 2 +- iSolarCloud/AppService/queryUserList/data.go | 2 +- .../AppService/queryUserProcessPri/data.go | 2 +- .../AppService/queryUserWechatBindRel/data.go | 2 +- .../queryUuidByTotalIdAndUuid/data.go | 2 +- .../AppService/rechargeOrderSetMeal/data.go | 2 +- .../renewSendReportConfirmEmail/data.go | 2 +- .../AppService/saveCustomerEmployee/data.go | 2 +- iSolarCloud/AppService/saveDevSimList/data.go | 2 +- .../saveDeviceAccountBatchData/data.go | 2 +- .../saveEnviromentIncomeInfos/data.go | 2 +- .../AppService/saveEnvironmentCurve/data.go | 2 +- .../AppService/saveFirmwareFile/data.go | 2 +- .../AppService/saveIncomeSettingInfos/data.go | 2 +- .../saveOrUpdateGroupStringCheckRule/data.go | 2 +- iSolarCloud/AppService/saveParamModel/data.go | 2 +- .../AppService/savePowerCharges/data.go | 2 +- .../AppService/savePowerDevicePoint/data.go | 2 +- .../AppService/savePowerRobotInfo/data.go | 2 +- .../savePowerRobotSweepAttr/data.go | 2 +- .../savePowerSettingCharges/data.go | 2 +- .../AppService/savePowerSettingInfo/data.go | 2 +- .../saveProductionBatchData/data.go | 2 +- .../AppService/saveRechargeOrderObj/data.go | 2 +- .../saveRechargeOrderOtherInfo/data.go | 2 +- iSolarCloud/AppService/saveRepair/data.go | 2 +- .../saveReportExportColumns/data.go | 2 +- iSolarCloud/AppService/saveSetParam/data.go | 2 +- iSolarCloud/AppService/saveSysUserMsg/data.go | 2 +- iSolarCloud/AppService/saveTemplate/data.go | 2 +- .../AppService/searchM2MMonthFlowCMCC/data.go | 2 +- .../selectSysTranslationNames/data.go | 2 +- .../sendPsTimeZoneInstruction/data.go | 2 +- .../setUpFormulaFaultAnalyse/data.go | 2 +- .../AppService/setUserGDPRAttrs/data.go | 2 +- iSolarCloud/AppService/settingNotice/data.go | 2 +- iSolarCloud/AppService/shareMyPs/data.go | 2 +- iSolarCloud/AppService/sharePsBySN/data.go | 2 +- .../AppService/showInverterByUnit/data.go | 2 +- .../AppService/showOnlineUsers/data.go | 2 +- iSolarCloud/AppService/showWarning/data.go | 2 +- iSolarCloud/AppService/snIsExist/data.go | 2 +- iSolarCloud/AppService/snsIsExist/data.go | 2 +- .../AppService/speedyAddPowerStation/data.go | 2 +- .../stationDeviceHistoryDataList/data.go | 2 +- .../AppService/stationUnitsList/data.go | 2 +- .../AppService/stationsDiscreteData/data.go | 2 +- .../AppService/stationsIncomeList/data.go | 2 +- .../AppService/stationsPointReport/data.go | 2 +- .../AppService/stationsYearPlanReport/data.go | 2 +- .../sureAndImportSelettlementData/data.go | 2 +- .../AppService/sweepDevParamSet/data.go | 2 +- .../AppService/sweepDevRunControl/data.go | 2 +- .../AppService/sweepDevStrategyIssue/data.go | 2 +- .../AppService/sysTimeZoneList/data.go | 2 +- iSolarCloud/AppService/unLockUser/data.go | 2 +- .../AppService/unlockChildAccount/data.go | 2 +- .../updateCommunicationModuleState/data.go | 2 +- .../updateDevInstalledPower/data.go | 2 +- iSolarCloud/AppService/updateFault/data.go | 2 +- .../AppService/updateFaultData/data.go | 2 +- .../updateFaultMsgByFaultCode/data.go | 2 +- .../AppService/updateFaultStatus/data.go | 2 +- .../updateHouseholdWorkOrder/data.go | 2 +- .../updateInverterSn2ModuleSn/data.go | 2 +- .../updateOperateTicketAttachmentId/data.go | 2 +- .../data.go | 2 +- .../AppService/updateOwnerFaultConfig/data.go | 2 +- .../updateParamSettingSysMsg/data.go | 2 +- .../updatePlatformLevelFaultLevel/data.go | 2 +- .../AppService/updatePowerDevicePoint/data.go | 2 +- .../AppService/updatePowerRobotInfo/data.go | 2 +- .../updatePowerRobotSweepAttr/data.go | 2 +- .../updatePowerStationForHousehold/data.go | 2 +- .../AppService/updatePowerStationInfo/data.go | 2 +- .../AppService/updatePowerUserInfo/data.go | 2 +- .../updateReportConfigByEmailAddr/data.go | 2 +- .../AppService/updateShareAttr/data.go | 2 +- .../AppService/updateSnIsSureFlag/data.go | 2 +- .../AppService/updateStationPics/data.go | 2 +- .../AppService/updateSysAdvancedParam/data.go | 2 +- .../AppService/updateSysOrgNew/data.go | 2 +- iSolarCloud/AppService/updateTemplate/data.go | 2 +- .../AppService/updateUinfoNetEaseUser/data.go | 2 +- .../updateUserExtensionAttribute/data.go | 2 +- .../AppService/updateUserLanguage/data.go | 2 +- .../AppService/updateUserPosition/data.go | 2 +- .../AppService/updateUserUpOrg/data.go | 2 +- iSolarCloud/AppService/upgrade/data.go | 2 +- iSolarCloud/AppService/upgrate/data.go | 2 +- .../AppService/uploadFileToOss/data.go | 2 +- .../AppService/userAgreeGdprProtocol/data.go | 2 +- .../AppService/userInfoUniqueCheck/data.go | 2 +- .../AppService/userMailHasBound/data.go | 2 +- iSolarCloud/AppService/userRegister/data.go | 2 +- .../accumEnergyPsKpiData/data.go | 2 +- .../addBuildProgressing/data.go | 2 +- .../deleteBuildProgressing/data.go | 2 +- .../energyEquivalentHoursRanking/data.go | 2 +- .../energyGetRankBySortName/data.go | 2 +- .../energyPovertyAlleviation/data.go | 2 +- .../energyPowerGenerationTrends/data.go | 2 +- .../findSingleStationPR/data.go | 2 +- .../getCapabilityTrend/data.go | 2 +- .../getKpiByUserIdAndAreaCode/data.go | 2 +- .../MttvScreenService/getMapByUser/data.go | 2 +- .../getOrgProByUserId/data.go | 2 +- .../getPlanAndActualPower/data.go | 2 +- .../getPsDeviceListValue/data.go | 2 +- .../getPsInfoWithJoinGridByPsId/data.go | 2 +- .../getPsKpiForHoursByPsId/data.go | 2 +- .../getPsListByMapId/data.go | 2 +- .../getPsListByUserIdAndAreaCode/data.go | 2 +- .../getTheoryAndActualPower/data.go | 2 +- .../nextLevelOrgList/data.go | 2 +- .../nextLevelOrgStatisticalDataList/data.go | 2 +- .../MttvScreenService/orgPowerReport/data.go | 2 +- .../queryBuildProgressing/data.go | 2 +- .../queryBuildProgressingNew/data.go | 2 +- .../queryBuildProgressingOne/data.go | 2 +- .../queryNearlyTwoYearsGenAndPrft/data.go | 2 +- .../querySaveEnergyPsSOH/data.go | 2 +- .../queryScreenUserMdIfo/data.go | 2 +- .../saveOrUpdatePosition/data.go | 2 +- .../updateBuildProgressing/data.go | 2 +- iSolarCloud/NullArea/NullEndpoint/data.go | 2 +- .../queryPointDataTopOne/data.go | 2 +- iSolarCloud/WebAppService/addMaterial/data.go | 2 +- .../WebAppService/addOptTicketInfo/data.go | 2 +- .../WebAppService/addSpareParts/data.go | 2 +- .../associateQueryFaultNames/data.go | 2 +- .../WebAppService/auditPsDeviceCheck/data.go | 2 +- .../WebAppService/calcOutputRankByDay/data.go | 2 +- .../WebAppService/changeReadStatus/data.go | 2 +- .../WebAppService/checkMaterialName/data.go | 2 +- .../WebAppService/confirmFault/data.go | 2 +- .../WebAppService/copeOperateTicket/data.go | 2 +- .../copySecondTypeTicket/data.go | 2 +- .../WebAppService/copyWorkTicket/data.go | 2 +- .../WebAppService/delOptTicketInfo/data.go | 2 +- iSolarCloud/WebAppService/deleteDuty/data.go | 2 +- .../WebAppService/deleteDutyMid/data.go | 2 +- .../WebAppService/deleteMaterial/data.go | 2 +- .../deleteOrSharedSelfReport/data.go | 2 +- .../deleteSecondTypeTicket/data.go | 2 +- .../deleteSparePartsById/data.go | 2 +- .../WebAppService/deleteWorkTicket/data.go | 2 +- .../WebAppService/deviceFactoryList/data.go | 2 +- .../WebAppService/dispartDataPageList/data.go | 2 +- iSolarCloud/WebAppService/executeTask/data.go | 2 +- .../WebAppService/findCurrentTask/data.go | 2 +- .../findDeviceMessageByPskey/data.go | 2 +- .../WebAppService/findFactoryMessage/data.go | 2 +- .../WebAppService/findImgResources/data.go | 2 +- .../WebAppService/findMateiralSubType/data.go | 2 +- .../WebAppService/findMaterialById/data.go | 2 +- .../findMyDealedCurrentTask/data.go | 2 +- .../findMyDealedImgResources/data.go | 2 +- .../findSeriesInverterData/data.go | 2 +- iSolarCloud/WebAppService/findWebRole/data.go | 2 +- .../WebAppService/getAllPsFaultCount/data.go | 2 +- .../getAllPsFaultCountByUserId/data.go | 2 +- .../WebAppService/getAllPsList/data.go | 2 +- iSolarCloud/WebAppService/getAllStore/data.go | 2 +- .../WebAppService/getBaseDeviceInfo/data.go | 2 +- iSolarCloud/WebAppService/getBoxData/data.go | 2 +- iSolarCloud/WebAppService/getCBoxTree/data.go | 2 +- .../WebAppService/getCheckDevTypeList/data.go | 2 +- .../WebAppService/getCheckUserList/data.go | 2 +- iSolarCloud/WebAppService/getChildOrg/data.go | 2 +- iSolarCloud/WebAppService/getCo/data.go | 2 +- .../WebAppService/getCodeTreeMap/data.go | 2 +- iSolarCloud/WebAppService/getDST/data.go | 2 +- .../WebAppService/getDataCounts/data.go | 2 +- iSolarCloud/WebAppService/getDataInfo/data.go | 2 +- iSolarCloud/WebAppService/getDevList/data.go | 2 +- iSolarCloud/WebAppService/getDevName/data.go | 2 +- .../WebAppService/getDevTypeList/data.go | 2 +- .../WebAppService/getDeviceDataList/data.go | 2 +- .../WebAppService/getDeviceFactory/data.go | 2 +- .../getDeviceInfoForCheck/data.go | 2 +- .../WebAppService/getDevicePointAttrs/data.go | 2 +- .../WebAppService/getDeviceTreeChild/data.go | 2 +- .../WebAppService/getDeviceUuid/data.go | 2 +- .../WebAppService/getDutyInfoById/data.go | 2 +- .../WebAppService/getDutyOrgZtree/data.go | 2 +- .../WebAppService/getElecEffectList/data.go | 2 +- .../WebAppService/getEnvironmentInfo/data.go | 2 +- .../WebAppService/getFaultList/data.go | 2 +- .../WebAppService/getFaultName/data.go | 2 +- .../WebAppService/getFaultOrder/data.go | 2 +- .../getFaultOrderByOrderId/data.go | 2 +- .../WebAppService/getFaultOrderList/data.go | 2 +- .../getFaultOrderStepList/data.go | 2 +- .../WebAppService/getHTRoleList/data.go | 2 +- .../WebAppService/getHistoryComments/data.go | 2 +- iSolarCloud/WebAppService/getInfo/data.go | 2 +- .../getInverteTableListCount/data.go | 2 +- .../data.go | 2 +- .../getInverterDiscreteList/data.go | 2 +- .../getInverterFactoryList/data.go | 2 +- .../WebAppService/getInverterInfo/data.go | 2 +- .../WebAppService/getLoadCurveList/data.go | 2 +- .../getMqttConfigInfoByAppkey/data.go | 2 +- .../WebAppService/getMultiPowers/data.go | 2 +- .../WebAppService/getOndutyQuery/data.go | 2 +- .../getOperateTicketUserList/data.go | 2 +- .../getOptTicketsAttachments/data.go | 2 +- .../WebAppService/getOrderCount/data.go | 2 +- .../WebAppService/getOrderData/data.go | 2 +- .../WebAppService/getOrderDataSize/data.go | 2 +- .../getOrgPsEquipmentList/data.go | 2 +- .../data.go | 2 +- .../WebAppService/getParentUidChain/data.go | 2 +- .../WebAppService/getPowerKwhkwpList/data.go | 2 +- .../WebAppService/getPowerPrList/data.go | 2 +- .../getPowerPredictionInfo/data.go | 2 +- .../getPowerTrendDayData/data.go | 2 +- .../getPowerTrendMonthData/data.go | 2 +- .../getPowerTrendYearData/data.go | 2 +- .../WebAppService/getPowerValue/data.go | 2 +- iSolarCloud/WebAppService/getPsBlock/data.go | 2 +- .../WebAppService/getPsBlockData/data.go | 2 +- .../WebAppService/getPsBlockTree/data.go | 2 +- .../WebAppService/getPsBoxListCount/data.go | 2 +- .../WebAppService/getPsCBoxDetail/data.go | 2 +- .../WebAppService/getPsContact/data.go | 2 +- .../WebAppService/getPsDataVal/data.go | 2 +- .../getPsDeviceCheckList/data.go | 2 +- .../getPsDeviceFaultList/data.go | 2 +- .../WebAppService/getPsFaultList/data.go | 2 +- .../WebAppService/getPsIdByUserId/data.go | 2 +- iSolarCloud/WebAppService/getPsList/data.go | 2 +- .../getPsListForWorkTicket/data.go | 2 +- .../WebAppService/getPsPictureMessage/data.go | 2 +- .../getPsTicketSizeAndClockNum/data.go | 2 +- iSolarCloud/WebAppService/getPsTree/data.go | 2 +- .../WebAppService/getPsTreeChild/data.go | 2 +- .../WebAppService/getPsUserList/data.go | 2 +- iSolarCloud/WebAppService/getPsValue/data.go | 2 +- .../WebAppService/getPscSeriseData/data.go | 2 +- .../WebAppService/getReportListByType/data.go | 2 +- .../WebAppService/getReportPsTree/data.go | 2 +- iSolarCloud/WebAppService/getRoleList/data.go | 2 +- .../WebAppService/getSafeEffectList/data.go | 2 +- .../getSecondTypeTicketList/data.go | 2 +- .../data.go | 2 +- .../WebAppService/getSelfReportPoint/data.go | 2 +- .../WebAppService/getSparePartsDetail/data.go | 2 +- .../WebAppService/getStatementList/data.go | 2 +- .../WebAppService/getStoreByStationId/data.go | 2 +- .../WebAppService/getSysUserList/data.go | 2 +- .../WebAppService/getTableList/data.go | 2 +- iSolarCloud/WebAppService/getUserList/data.go | 2 +- iSolarCloud/WebAppService/getWeather/data.go | 2 +- .../WebAppService/getWorkTicketList/data.go | 2 +- .../getWorkTicketListForTicketDetail/data.go | 2 +- .../getWorkTicketRunningCount/data.go | 2 +- .../getWorkTicketUserList/data.go | 2 +- .../WebAppService/getinverterType/data.go | 2 +- .../getreportPermissionByUser/data.go | 2 +- iSolarCloud/WebAppService/handleValue/data.go | 2 +- .../WebAppService/modifyDeviceInfo/data.go | 2 +- .../operaStoreSpareParts/data.go | 2 +- .../operateBillTransferToUser/data.go | 2 +- .../queryAllStockInventory/data.go | 2 +- .../queryBatteryBoardsPointsData/data.go | 2 +- .../WebAppService/queryCodeByType/data.go | 2 +- .../WebAppService/queryDeviceInfoList/data.go | 2 +- .../queryElectricityCalendarData/data.go | 2 +- .../WebAppService/queryFaultCodes/data.go | 2 +- .../queryFaultLevelAndType/data.go | 2 +- .../WebAppService/queryFaultNames/data.go | 2 +- .../WebAppService/queryMaterialType/data.go | 2 +- .../WebAppService/queryNounAndKlgList/data.go | 2 +- .../WebAppService/queryNounList/data.go | 2 +- .../WebAppService/queryOptTickctInfo/data.go | 2 +- .../WebAppService/queryOrgIdByUser/data.go | 2 +- .../WebAppService/queryPsCountryList/data.go | 2 +- .../WebAppService/queryPsProvcnList/data.go | 2 +- .../WebAppService/queryPsTypeByPsId/data.go | 2 +- .../WebAppService/querySparePartsList/data.go | 2 +- .../WebAppService/queryStoreList/data.go | 2 +- .../WebAppService/querySysTimezone/data.go | 2 +- .../queryUnInventorySpareList/data.go | 2 +- .../WebAppService/renewOperation/data.go | 2 +- .../WebAppService/saveCustomReport/data.go | 2 +- .../WebAppService/saveDutyInfo/data.go | 2 +- .../WebAppService/saveInventory/data.go | 2 +- .../WebAppService/saveMaterial/data.go | 2 +- .../saveSecondTypeTicket/data.go | 2 +- .../WebAppService/saveSelfReportPoint/data.go | 2 +- .../WebAppService/saveWorkTicket/data.go | 2 +- .../secondTypeTicketFlowImplementStep/data.go | 2 +- .../secondTypeTicketFlowTransferStep/data.go | 2 +- .../secondTypeUpdateSign/data.go | 2 +- .../WebAppService/selectPowerPageList/data.go | 2 +- .../WebAppService/showAnalyzefxDetail/data.go | 2 +- .../WebAppService/showFxReport/data.go | 2 +- .../WebAppService/showMaterNameList/data.go | 2 +- .../showMaterSubTypeList/data.go | 2 +- .../WebAppService/showTjReport/data.go | 2 +- .../WebAppService/templateLikesInfo/data.go | 2 +- .../WebAppService/updOptTicketInfo/data.go | 2 +- .../updataWorkTicketAfterStartProcess/data.go | 2 +- .../updateBillTicketForTask/data.go | 2 +- .../WebAppService/updateDutyInfo/data.go | 2 +- .../updateKnowledgeBaseUseNumber/data.go | 2 +- .../WebAppService/updateMaterial/data.go | 2 +- .../WebAppService/updateSpareParts/data.go | 2 +- .../WebAppService/updateStopReason/data.go | 2 +- .../WebAppService/updateTemplate/data.go | 2 +- .../addPowerDeviceModel/data.go | 2 +- .../addPowerPointManage/data.go | 2 +- .../addSubTypeDevice/data.go | 2 +- .../batchAddDevicesPropertis/data.go | 2 +- .../WebIscmAppService/batchDelDevice/data.go | 2 +- .../batchSavePowerDeviceTechnical/data.go | 2 +- .../checkDeviceModel/data.go | 2 +- .../contactMessageOpera/data.go | 2 +- .../WebIscmAppService/delDevice/data.go | 2 +- .../deleteDeviceFactory/data.go | 2 +- .../deleteDeviceType/data.go | 2 +- .../WebIscmAppService/deleteMenu/data.go | 2 +- .../WebIscmAppService/deleteOneNotice/data.go | 2 +- .../deleteOrgNodeInfo/data.go | 2 +- .../WebIscmAppService/deletePicture/data.go | 2 +- .../WebIscmAppService/deletePointInfo/data.go | 2 +- .../deletePowerDeviceChannl/data.go | 2 +- .../deletePowerDeviceModel/data.go | 2 +- .../deletePowerDeviceParameterPage/data.go | 2 +- .../deletePowerDeviceSubType/data.go | 2 +- .../deletePowerDeviceTechnical/data.go | 2 +- .../deletePowerStore/data.go | 2 +- .../deleteProcessDefinition/data.go | 2 +- .../WebIscmAppService/deleteReport/data.go | 2 +- .../WebIscmAppService/deleteUserNode/data.go | 2 +- .../WebIscmAppService/deployProcess/data.go | 2 +- .../editProcessManageAction/data.go | 2 +- .../findImageInputStreamString/data.go | 2 +- .../getAllDevTypeList/data.go | 2 +- .../getAllNodeByType/data.go | 2 +- .../WebIscmAppService/getAuthKey/data.go | 2 +- .../WebIscmAppService/getAuthKeyList/data.go | 2 +- .../WebIscmAppService/getCodeByType/data.go | 2 +- .../getContactMessage/data.go | 2 +- .../WebIscmAppService/getCountryNew/data.go | 2 +- .../getDefinitionIdByKey/data.go | 2 +- .../getDeploymentList/data.go | 2 +- .../getDeviceFactoryListByIds/data.go | 2 +- .../WebIscmAppService/getDeviceModel/data.go | 2 +- .../WebIscmAppService/getDevicePro/data.go | 2 +- .../getDeviceSubType/data.go | 2 +- .../getDeviceTechnical/data.go | 2 +- .../WebIscmAppService/getDeviceType/data.go | 2 +- .../getDeviceTypeInfoById/data.go | 2 +- .../WebIscmAppService/getDutyUserList/data.go | 2 +- .../getFatherPrivileges/data.go | 2 +- .../getGroupManSettings/data.go | 2 +- .../getGroupManSettingsMembers/data.go | 2 +- .../getMaterialByListId/data.go | 2 +- .../getMaterialByType/data.go | 2 +- .../WebIscmAppService/getMaterialList/data.go | 2 +- .../WebIscmAppService/getModelPoints/data.go | 2 +- .../getMoneyUnitList/data.go | 2 +- .../WebIscmAppService/getNamecnNew/data.go | 2 +- .../WebIscmAppService/getNationList/data.go | 2 +- .../getOperationRecord/data.go | 2 +- .../getOrgAndChildBasicInfoOptions/data.go | 2 +- .../getOrgAndStateAndCode/data.go | 2 +- .../WebIscmAppService/getOrgForPs/data.go | 2 +- .../WebIscmAppService/getOrgList/data.go | 2 +- .../getOrgListForUser/data.go | 2 +- .../WebIscmAppService/getOrgNodeInfo/data.go | 2 +- .../getOrgStationList/data.go | 2 +- .../getOrgStationListByPage/data.go | 2 +- .../WebIscmAppService/getOrgUserList/data.go | 2 +- .../getOrgUserMapData/data.go | 2 +- .../WebIscmAppService/getOrgZtree/data.go | 2 +- .../getOrgZtree4User/data.go | 2 +- .../getOrgZtreeAsync/data.go | 2 +- .../getOrgZtreeForUser/data.go | 2 +- .../WebIscmAppService/getPictureList/data.go | 2 +- .../WebIscmAppService/getPointInfo/data.go | 2 +- .../getPointInfoPage/data.go | 2 +- .../WebIscmAppService/getPowerDevice/data.go | 2 +- .../getPowerDeviceChannl/data.go | 2 +- .../getPowerDeviceFactory/data.go | 2 +- .../getPowerDeviceFactoryListCount/data.go | 2 +- .../getPowerDeviceInfo/data.go | 2 +- .../getPowerDeviceModelList/data.go | 2 +- .../getPowerDeviceModelTechList/data.go | 2 +- .../getPowerDeviceTypeList/data.go | 2 +- .../getPowerPlanList/data.go | 2 +- .../WebIscmAppService/getPowerStation/data.go | 2 +- .../getPowerStationInfo/data.go | 2 +- .../getPowerStationList/data.go | 2 +- .../WebIscmAppService/getPowerStore/data.go | 2 +- .../WebIscmAppService/getProvcnNew/data.go | 2 +- .../WebIscmAppService/getPsTreeMenu/data.go | 2 +- .../getRoleByUserIds/data.go | 2 +- .../getRootOrgInfoByUserId/data.go | 2 +- .../getSettingUserMapData/data.go | 2 +- .../WebIscmAppService/getStateNew/data.go | 2 +- .../getSubTypeDevice/data.go | 2 +- .../WebIscmAppService/getSysHomeList2/data.go | 2 +- .../WebIscmAppService/getSysMenu/data.go | 2 +- .../WebIscmAppService/getSysOrgPro/data.go | 2 +- .../WebIscmAppService/getSysUser/data.go | 2 +- .../getSystemOrgInfo/data.go | 2 +- .../getSystemRoleInfo/data.go | 2 +- .../getSystemRoleList2/data.go | 2 +- .../WebIscmAppService/getTownValueNew/data.go | 2 +- .../WebIscmAppService/getUserMenuLs/data.go | 2 +- .../WebIscmAppService/getUserOrgPage/data.go | 2 +- .../WebIscmAppService/getVillageList/data.go | 2 +- .../getVillageListNew/data.go | 2 +- .../getZtreeAsyncSysMenu/data.go | 2 +- .../getZtreeChildMenu/data.go | 2 +- .../WebIscmAppService/getZtreeMenu/data.go | 2 +- .../WebIscmAppService/getZtreeSysMenu/data.go | 2 +- .../getZtreeSysMenu2/data.go | 2 +- .../goToDevicePropertyPage/data.go | 2 +- .../WebIscmAppService/isCanAddUser/data.go | 2 +- .../isHasIrradiationData/data.go | 2 +- .../WebIscmAppService/isHasPlan/data.go | 2 +- .../WebIscmAppService/loadDevice/data.go | 2 +- .../WebIscmAppService/modelPointsPage/data.go | 2 +- .../WebIscmAppService/modifyDevice/data.go | 2 +- .../modifyPowerDeviceChannl/data.go | 2 +- .../WebIscmAppService/modifySysOrg/data.go | 2 +- .../modifySystemMenu/data.go | 2 +- .../modifySystemOrgNode/data.go | 2 +- .../modifySystemRole/data.go | 2 +- .../modifySystemUser/data.go | 2 +- .../WebIscmAppService/publishNotice/data.go | 2 +- .../WebIscmAppService/queryDeviceList/data.go | 2 +- .../WebIscmAppService/queryDutyType/data.go | 2 +- .../queryReportDataById/data.go | 2 +- .../WebIscmAppService/resetPasW/data.go | 2 +- .../WebIscmAppService/saveAuthKey/data.go | 2 +- .../WebIscmAppService/saveDevice/data.go | 2 +- .../saveDeviceFactory/data.go | 2 +- .../WebIscmAppService/saveDeviceType/data.go | 2 +- .../saveIrradiationData/data.go | 2 +- .../WebIscmAppService/saveModelPoints/data.go | 2 +- .../WebIscmAppService/saveNewNotice/data.go | 2 +- .../saveOrUpdateReport/data.go | 2 +- .../WebIscmAppService/saveOrgNode/data.go | 2 +- .../WebIscmAppService/saveOrgUsers/data.go | 2 +- .../WebIscmAppService/savePicture/data.go | 2 +- .../WebIscmAppService/savePointManage/data.go | 2 +- .../savePowerDeviceChannl/data.go | 2 +- .../savePowerDeviceModel/data.go | 2 +- .../savePowerDeviceParameterPage/data.go | 2 +- .../savePowerDeviceSubType/data.go | 2 +- .../savePowerDeviceTechnical/data.go | 2 +- .../WebIscmAppService/savePowerPlan/data.go | 2 +- .../savePowerStationByPowerStore/data.go | 2 +- .../WebIscmAppService/savePowerStore/data.go | 2 +- .../WebIscmAppService/savePsOrg/data.go | 2 +- .../WebIscmAppService/saveRelDevice/data.go | 2 +- .../WebIscmAppService/saveRoleAssign/data.go | 2 +- .../WebIscmAppService/saveSysMenu/data.go | 2 +- .../WebIscmAppService/saveSysOrg/data.go | 2 +- .../WebIscmAppService/saveSysRole/data.go | 2 +- .../WebIscmAppService/saveSysUser/data.go | 2 +- .../WebIscmAppService/saveUserNode/data.go | 2 +- .../WebIscmAppService/saveUserRole/data.go | 2 +- .../searchIrradiationData/data.go | 2 +- .../searchTechnicalNums/data.go | 2 +- .../selectDeviceTypeByPsId/data.go | 2 +- .../selectPowerDeviceTechnicals/data.go | 2 +- .../selectPowerDeviceType/data.go | 2 +- .../setupUserRole4AddUser/data.go | 2 +- .../WebIscmAppService/startWorkFlow/data.go | 2 +- .../WebIscmAppService/updateDevice/data.go | 23 +- .../updateDeviceType/data.go | 2 +- .../updateFaultLevel/data.go | 2 +- .../WebIscmAppService/updateNotice/data.go | 2 +- .../WebIscmAppService/updatePointInfo/data.go | 2 +- .../updatePowerDeviceModel/data.go | 2 +- .../updatePowerDeviceParameterPage/data.go | 2 +- .../updatePowerDeviceSubType/data.go | 2 +- .../updatePowerDeviceTechnical/data.go | 2 +- .../updateProcessManage/data.go | 2 +- .../WebIscmAppService/updateSysOrgPro/data.go | 2 +- .../updateSysRoleValidFlag/data.go | 2 +- .../updateUserValidFlag/data.go | 2 +- .../WebIscmAppService/updateValidFlag/data.go | 2 +- .../WebIscmAppService/viewDeviceModel/data.go | 2 +- .../viewDeviceParameter/data.go | 2 +- .../workFlowImplementStep/data.go | 2 +- .../WebIscmAppService/workFlowIsStart/data.go | 2 +- .../workFlowTransferStep/data.go | 2 +- .../api/GoStruct/output/struct_table.go | 20 +- iSolarCloud/api/GoStruct/struct_data.go | 92 +- iSolarCloud/api/GoStruct/struct_epp.go | 75 +- iSolarCloud/api/GoStruct/struct_reflect.go | 68 +- iSolarCloud/api/GoStruct/struct_table.go | 16 +- .../api/GoStruct/valueTypes/datetime.go | 3 + iSolarCloud/api/GoStruct/valueTypes/point.go | 20 + iSolarCloud/api/GoStruct/valueTypes/types.go | 5 + iSolarCloud/api/struct_data.go | 20 +- iSolarCloud/api/struct_point.go | 5 +- iSolarCloud/data.go | 31 +- 956 files changed, 1264 insertions(+), 2331 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index c3a9eb803..66b2afe4a 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -5,2037 +5,962 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/iSolarCloud/AliSmsService/msgDownwardStatusReceipt/data.go b/iSolarCloud/AliSmsService/msgDownwardStatusReceipt/data.go index e7b8bc546..7dbf70220 100644 --- a/iSolarCloud/AliSmsService/msgDownwardStatusReceipt/data.go +++ b/iSolarCloud/AliSmsService/msgDownwardStatusReceipt/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/acceptPsSharing/data.go b/iSolarCloud/AppService/acceptPsSharing/data.go index 3f5f6d32a..2e6d5a292 100644 --- a/iSolarCloud/AppService/acceptPsSharing/data.go +++ b/iSolarCloud/AppService/acceptPsSharing/data.go @@ -56,7 +56,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/activateEmail/data.go b/iSolarCloud/AppService/activateEmail/data.go index 42833c65b..60fb60679 100644 --- a/iSolarCloud/AppService/activateEmail/data.go +++ b/iSolarCloud/AppService/activateEmail/data.go @@ -56,7 +56,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/addConfig/data.go b/iSolarCloud/AppService/addConfig/data.go index 37524611f..aa2554b67 100644 --- a/iSolarCloud/AppService/addConfig/data.go +++ b/iSolarCloud/AppService/addConfig/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/addDeviceRepair/data.go b/iSolarCloud/AppService/addDeviceRepair/data.go index e5b473d2c..2370b81e3 100644 --- a/iSolarCloud/AppService/addDeviceRepair/data.go +++ b/iSolarCloud/AppService/addDeviceRepair/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/addDeviceToStructureForHousehold/data.go b/iSolarCloud/AppService/addDeviceToStructureForHousehold/data.go index 92b3dd098..02a267e19 100644 --- a/iSolarCloud/AppService/addDeviceToStructureForHousehold/data.go +++ b/iSolarCloud/AppService/addDeviceToStructureForHousehold/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/addDeviceToStructureForHouseholdByPsIdS/data.go b/iSolarCloud/AppService/addDeviceToStructureForHouseholdByPsIdS/data.go index ca553f31d..16c6757ac 100644 --- a/iSolarCloud/AppService/addDeviceToStructureForHouseholdByPsIdS/data.go +++ b/iSolarCloud/AppService/addDeviceToStructureForHouseholdByPsIdS/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/addFault/data.go b/iSolarCloud/AppService/addFault/data.go index 2acfa062d..897429f0e 100644 --- a/iSolarCloud/AppService/addFault/data.go +++ b/iSolarCloud/AppService/addFault/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/addFaultOrder/data.go b/iSolarCloud/AppService/addFaultOrder/data.go index 157eec5a5..61b41aadd 100644 --- a/iSolarCloud/AppService/addFaultOrder/data.go +++ b/iSolarCloud/AppService/addFaultOrder/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/addFaultPlan/data.go b/iSolarCloud/AppService/addFaultPlan/data.go index 5df0b1f46..66673b2b1 100644 --- a/iSolarCloud/AppService/addFaultPlan/data.go +++ b/iSolarCloud/AppService/addFaultPlan/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/addFaultRepairSteps/data.go b/iSolarCloud/AppService/addFaultRepairSteps/data.go index 2d43ef2ca..8b7ecd64e 100644 --- a/iSolarCloud/AppService/addFaultRepairSteps/data.go +++ b/iSolarCloud/AppService/addFaultRepairSteps/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/addHouseholdEvaluation/data.go b/iSolarCloud/AppService/addHouseholdEvaluation/data.go index 8d824c262..41b51fd85 100644 --- a/iSolarCloud/AppService/addHouseholdEvaluation/data.go +++ b/iSolarCloud/AppService/addHouseholdEvaluation/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/addHouseholdLeaveMessage/data.go b/iSolarCloud/AppService/addHouseholdLeaveMessage/data.go index 78397430d..f2531bec3 100644 --- a/iSolarCloud/AppService/addHouseholdLeaveMessage/data.go +++ b/iSolarCloud/AppService/addHouseholdLeaveMessage/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/addHouseholdOpinionFeedback/data.go b/iSolarCloud/AppService/addHouseholdOpinionFeedback/data.go index 87a41875c..e2fac4222 100644 --- a/iSolarCloud/AppService/addHouseholdOpinionFeedback/data.go +++ b/iSolarCloud/AppService/addHouseholdOpinionFeedback/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/addHouseholdWorkOrder/data.go b/iSolarCloud/AppService/addHouseholdWorkOrder/data.go index 6b2e8e534..8aa6fa5a9 100644 --- a/iSolarCloud/AppService/addHouseholdWorkOrder/data.go +++ b/iSolarCloud/AppService/addHouseholdWorkOrder/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/addOnDutyInfo/data.go b/iSolarCloud/AppService/addOnDutyInfo/data.go index 38bd144d8..54d2e74ba 100644 --- a/iSolarCloud/AppService/addOnDutyInfo/data.go +++ b/iSolarCloud/AppService/addOnDutyInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/addOperRule/data.go b/iSolarCloud/AppService/addOperRule/data.go index 3eeba581a..290dece3b 100644 --- a/iSolarCloud/AppService/addOperRule/data.go +++ b/iSolarCloud/AppService/addOperRule/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/addOrDelPsStructure/data.go b/iSolarCloud/AppService/addOrDelPsStructure/data.go index d9fc6c7bc..105ad28a3 100644 --- a/iSolarCloud/AppService/addOrDelPsStructure/data.go +++ b/iSolarCloud/AppService/addOrDelPsStructure/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/addOrderStep/data.go b/iSolarCloud/AppService/addOrderStep/data.go index a2b3dad89..59a7a245f 100644 --- a/iSolarCloud/AppService/addOrderStep/data.go +++ b/iSolarCloud/AppService/addOrderStep/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/addPowerStationForHousehold/data.go b/iSolarCloud/AppService/addPowerStationForHousehold/data.go index aecb29ae0..c503f5341 100644 --- a/iSolarCloud/AppService/addPowerStationForHousehold/data.go +++ b/iSolarCloud/AppService/addPowerStationForHousehold/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/addPowerStationInfo/data.go b/iSolarCloud/AppService/addPowerStationInfo/data.go index 92fb4a6da..1e1dcc8a9 100644 --- a/iSolarCloud/AppService/addPowerStationInfo/data.go +++ b/iSolarCloud/AppService/addPowerStationInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/addReportConfigEmail/data.go b/iSolarCloud/AppService/addReportConfigEmail/data.go index 117a29f26..7b6f0ff80 100644 --- a/iSolarCloud/AppService/addReportConfigEmail/data.go +++ b/iSolarCloud/AppService/addReportConfigEmail/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/addSysAdvancedParam/data.go b/iSolarCloud/AppService/addSysAdvancedParam/data.go index 4f3a89aff..2f62d0a7c 100644 --- a/iSolarCloud/AppService/addSysAdvancedParam/data.go +++ b/iSolarCloud/AppService/addSysAdvancedParam/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/addSysOrgNew/data.go b/iSolarCloud/AppService/addSysOrgNew/data.go index 4c7a79178..737ecb757 100644 --- a/iSolarCloud/AppService/addSysOrgNew/data.go +++ b/iSolarCloud/AppService/addSysOrgNew/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/aliPayAppTest/data.go b/iSolarCloud/AppService/aliPayAppTest/data.go index 17e3c6c61..e9e5c0d74 100644 --- a/iSolarCloud/AppService/aliPayAppTest/data.go +++ b/iSolarCloud/AppService/aliPayAppTest/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/auditOperRule/data.go b/iSolarCloud/AppService/auditOperRule/data.go index 7938812a9..386312601 100644 --- a/iSolarCloud/AppService/auditOperRule/data.go +++ b/iSolarCloud/AppService/auditOperRule/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/batchAddStationBySn/data.go b/iSolarCloud/AppService/batchAddStationBySn/data.go index f3f328fd0..db2eb98d0 100644 --- a/iSolarCloud/AppService/batchAddStationBySn/data.go +++ b/iSolarCloud/AppService/batchAddStationBySn/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/batchImportSN/data.go b/iSolarCloud/AppService/batchImportSN/data.go index 2ff457faf..6defbc776 100644 --- a/iSolarCloud/AppService/batchImportSN/data.go +++ b/iSolarCloud/AppService/batchImportSN/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/batchInsertUserAndOrg/data.go b/iSolarCloud/AppService/batchInsertUserAndOrg/data.go index 43fc53e2f..7143bc888 100644 --- a/iSolarCloud/AppService/batchInsertUserAndOrg/data.go +++ b/iSolarCloud/AppService/batchInsertUserAndOrg/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/batchModifyDevicesInfoAndPropertis/data.go b/iSolarCloud/AppService/batchModifyDevicesInfoAndPropertis/data.go index 70635d903..a2ed01dce 100644 --- a/iSolarCloud/AppService/batchModifyDevicesInfoAndPropertis/data.go +++ b/iSolarCloud/AppService/batchModifyDevicesInfoAndPropertis/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/batchProcessPlantReport/data.go b/iSolarCloud/AppService/batchProcessPlantReport/data.go index 7da0ccfa2..801c855c8 100644 --- a/iSolarCloud/AppService/batchProcessPlantReport/data.go +++ b/iSolarCloud/AppService/batchProcessPlantReport/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/batchUpdateDeviceSim/data.go b/iSolarCloud/AppService/batchUpdateDeviceSim/data.go index 71edcbe14..abe2213e2 100644 --- a/iSolarCloud/AppService/batchUpdateDeviceSim/data.go +++ b/iSolarCloud/AppService/batchUpdateDeviceSim/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/batchUpdateUserIsAgreeGdpr/data.go b/iSolarCloud/AppService/batchUpdateUserIsAgreeGdpr/data.go index 424c57210..b76283c94 100644 --- a/iSolarCloud/AppService/batchUpdateUserIsAgreeGdpr/data.go +++ b/iSolarCloud/AppService/batchUpdateUserIsAgreeGdpr/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/boundMobilePhone/data.go b/iSolarCloud/AppService/boundMobilePhone/data.go index 1b1c60baf..732d4815f 100644 --- a/iSolarCloud/AppService/boundMobilePhone/data.go +++ b/iSolarCloud/AppService/boundMobilePhone/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/boundUserMail/data.go b/iSolarCloud/AppService/boundUserMail/data.go index ef1ef03f7..b5d880e3c 100644 --- a/iSolarCloud/AppService/boundUserMail/data.go +++ b/iSolarCloud/AppService/boundUserMail/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/caculateDeviceInputDiscrete/data.go b/iSolarCloud/AppService/caculateDeviceInputDiscrete/data.go index 60f8a8602..670fc11b7 100644 --- a/iSolarCloud/AppService/caculateDeviceInputDiscrete/data.go +++ b/iSolarCloud/AppService/caculateDeviceInputDiscrete/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/calculateDeviceDiscrete/data.go b/iSolarCloud/AppService/calculateDeviceDiscrete/data.go index 5aa3dac6d..0f4c3cded 100644 --- a/iSolarCloud/AppService/calculateDeviceDiscrete/data.go +++ b/iSolarCloud/AppService/calculateDeviceDiscrete/data.go @@ -4,8 +4,8 @@ import ( "GoSungrow/iSolarCloud/api" "GoSungrow/iSolarCloud/api/GoStruct" "GoSungrow/iSolarCloud/api/GoStruct/valueTypes" - "github.com/MickMake/GoUnify/Only" "fmt" + "github.com/MickMake/GoUnify/Only" ) const Url = "/v1/devService/calculateDeviceDiscrete" @@ -34,30 +34,11 @@ func (e *ResultData) IsValid() error { return err } -//type DecodeResultData ResultData -// -//func (e *ResultData) UnmarshalJSON(data []byte) error { -// var err error -// -// for range Only.Once { -// if len(data) == 0 { -// break -// } -// var pd DecodeResultData -// -// // Store ResultData -// _ = json.Unmarshal(data, &pd) -// e.Dummy = pd.Dummy -// } -// -// return err -//} - func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/calculateInitialCompensationData/data.go b/iSolarCloud/AppService/calculateInitialCompensationData/data.go index a4ff0fec9..142254ee9 100644 --- a/iSolarCloud/AppService/calculateInitialCompensationData/data.go +++ b/iSolarCloud/AppService/calculateInitialCompensationData/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/cancelDeliverMail/data.go b/iSolarCloud/AppService/cancelDeliverMail/data.go index 37dc1565f..a476ee422 100644 --- a/iSolarCloud/AppService/cancelDeliverMail/data.go +++ b/iSolarCloud/AppService/cancelDeliverMail/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/cancelOrderScan/data.go b/iSolarCloud/AppService/cancelOrderScan/data.go index 4e8e52fcc..867af11c8 100644 --- a/iSolarCloud/AppService/cancelOrderScan/data.go +++ b/iSolarCloud/AppService/cancelOrderScan/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/cancelParamSetTask/data.go b/iSolarCloud/AppService/cancelParamSetTask/data.go index c3abd3553..0a0136d08 100644 --- a/iSolarCloud/AppService/cancelParamSetTask/data.go +++ b/iSolarCloud/AppService/cancelParamSetTask/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/cancelPsSharing/data.go b/iSolarCloud/AppService/cancelPsSharing/data.go index 305641675..c96ad2947 100644 --- a/iSolarCloud/AppService/cancelPsSharing/data.go +++ b/iSolarCloud/AppService/cancelPsSharing/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/cancelRechargeOrder/data.go b/iSolarCloud/AppService/cancelRechargeOrder/data.go index 9b3a4a247..dd8f841e6 100644 --- a/iSolarCloud/AppService/cancelRechargeOrder/data.go +++ b/iSolarCloud/AppService/cancelRechargeOrder/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/changRechargeOrderToCancel/data.go b/iSolarCloud/AppService/changRechargeOrderToCancel/data.go index 8951dc4b5..38a9b577b 100644 --- a/iSolarCloud/AppService/changRechargeOrderToCancel/data.go +++ b/iSolarCloud/AppService/changRechargeOrderToCancel/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/changeHouseholdUser2Installer/data.go b/iSolarCloud/AppService/changeHouseholdUser2Installer/data.go index 031d39959..9cff33ded 100644 --- a/iSolarCloud/AppService/changeHouseholdUser2Installer/data.go +++ b/iSolarCloud/AppService/changeHouseholdUser2Installer/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/changeRemoteParam/data.go b/iSolarCloud/AppService/changeRemoteParam/data.go index e72257138..6fe8102ce 100644 --- a/iSolarCloud/AppService/changeRemoteParam/data.go +++ b/iSolarCloud/AppService/changeRemoteParam/data.go @@ -4,8 +4,8 @@ import ( "GoSungrow/iSolarCloud/api" "GoSungrow/iSolarCloud/api/GoStruct" "GoSungrow/iSolarCloud/api/GoStruct/valueTypes" - "github.com/MickMake/GoUnify/Only" "fmt" + "github.com/MickMake/GoUnify/Only" ) const Url = "/v1/devService/changeRemoteParam" @@ -25,7 +25,7 @@ func (rd RequestData) Help() string { } -type ResultData struct { +type ResultData []struct { Dummy valueTypes.String `json:"dummy"` } @@ -34,30 +34,12 @@ func (e *ResultData) IsValid() error { return err } -//type DecodeResultData ResultData -// -//func (e *ResultData) UnmarshalJSON(data []byte) error { -// var err error -// -// for range Only.Once { -// if len(data) == 0 { -// break -// } -// var pd DecodeResultData -// -// // Store ResultData -// _ = json.Unmarshal(data, &pd) -// e.Dummy = pd.Dummy -// } -// -// return err -//} func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/checkDealerOrgCode/data.go b/iSolarCloud/AppService/checkDealerOrgCode/data.go index 86fa008da..a4ced58c4 100644 --- a/iSolarCloud/AppService/checkDealerOrgCode/data.go +++ b/iSolarCloud/AppService/checkDealerOrgCode/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/checkDevSnIsBelongsToUser/data.go b/iSolarCloud/AppService/checkDevSnIsBelongsToUser/data.go index 021532696..287b561bf 100644 --- a/iSolarCloud/AppService/checkDevSnIsBelongsToUser/data.go +++ b/iSolarCloud/AppService/checkDevSnIsBelongsToUser/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/checkInverterResult/data.go b/iSolarCloud/AppService/checkInverterResult/data.go index f3e553005..40548102f 100644 --- a/iSolarCloud/AppService/checkInverterResult/data.go +++ b/iSolarCloud/AppService/checkInverterResult/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/checkIsCanDoParamSet/data.go b/iSolarCloud/AppService/checkIsCanDoParamSet/data.go index ea5d6dbde..72299f843 100644 --- a/iSolarCloud/AppService/checkIsCanDoParamSet/data.go +++ b/iSolarCloud/AppService/checkIsCanDoParamSet/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/checkIsIvScan/data.go b/iSolarCloud/AppService/checkIsIvScan/data.go index 030fc9453..7a0242499 100644 --- a/iSolarCloud/AppService/checkIsIvScan/data.go +++ b/iSolarCloud/AppService/checkIsIvScan/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/checkOssObjectExist/data.go b/iSolarCloud/AppService/checkOssObjectExist/data.go index ad8c720a5..123d37093 100644 --- a/iSolarCloud/AppService/checkOssObjectExist/data.go +++ b/iSolarCloud/AppService/checkOssObjectExist/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/checkServiceIsConnect/data.go b/iSolarCloud/AppService/checkServiceIsConnect/data.go index 34d08902f..a4eb63d61 100644 --- a/iSolarCloud/AppService/checkServiceIsConnect/data.go +++ b/iSolarCloud/AppService/checkServiceIsConnect/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/checkTechnicalParameters/data.go b/iSolarCloud/AppService/checkTechnicalParameters/data.go index 87b3f4c68..57f64267c 100644 --- a/iSolarCloud/AppService/checkTechnicalParameters/data.go +++ b/iSolarCloud/AppService/checkTechnicalParameters/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/checkUnitStatus/data.go b/iSolarCloud/AppService/checkUnitStatus/data.go index e0a4f93c7..1c8b70a54 100644 --- a/iSolarCloud/AppService/checkUnitStatus/data.go +++ b/iSolarCloud/AppService/checkUnitStatus/data.go @@ -56,7 +56,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/checkUpRechargeDevicePaying/data.go b/iSolarCloud/AppService/checkUpRechargeDevicePaying/data.go index db8360b02..15ab902bc 100644 --- a/iSolarCloud/AppService/checkUpRechargeDevicePaying/data.go +++ b/iSolarCloud/AppService/checkUpRechargeDevicePaying/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/checkUserAccountUnique/data.go b/iSolarCloud/AppService/checkUserAccountUnique/data.go index 0592b9ef8..e5a513d87 100644 --- a/iSolarCloud/AppService/checkUserAccountUnique/data.go +++ b/iSolarCloud/AppService/checkUserAccountUnique/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/checkUserAccountUniqueAll/data.go b/iSolarCloud/AppService/checkUserAccountUniqueAll/data.go index db6ea6b86..aeb612d30 100644 --- a/iSolarCloud/AppService/checkUserAccountUniqueAll/data.go +++ b/iSolarCloud/AppService/checkUserAccountUniqueAll/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/checkUserInfoUnique/data.go b/iSolarCloud/AppService/checkUserInfoUnique/data.go index debe85fa4..e7f3c56c0 100644 --- a/iSolarCloud/AppService/checkUserInfoUnique/data.go +++ b/iSolarCloud/AppService/checkUserInfoUnique/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/checkUserIsExist/data.go b/iSolarCloud/AppService/checkUserIsExist/data.go index 9d05fd1bc..4d011caf1 100644 --- a/iSolarCloud/AppService/checkUserIsExist/data.go +++ b/iSolarCloud/AppService/checkUserIsExist/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/checkUserListIsExist/data.go b/iSolarCloud/AppService/checkUserListIsExist/data.go index ecf3892c7..a80db4ff6 100644 --- a/iSolarCloud/AppService/checkUserListIsExist/data.go +++ b/iSolarCloud/AppService/checkUserListIsExist/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/checkUserPassword/data.go b/iSolarCloud/AppService/checkUserPassword/data.go index 240ef714d..bd77b00a0 100644 --- a/iSolarCloud/AppService/checkUserPassword/data.go +++ b/iSolarCloud/AppService/checkUserPassword/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/cloudDeploymentRecord/data.go b/iSolarCloud/AppService/cloudDeploymentRecord/data.go index b210c2492..c85fc7d4b 100644 --- a/iSolarCloud/AppService/cloudDeploymentRecord/data.go +++ b/iSolarCloud/AppService/cloudDeploymentRecord/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/comfirmParamModel/data.go b/iSolarCloud/AppService/comfirmParamModel/data.go index 1092091c5..afada4f28 100644 --- a/iSolarCloud/AppService/comfirmParamModel/data.go +++ b/iSolarCloud/AppService/comfirmParamModel/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/communicationModuleDetail/data.go b/iSolarCloud/AppService/communicationModuleDetail/data.go index e648ad481..5af654243 100644 --- a/iSolarCloud/AppService/communicationModuleDetail/data.go +++ b/iSolarCloud/AppService/communicationModuleDetail/data.go @@ -63,7 +63,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/compareValidateCode/data.go b/iSolarCloud/AppService/compareValidateCode/data.go index d4fe713dd..ffb79da8a 100644 --- a/iSolarCloud/AppService/compareValidateCode/data.go +++ b/iSolarCloud/AppService/compareValidateCode/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/componentInfo2Cloud/data.go b/iSolarCloud/AppService/componentInfo2Cloud/data.go index 0eaffde5c..c1aaf4707 100644 --- a/iSolarCloud/AppService/componentInfo2Cloud/data.go +++ b/iSolarCloud/AppService/componentInfo2Cloud/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/confirmFault/data.go b/iSolarCloud/AppService/confirmFault/data.go index ad657b7d4..a9f35969d 100644 --- a/iSolarCloud/AppService/confirmFault/data.go +++ b/iSolarCloud/AppService/confirmFault/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/confirmIvFault/data.go b/iSolarCloud/AppService/confirmIvFault/data.go index 1db1abc91..7ef0f57db 100644 --- a/iSolarCloud/AppService/confirmIvFault/data.go +++ b/iSolarCloud/AppService/confirmIvFault/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/confirmReportConfig/data.go b/iSolarCloud/AppService/confirmReportConfig/data.go index f85b2eb63..dae580e91 100644 --- a/iSolarCloud/AppService/confirmReportConfig/data.go +++ b/iSolarCloud/AppService/confirmReportConfig/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/createAppkeyInfo/data.go b/iSolarCloud/AppService/createAppkeyInfo/data.go index d4e079fc7..2ef0f2920 100644 --- a/iSolarCloud/AppService/createAppkeyInfo/data.go +++ b/iSolarCloud/AppService/createAppkeyInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/createRenewInvoice/data.go b/iSolarCloud/AppService/createRenewInvoice/data.go index 994fc00a5..9e415964b 100644 --- a/iSolarCloud/AppService/createRenewInvoice/data.go +++ b/iSolarCloud/AppService/createRenewInvoice/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/dealCommandReply/data.go b/iSolarCloud/AppService/dealCommandReply/data.go index 5447d2eb0..ac7e366c8 100644 --- a/iSolarCloud/AppService/dealCommandReply/data.go +++ b/iSolarCloud/AppService/dealCommandReply/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/dealDeletePsFailPsDelete/data.go b/iSolarCloud/AppService/dealDeletePsFailPsDelete/data.go index 6580baf1c..cc385b4d0 100644 --- a/iSolarCloud/AppService/dealDeletePsFailPsDelete/data.go +++ b/iSolarCloud/AppService/dealDeletePsFailPsDelete/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/dealFailRemoteUpgradeSubTasks/data.go b/iSolarCloud/AppService/dealFailRemoteUpgradeSubTasks/data.go index 0f8edb4b4..bc8601cec 100644 --- a/iSolarCloud/AppService/dealFailRemoteUpgradeSubTasks/data.go +++ b/iSolarCloud/AppService/dealFailRemoteUpgradeSubTasks/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/dealFailRemoteUpgradeTasks/data.go b/iSolarCloud/AppService/dealFailRemoteUpgradeTasks/data.go index d552ae95e..2cdc0043a 100644 --- a/iSolarCloud/AppService/dealFailRemoteUpgradeTasks/data.go +++ b/iSolarCloud/AppService/dealFailRemoteUpgradeTasks/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/dealFaultOrder/data.go b/iSolarCloud/AppService/dealFaultOrder/data.go index 824cadbb6..c08b03e41 100644 --- a/iSolarCloud/AppService/dealFaultOrder/data.go +++ b/iSolarCloud/AppService/dealFaultOrder/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/dealGroupStringDisableOrEnable/data.go b/iSolarCloud/AppService/dealGroupStringDisableOrEnable/data.go index 3b0b7ca1f..ab8d9b115 100644 --- a/iSolarCloud/AppService/dealGroupStringDisableOrEnable/data.go +++ b/iSolarCloud/AppService/dealGroupStringDisableOrEnable/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/dealNumberOfServiceCalls2Mysql/data.go b/iSolarCloud/AppService/dealNumberOfServiceCalls2Mysql/data.go index 4487e3ab3..502ead6f3 100644 --- a/iSolarCloud/AppService/dealNumberOfServiceCalls2Mysql/data.go +++ b/iSolarCloud/AppService/dealNumberOfServiceCalls2Mysql/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/dealParamSettingAfterComplete/data.go b/iSolarCloud/AppService/dealParamSettingAfterComplete/data.go index a46121dc2..9cb8773f4 100644 --- a/iSolarCloud/AppService/dealParamSettingAfterComplete/data.go +++ b/iSolarCloud/AppService/dealParamSettingAfterComplete/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/dealPsDataSupplement/data.go b/iSolarCloud/AppService/dealPsDataSupplement/data.go index 5a4435524..3ebf95599 100644 --- a/iSolarCloud/AppService/dealPsDataSupplement/data.go +++ b/iSolarCloud/AppService/dealPsDataSupplement/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/dealPsReportEmailSend/data.go b/iSolarCloud/AppService/dealPsReportEmailSend/data.go index e73ed9584..01843d775 100644 --- a/iSolarCloud/AppService/dealPsReportEmailSend/data.go +++ b/iSolarCloud/AppService/dealPsReportEmailSend/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/dealRemoteUpgrade/data.go b/iSolarCloud/AppService/dealRemoteUpgrade/data.go index 2ae8b8f1d..00c04410d 100644 --- a/iSolarCloud/AppService/dealRemoteUpgrade/data.go +++ b/iSolarCloud/AppService/dealRemoteUpgrade/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/dealSnElectrifyCheck/data.go b/iSolarCloud/AppService/dealSnElectrifyCheck/data.go index 7a6ead62e..32f878dd4 100644 --- a/iSolarCloud/AppService/dealSnElectrifyCheck/data.go +++ b/iSolarCloud/AppService/dealSnElectrifyCheck/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/dealSysDeviceSimFlowInfo/data.go b/iSolarCloud/AppService/dealSysDeviceSimFlowInfo/data.go index 7e7f45f42..3a76f31bb 100644 --- a/iSolarCloud/AppService/dealSysDeviceSimFlowInfo/data.go +++ b/iSolarCloud/AppService/dealSysDeviceSimFlowInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/dealSysDeviceSimInfo/data.go b/iSolarCloud/AppService/dealSysDeviceSimInfo/data.go index 2f5cfa50e..6e31267b2 100644 --- a/iSolarCloud/AppService/dealSysDeviceSimInfo/data.go +++ b/iSolarCloud/AppService/dealSysDeviceSimInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/definiteTimeDealSnExpRemind/data.go b/iSolarCloud/AppService/definiteTimeDealSnExpRemind/data.go index 39bd6f8d2..a9d98db1c 100644 --- a/iSolarCloud/AppService/definiteTimeDealSnExpRemind/data.go +++ b/iSolarCloud/AppService/definiteTimeDealSnExpRemind/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/definiteTimeDealSnStatus/data.go b/iSolarCloud/AppService/definiteTimeDealSnStatus/data.go index bf14b761c..22a28e1ba 100644 --- a/iSolarCloud/AppService/definiteTimeDealSnStatus/data.go +++ b/iSolarCloud/AppService/definiteTimeDealSnStatus/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/delDeviceRepair/data.go b/iSolarCloud/AppService/delDeviceRepair/data.go index edc387557..b82a04ff8 100644 --- a/iSolarCloud/AppService/delDeviceRepair/data.go +++ b/iSolarCloud/AppService/delDeviceRepair/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/delOperRule/data.go b/iSolarCloud/AppService/delOperRule/data.go index 6771c4025..b84490b18 100644 --- a/iSolarCloud/AppService/delOperRule/data.go +++ b/iSolarCloud/AppService/delOperRule/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/delayCallApiResidueTimes/data.go b/iSolarCloud/AppService/delayCallApiResidueTimes/data.go index 4dbde1486..5c03c96af 100644 --- a/iSolarCloud/AppService/delayCallApiResidueTimes/data.go +++ b/iSolarCloud/AppService/delayCallApiResidueTimes/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/deleteComponent/data.go b/iSolarCloud/AppService/deleteComponent/data.go index a6059e710..e36975c4d 100644 --- a/iSolarCloud/AppService/deleteComponent/data.go +++ b/iSolarCloud/AppService/deleteComponent/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/deleteCustomerEmployee/data.go b/iSolarCloud/AppService/deleteCustomerEmployee/data.go index 9e68528ec..91edb7275 100644 --- a/iSolarCloud/AppService/deleteCustomerEmployee/data.go +++ b/iSolarCloud/AppService/deleteCustomerEmployee/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/deleteDeviceAccount/data.go b/iSolarCloud/AppService/deleteDeviceAccount/data.go index c81e0bde4..6e2bc93ee 100644 --- a/iSolarCloud/AppService/deleteDeviceAccount/data.go +++ b/iSolarCloud/AppService/deleteDeviceAccount/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/deleteDeviceSimById/data.go b/iSolarCloud/AppService/deleteDeviceSimById/data.go index 5658a6d3f..01d8c1f58 100644 --- a/iSolarCloud/AppService/deleteDeviceSimById/data.go +++ b/iSolarCloud/AppService/deleteDeviceSimById/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/deleteElectricitySettlementData/data.go b/iSolarCloud/AppService/deleteElectricitySettlementData/data.go index b80562400..dfc5e2fa1 100644 --- a/iSolarCloud/AppService/deleteElectricitySettlementData/data.go +++ b/iSolarCloud/AppService/deleteElectricitySettlementData/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/deleteFaultPlan/data.go b/iSolarCloud/AppService/deleteFaultPlan/data.go index 4abe22553..ae2f7f319 100644 --- a/iSolarCloud/AppService/deleteFaultPlan/data.go +++ b/iSolarCloud/AppService/deleteFaultPlan/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/deleteFirmwareFiles/data.go b/iSolarCloud/AppService/deleteFirmwareFiles/data.go index 58a3160da..ffacc4b70 100644 --- a/iSolarCloud/AppService/deleteFirmwareFiles/data.go +++ b/iSolarCloud/AppService/deleteFirmwareFiles/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/deleteHouseholdEvaluation/data.go b/iSolarCloud/AppService/deleteHouseholdEvaluation/data.go index e5ed61ed9..94457c1af 100644 --- a/iSolarCloud/AppService/deleteHouseholdEvaluation/data.go +++ b/iSolarCloud/AppService/deleteHouseholdEvaluation/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/deleteHouseholdLeaveMessage/data.go b/iSolarCloud/AppService/deleteHouseholdLeaveMessage/data.go index 272362cf0..5e83758a4 100644 --- a/iSolarCloud/AppService/deleteHouseholdLeaveMessage/data.go +++ b/iSolarCloud/AppService/deleteHouseholdLeaveMessage/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/deleteHouseholdWorkOrder/data.go b/iSolarCloud/AppService/deleteHouseholdWorkOrder/data.go index 4c7911bde..f34e74220 100644 --- a/iSolarCloud/AppService/deleteHouseholdWorkOrder/data.go +++ b/iSolarCloud/AppService/deleteHouseholdWorkOrder/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/deleteInverterSnInChnnl/data.go b/iSolarCloud/AppService/deleteInverterSnInChnnl/data.go index 6e065d6c2..e49865b6d 100644 --- a/iSolarCloud/AppService/deleteInverterSnInChnnl/data.go +++ b/iSolarCloud/AppService/deleteInverterSnInChnnl/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/deleteModuleLog/data.go b/iSolarCloud/AppService/deleteModuleLog/data.go index bb50dd326..f72a5dfed 100644 --- a/iSolarCloud/AppService/deleteModuleLog/data.go +++ b/iSolarCloud/AppService/deleteModuleLog/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/deleteOnDutyInfo/data.go b/iSolarCloud/AppService/deleteOnDutyInfo/data.go index cce4d5626..e82369692 100644 --- a/iSolarCloud/AppService/deleteOnDutyInfo/data.go +++ b/iSolarCloud/AppService/deleteOnDutyInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/deleteOperateBillFile/data.go b/iSolarCloud/AppService/deleteOperateBillFile/data.go index f792cfc58..3fdca2504 100644 --- a/iSolarCloud/AppService/deleteOperateBillFile/data.go +++ b/iSolarCloud/AppService/deleteOperateBillFile/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/deleteOssObject/data.go b/iSolarCloud/AppService/deleteOssObject/data.go index 3e64809ad..cb5599efa 100644 --- a/iSolarCloud/AppService/deleteOssObject/data.go +++ b/iSolarCloud/AppService/deleteOssObject/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/deletePowerDevicePointById/data.go b/iSolarCloud/AppService/deletePowerDevicePointById/data.go index b38b81963..1fa6f1cc8 100644 --- a/iSolarCloud/AppService/deletePowerDevicePointById/data.go +++ b/iSolarCloud/AppService/deletePowerDevicePointById/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/deletePowerPicture/data.go b/iSolarCloud/AppService/deletePowerPicture/data.go index ede1d45ba..d6670cb94 100644 --- a/iSolarCloud/AppService/deletePowerPicture/data.go +++ b/iSolarCloud/AppService/deletePowerPicture/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/deletePowerRobotInfoBySnAndPsId/data.go b/iSolarCloud/AppService/deletePowerRobotInfoBySnAndPsId/data.go index 21a4d53d5..af3f64880 100644 --- a/iSolarCloud/AppService/deletePowerRobotInfoBySnAndPsId/data.go +++ b/iSolarCloud/AppService/deletePowerRobotInfoBySnAndPsId/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/deletePowerRobotSweepStrategy/data.go b/iSolarCloud/AppService/deletePowerRobotSweepStrategy/data.go index e8745e519..70c67d42e 100644 --- a/iSolarCloud/AppService/deletePowerRobotSweepStrategy/data.go +++ b/iSolarCloud/AppService/deletePowerRobotSweepStrategy/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/deleteProductionData/data.go b/iSolarCloud/AppService/deleteProductionData/data.go index 4b7fc8769..912c1fde1 100644 --- a/iSolarCloud/AppService/deleteProductionData/data.go +++ b/iSolarCloud/AppService/deleteProductionData/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/deletePs/data.go b/iSolarCloud/AppService/deletePs/data.go index bd62cd9ee..50d2710f0 100644 --- a/iSolarCloud/AppService/deletePs/data.go +++ b/iSolarCloud/AppService/deletePs/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/deleteRechargeOrder/data.go b/iSolarCloud/AppService/deleteRechargeOrder/data.go index f4407edf7..dd8c05e6f 100644 --- a/iSolarCloud/AppService/deleteRechargeOrder/data.go +++ b/iSolarCloud/AppService/deleteRechargeOrder/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/deleteRegularlyConnectionInfo/data.go b/iSolarCloud/AppService/deleteRegularlyConnectionInfo/data.go index 8d6e29d0a..dad3b8a61 100644 --- a/iSolarCloud/AppService/deleteRegularlyConnectionInfo/data.go +++ b/iSolarCloud/AppService/deleteRegularlyConnectionInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/deleteReportConfigEmailAddr/data.go b/iSolarCloud/AppService/deleteReportConfigEmailAddr/data.go index 5317eafe9..506900115 100644 --- a/iSolarCloud/AppService/deleteReportConfigEmailAddr/data.go +++ b/iSolarCloud/AppService/deleteReportConfigEmailAddr/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/deleteSysAdvancedParam/data.go b/iSolarCloud/AppService/deleteSysAdvancedParam/data.go index d36bd0b69..3f9a0fb96 100644 --- a/iSolarCloud/AppService/deleteSysAdvancedParam/data.go +++ b/iSolarCloud/AppService/deleteSysAdvancedParam/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/deleteSysOrgNew/data.go b/iSolarCloud/AppService/deleteSysOrgNew/data.go index 2f3c4a1e0..be7169d9c 100644 --- a/iSolarCloud/AppService/deleteSysOrgNew/data.go +++ b/iSolarCloud/AppService/deleteSysOrgNew/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/deleteTemplate/data.go b/iSolarCloud/AppService/deleteTemplate/data.go index f2202767a..be03c19d9 100644 --- a/iSolarCloud/AppService/deleteTemplate/data.go +++ b/iSolarCloud/AppService/deleteTemplate/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/deleteUserInfoAllByUserId/data.go b/iSolarCloud/AppService/deleteUserInfoAllByUserId/data.go index d4674fb2f..63c43668f 100644 --- a/iSolarCloud/AppService/deleteUserInfoAllByUserId/data.go +++ b/iSolarCloud/AppService/deleteUserInfoAllByUserId/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/deviceInputDiscreteDeleteTime/data.go b/iSolarCloud/AppService/deviceInputDiscreteDeleteTime/data.go index fcd9cab53..660048ef1 100644 --- a/iSolarCloud/AppService/deviceInputDiscreteDeleteTime/data.go +++ b/iSolarCloud/AppService/deviceInputDiscreteDeleteTime/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/deviceInputDiscreteGetTime/data.go b/iSolarCloud/AppService/deviceInputDiscreteGetTime/data.go index ba41db5a0..46585622b 100644 --- a/iSolarCloud/AppService/deviceInputDiscreteGetTime/data.go +++ b/iSolarCloud/AppService/deviceInputDiscreteGetTime/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/deviceInputDiscreteInsertTime/data.go b/iSolarCloud/AppService/deviceInputDiscreteInsertTime/data.go index 0c3fc39e2..8ad023cf0 100644 --- a/iSolarCloud/AppService/deviceInputDiscreteInsertTime/data.go +++ b/iSolarCloud/AppService/deviceInputDiscreteInsertTime/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/deviceInputDiscreteUpdateTime/data.go b/iSolarCloud/AppService/deviceInputDiscreteUpdateTime/data.go index 47d3eee06..8ce2a06df 100644 --- a/iSolarCloud/AppService/deviceInputDiscreteUpdateTime/data.go +++ b/iSolarCloud/AppService/deviceInputDiscreteUpdateTime/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/deviceReplace/data.go b/iSolarCloud/AppService/deviceReplace/data.go index 8192631cb..51e373d49 100644 --- a/iSolarCloud/AppService/deviceReplace/data.go +++ b/iSolarCloud/AppService/deviceReplace/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/editDeviceRepair/data.go b/iSolarCloud/AppService/editDeviceRepair/data.go index dd16df3af..c401ea179 100644 --- a/iSolarCloud/AppService/editDeviceRepair/data.go +++ b/iSolarCloud/AppService/editDeviceRepair/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/editOperRule/data.go b/iSolarCloud/AppService/editOperRule/data.go index 88416ee09..e1ec5fb45 100644 --- a/iSolarCloud/AppService/editOperRule/data.go +++ b/iSolarCloud/AppService/editOperRule/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/energyPovertyAlleviation/data.go b/iSolarCloud/AppService/energyPovertyAlleviation/data.go index ca128f7a7..c44718e09 100644 --- a/iSolarCloud/AppService/energyPovertyAlleviation/data.go +++ b/iSolarCloud/AppService/energyPovertyAlleviation/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/energyTrend/data.go b/iSolarCloud/AppService/energyTrend/data.go index a9b2e86f0..614f020d3 100644 --- a/iSolarCloud/AppService/energyTrend/data.go +++ b/iSolarCloud/AppService/energyTrend/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { // pkg := reflection.GetName("", *e) // dt := valueTypes.NewDateTime(valueTypes.Now) // name := pkg + "." + e.Request.PsId.String() - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/exportParamSettingValPDF/data.go b/iSolarCloud/AppService/exportParamSettingValPDF/data.go index 6c81bcf74..b5d0075f2 100644 --- a/iSolarCloud/AppService/exportParamSettingValPDF/data.go +++ b/iSolarCloud/AppService/exportParamSettingValPDF/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/exportPlantReportPDF/data.go b/iSolarCloud/AppService/exportPlantReportPDF/data.go index 33d7017f3..1df214c94 100644 --- a/iSolarCloud/AppService/exportPlantReportPDF/data.go +++ b/iSolarCloud/AppService/exportPlantReportPDF/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/faultAutoClose/data.go b/iSolarCloud/AppService/faultAutoClose/data.go index db74b65a5..a9dfb7ac9 100644 --- a/iSolarCloud/AppService/faultAutoClose/data.go +++ b/iSolarCloud/AppService/faultAutoClose/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/faultCloseRemindOrderHandler/data.go b/iSolarCloud/AppService/faultCloseRemindOrderHandler/data.go index f56705eef..c495af41c 100644 --- a/iSolarCloud/AppService/faultCloseRemindOrderHandler/data.go +++ b/iSolarCloud/AppService/faultCloseRemindOrderHandler/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/findCodeValueList/data.go b/iSolarCloud/AppService/findCodeValueList/data.go index 1e7d4e42f..1a8a8244a 100644 --- a/iSolarCloud/AppService/findCodeValueList/data.go +++ b/iSolarCloud/AppService/findCodeValueList/data.go @@ -41,7 +41,7 @@ func (e *EndPoint) GetData() api.DataMap { // pkg := reflection.GetName("", *e) // dt := valueTypes.NewDateTime(valueTypes.Now) // name := pkg + "." + e.Request.PsId.String() - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/findEmgOrgInfo/data.go b/iSolarCloud/AppService/findEmgOrgInfo/data.go index ab0da5ef2..0efaee1a3 100644 --- a/iSolarCloud/AppService/findEmgOrgInfo/data.go +++ b/iSolarCloud/AppService/findEmgOrgInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/findEnvironmentInfo/data.go b/iSolarCloud/AppService/findEnvironmentInfo/data.go index 51cb329df..3110df5f9 100644 --- a/iSolarCloud/AppService/findEnvironmentInfo/data.go +++ b/iSolarCloud/AppService/findEnvironmentInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/findFromHbaseAndRedis/data.go b/iSolarCloud/AppService/findFromHbaseAndRedis/data.go index 6bcd6aaa0..d4d6fa0c8 100644 --- a/iSolarCloud/AppService/findFromHbaseAndRedis/data.go +++ b/iSolarCloud/AppService/findFromHbaseAndRedis/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/findInfoByuuid/data.go b/iSolarCloud/AppService/findInfoByuuid/data.go index 39f91decb..549ee54e1 100644 --- a/iSolarCloud/AppService/findInfoByuuid/data.go +++ b/iSolarCloud/AppService/findInfoByuuid/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/findLossAnalysisList/data.go b/iSolarCloud/AppService/findLossAnalysisList/data.go index f32e63eb2..6af28c842 100644 --- a/iSolarCloud/AppService/findLossAnalysisList/data.go +++ b/iSolarCloud/AppService/findLossAnalysisList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/findOnDutyInfo/data.go b/iSolarCloud/AppService/findOnDutyInfo/data.go index 44c263d88..a50b35257 100644 --- a/iSolarCloud/AppService/findOnDutyInfo/data.go +++ b/iSolarCloud/AppService/findOnDutyInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/findSingleStationPR/data.go b/iSolarCloud/AppService/findSingleStationPR/data.go index c0bc5a256..2af3cc3f7 100644 --- a/iSolarCloud/AppService/findSingleStationPR/data.go +++ b/iSolarCloud/AppService/findSingleStationPR/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/findUserPassword/data.go b/iSolarCloud/AppService/findUserPassword/data.go index 15aba8edf..9883fb65e 100644 --- a/iSolarCloud/AppService/findUserPassword/data.go +++ b/iSolarCloud/AppService/findUserPassword/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/genTLSUserSigByUserAccount/data.go b/iSolarCloud/AppService/genTLSUserSigByUserAccount/data.go index 6e00ff201..cb9b03ccb 100644 --- a/iSolarCloud/AppService/genTLSUserSigByUserAccount/data.go +++ b/iSolarCloud/AppService/genTLSUserSigByUserAccount/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/generateRandomPassword/data.go b/iSolarCloud/AppService/generateRandomPassword/data.go index e648e9a22..5be574ca7 100644 --- a/iSolarCloud/AppService/generateRandomPassword/data.go +++ b/iSolarCloud/AppService/generateRandomPassword/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getAPIServiceInfo/data.go b/iSolarCloud/AppService/getAPIServiceInfo/data.go index 05baa21ad..35fcc5216 100644 --- a/iSolarCloud/AppService/getAPIServiceInfo/data.go +++ b/iSolarCloud/AppService/getAPIServiceInfo/data.go @@ -38,7 +38,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getAccessedPermission/data.go b/iSolarCloud/AppService/getAccessedPermission/data.go index 70570c16f..30e9ca387 100644 --- a/iSolarCloud/AppService/getAccessedPermission/data.go +++ b/iSolarCloud/AppService/getAccessedPermission/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getAllPowerDeviceSetName/data.go b/iSolarCloud/AppService/getAllPowerDeviceSetName/data.go index 751a2f7d4..ce07466c6 100644 --- a/iSolarCloud/AppService/getAllPowerDeviceSetName/data.go +++ b/iSolarCloud/AppService/getAllPowerDeviceSetName/data.go @@ -63,7 +63,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getAllUserRemindCount/data.go b/iSolarCloud/AppService/getAllUserRemindCount/data.go index 0b75cbad1..ec9ed55ee 100644 --- a/iSolarCloud/AppService/getAllUserRemindCount/data.go +++ b/iSolarCloud/AppService/getAllUserRemindCount/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getAndOutletsAndUnit/data.go b/iSolarCloud/AppService/getAndOutletsAndUnit/data.go index 2dbed1b81..50b0d4363 100644 --- a/iSolarCloud/AppService/getAndOutletsAndUnit/data.go +++ b/iSolarCloud/AppService/getAndOutletsAndUnit/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getApiCallsForAppkeys/data.go b/iSolarCloud/AppService/getApiCallsForAppkeys/data.go index 5622dddbc..ca6a7f80e 100644 --- a/iSolarCloud/AppService/getApiCallsForAppkeys/data.go +++ b/iSolarCloud/AppService/getApiCallsForAppkeys/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getAreaInfoCodeByCounty/data.go b/iSolarCloud/AppService/getAreaInfoCodeByCounty/data.go index e12f8af67..74e589e49 100644 --- a/iSolarCloud/AppService/getAreaInfoCodeByCounty/data.go +++ b/iSolarCloud/AppService/getAreaInfoCodeByCounty/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getAreaList/data.go b/iSolarCloud/AppService/getAreaList/data.go index b19021acf..737eae230 100644 --- a/iSolarCloud/AppService/getAreaList/data.go +++ b/iSolarCloud/AppService/getAreaList/data.go @@ -51,7 +51,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getAutoCreatePowerStation/data.go b/iSolarCloud/AppService/getAutoCreatePowerStation/data.go index 25a13c2e7..91f6100bc 100644 --- a/iSolarCloud/AppService/getAutoCreatePowerStation/data.go +++ b/iSolarCloud/AppService/getAutoCreatePowerStation/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getBackReadValue/data.go b/iSolarCloud/AppService/getBackReadValue/data.go index 4b4f7151d..113541be0 100644 --- a/iSolarCloud/AppService/getBackReadValue/data.go +++ b/iSolarCloud/AppService/getBackReadValue/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getBatchNewestPointData/data.go b/iSolarCloud/AppService/getBatchNewestPointData/data.go index d304d6fb6..2dd728f2c 100644 --- a/iSolarCloud/AppService/getBatchNewestPointData/data.go +++ b/iSolarCloud/AppService/getBatchNewestPointData/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getCallApiResidueTimes/data.go b/iSolarCloud/AppService/getCallApiResidueTimes/data.go index c0a5a3b8f..df054124f 100644 --- a/iSolarCloud/AppService/getCallApiResidueTimes/data.go +++ b/iSolarCloud/AppService/getCallApiResidueTimes/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getChangedPsListByTime/data.go b/iSolarCloud/AppService/getChangedPsListByTime/data.go index c8ec47ce9..bef8a28f6 100644 --- a/iSolarCloud/AppService/getChangedPsListByTime/data.go +++ b/iSolarCloud/AppService/getChangedPsListByTime/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getCloudList/data.go b/iSolarCloud/AppService/getCloudList/data.go index 8ed99b5e0..77f0888c4 100644 --- a/iSolarCloud/AppService/getCloudList/data.go +++ b/iSolarCloud/AppService/getCloudList/data.go @@ -108,7 +108,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getCloudServiceMappingConfig/data.go b/iSolarCloud/AppService/getCloudServiceMappingConfig/data.go index a0cd7f4ff..cc308679b 100644 --- a/iSolarCloud/AppService/getCloudServiceMappingConfig/data.go +++ b/iSolarCloud/AppService/getCloudServiceMappingConfig/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getCommunicationDeviceConfigInfo/data.go b/iSolarCloud/AppService/getCommunicationDeviceConfigInfo/data.go index eb32a9622..bc19cbc52 100644 --- a/iSolarCloud/AppService/getCommunicationDeviceConfigInfo/data.go +++ b/iSolarCloud/AppService/getCommunicationDeviceConfigInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getCommunicationModuleMonitorData/data.go b/iSolarCloud/AppService/getCommunicationModuleMonitorData/data.go index 40373327b..49dcb5346 100644 --- a/iSolarCloud/AppService/getCommunicationModuleMonitorData/data.go +++ b/iSolarCloud/AppService/getCommunicationModuleMonitorData/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getComponentModelFactory/data.go b/iSolarCloud/AppService/getComponentModelFactory/data.go index 7de65a9ba..91e005c16 100644 --- a/iSolarCloud/AppService/getComponentModelFactory/data.go +++ b/iSolarCloud/AppService/getComponentModelFactory/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getConfigList/data.go b/iSolarCloud/AppService/getConfigList/data.go index 2655f9529..cf772af0e 100644 --- a/iSolarCloud/AppService/getConfigList/data.go +++ b/iSolarCloud/AppService/getConfigList/data.go @@ -56,7 +56,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getConnectionInfoBySnAndLocalPort/data.go b/iSolarCloud/AppService/getConnectionInfoBySnAndLocalPort/data.go index 398ced484..d0c27b7c7 100644 --- a/iSolarCloud/AppService/getConnectionInfoBySnAndLocalPort/data.go +++ b/iSolarCloud/AppService/getConnectionInfoBySnAndLocalPort/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getCountDown/data.go b/iSolarCloud/AppService/getCountDown/data.go index 92efd5841..813a118ba 100644 --- a/iSolarCloud/AppService/getCountDown/data.go +++ b/iSolarCloud/AppService/getCountDown/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getCountryServiceInfo/data.go b/iSolarCloud/AppService/getCountryServiceInfo/data.go index 7bc47a91f..2a821a559 100644 --- a/iSolarCloud/AppService/getCountryServiceInfo/data.go +++ b/iSolarCloud/AppService/getCountryServiceInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getCounty/data.go b/iSolarCloud/AppService/getCounty/data.go index 06ef7a2b1..e96412c21 100644 --- a/iSolarCloud/AppService/getCounty/data.go +++ b/iSolarCloud/AppService/getCounty/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getCustomerEmployee/data.go b/iSolarCloud/AppService/getCustomerEmployee/data.go index 871a9544c..daceebcf1 100644 --- a/iSolarCloud/AppService/getCustomerEmployee/data.go +++ b/iSolarCloud/AppService/getCustomerEmployee/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getCustomerList/data.go b/iSolarCloud/AppService/getCustomerList/data.go index 31cd186d5..7d7929ed2 100644 --- a/iSolarCloud/AppService/getCustomerList/data.go +++ b/iSolarCloud/AppService/getCustomerList/data.go @@ -41,7 +41,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getDataFromHBase/data.go b/iSolarCloud/AppService/getDataFromHBase/data.go index f9d93acc7..65bdadb12 100644 --- a/iSolarCloud/AppService/getDataFromHBase/data.go +++ b/iSolarCloud/AppService/getDataFromHBase/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getDataFromHbaseByRowKey/data.go b/iSolarCloud/AppService/getDataFromHbaseByRowKey/data.go index 598a54cea..8aa7fa471 100644 --- a/iSolarCloud/AppService/getDataFromHbaseByRowKey/data.go +++ b/iSolarCloud/AppService/getDataFromHbaseByRowKey/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getDevInstalledPowerByPsId/data.go b/iSolarCloud/AppService/getDevInstalledPowerByPsId/data.go index c606a66d6..0371534bc 100644 --- a/iSolarCloud/AppService/getDevInstalledPowerByPsId/data.go +++ b/iSolarCloud/AppService/getDevInstalledPowerByPsId/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getDevRecord/data.go b/iSolarCloud/AppService/getDevRecord/data.go index 77b8c43b1..91e4f39fb 100644 --- a/iSolarCloud/AppService/getDevRecord/data.go +++ b/iSolarCloud/AppService/getDevRecord/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getDevRunRecordList/data.go b/iSolarCloud/AppService/getDevRunRecordList/data.go index d187c0ce6..6ec6a2623 100644 --- a/iSolarCloud/AppService/getDevRunRecordList/data.go +++ b/iSolarCloud/AppService/getDevRunRecordList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getDevSimByList/data.go b/iSolarCloud/AppService/getDevSimByList/data.go index d9ffd1322..51dbc90a5 100644 --- a/iSolarCloud/AppService/getDevSimByList/data.go +++ b/iSolarCloud/AppService/getDevSimByList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getDevSimList/data.go b/iSolarCloud/AppService/getDevSimList/data.go index 3d78e41e3..ae65a1b56 100644 --- a/iSolarCloud/AppService/getDevSimList/data.go +++ b/iSolarCloud/AppService/getDevSimList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getDeviceAccountById/data.go b/iSolarCloud/AppService/getDeviceAccountById/data.go index b445e424e..9530602c0 100644 --- a/iSolarCloud/AppService/getDeviceAccountById/data.go +++ b/iSolarCloud/AppService/getDeviceAccountById/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getDeviceFaultStatisticsData/data.go b/iSolarCloud/AppService/getDeviceFaultStatisticsData/data.go index c588d25bd..5a633c893 100644 --- a/iSolarCloud/AppService/getDeviceFaultStatisticsData/data.go +++ b/iSolarCloud/AppService/getDeviceFaultStatisticsData/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getDeviceInfo/data.go b/iSolarCloud/AppService/getDeviceInfo/data.go index 2842b215c..1dd213a47 100644 --- a/iSolarCloud/AppService/getDeviceInfo/data.go +++ b/iSolarCloud/AppService/getDeviceInfo/data.go @@ -37,7 +37,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getDeviceModelInfoList/data.go b/iSolarCloud/AppService/getDeviceModelInfoList/data.go index e207565fc..bcf27473b 100644 --- a/iSolarCloud/AppService/getDeviceModelInfoList/data.go +++ b/iSolarCloud/AppService/getDeviceModelInfoList/data.go @@ -115,7 +115,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getDevicePointMinuteDataList/data.go b/iSolarCloud/AppService/getDevicePointMinuteDataList/data.go index 2c57d1781..d7c5ddd64 100644 --- a/iSolarCloud/AppService/getDevicePointMinuteDataList/data.go +++ b/iSolarCloud/AppService/getDevicePointMinuteDataList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getDevicePoints/data.go b/iSolarCloud/AppService/getDevicePoints/data.go index 0ffdeba1c..843f5e7c9 100644 --- a/iSolarCloud/AppService/getDevicePoints/data.go +++ b/iSolarCloud/AppService/getDevicePoints/data.go @@ -61,7 +61,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getDevicePropertys/data.go b/iSolarCloud/AppService/getDevicePropertys/data.go index 9c85ce70f..b12ec70d3 100644 --- a/iSolarCloud/AppService/getDevicePropertys/data.go +++ b/iSolarCloud/AppService/getDevicePropertys/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getDeviceRepairDetail/data.go b/iSolarCloud/AppService/getDeviceRepairDetail/data.go index 009e2e13f..64cb34502 100644 --- a/iSolarCloud/AppService/getDeviceRepairDetail/data.go +++ b/iSolarCloud/AppService/getDeviceRepairDetail/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getDeviceTechBranchCount/data.go b/iSolarCloud/AppService/getDeviceTechBranchCount/data.go index aa63b184e..763458ee1 100644 --- a/iSolarCloud/AppService/getDeviceTechBranchCount/data.go +++ b/iSolarCloud/AppService/getDeviceTechBranchCount/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getDeviceTypeInfoList/data.go b/iSolarCloud/AppService/getDeviceTypeInfoList/data.go index 700d8cda3..6cced4e04 100644 --- a/iSolarCloud/AppService/getDeviceTypeInfoList/data.go +++ b/iSolarCloud/AppService/getDeviceTypeInfoList/data.go @@ -64,7 +64,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getDeviceTypeList/data.go b/iSolarCloud/AppService/getDeviceTypeList/data.go index bfcf71b6a..da93cec24 100644 --- a/iSolarCloud/AppService/getDeviceTypeList/data.go +++ b/iSolarCloud/AppService/getDeviceTypeList/data.go @@ -65,7 +65,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getDstInfo/data.go b/iSolarCloud/AppService/getDstInfo/data.go index e1e53299f..cc7a5fbf3 100644 --- a/iSolarCloud/AppService/getDstInfo/data.go +++ b/iSolarCloud/AppService/getDstInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getElectricitySettlementData/data.go b/iSolarCloud/AppService/getElectricitySettlementData/data.go index 0c59e611d..83bc6692e 100644 --- a/iSolarCloud/AppService/getElectricitySettlementData/data.go +++ b/iSolarCloud/AppService/getElectricitySettlementData/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getElectricitySettlementDetailData/data.go b/iSolarCloud/AppService/getElectricitySettlementDetailData/data.go index 9530b9769..69fa37875 100644 --- a/iSolarCloud/AppService/getElectricitySettlementDetailData/data.go +++ b/iSolarCloud/AppService/getElectricitySettlementDetailData/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getEncryptPublicKey/data.go b/iSolarCloud/AppService/getEncryptPublicKey/data.go index 15a97de1e..29d08ecfe 100644 --- a/iSolarCloud/AppService/getEncryptPublicKey/data.go +++ b/iSolarCloud/AppService/getEncryptPublicKey/data.go @@ -60,7 +60,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getFaultCount/data.go b/iSolarCloud/AppService/getFaultCount/data.go index 423a01858..7cb9888a9 100644 --- a/iSolarCloud/AppService/getFaultCount/data.go +++ b/iSolarCloud/AppService/getFaultCount/data.go @@ -61,7 +61,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getFaultDetail/data.go b/iSolarCloud/AppService/getFaultDetail/data.go index d0b201653..dd45b0edf 100644 --- a/iSolarCloud/AppService/getFaultDetail/data.go +++ b/iSolarCloud/AppService/getFaultDetail/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getFaultMsgByFaultCode/data.go b/iSolarCloud/AppService/getFaultMsgByFaultCode/data.go index 2c36d16db..dbf921233 100644 --- a/iSolarCloud/AppService/getFaultMsgByFaultCode/data.go +++ b/iSolarCloud/AppService/getFaultMsgByFaultCode/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getFaultMsgListByPageWithYYYYMM/data.go b/iSolarCloud/AppService/getFaultMsgListByPageWithYYYYMM/data.go index 8de2c2649..00a50f247 100644 --- a/iSolarCloud/AppService/getFaultMsgListByPageWithYYYYMM/data.go +++ b/iSolarCloud/AppService/getFaultMsgListByPageWithYYYYMM/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getFaultMsgListWithYYYYMM/data.go b/iSolarCloud/AppService/getFaultMsgListWithYYYYMM/data.go index 514b8c2c2..b1da39770 100644 --- a/iSolarCloud/AppService/getFaultMsgListWithYYYYMM/data.go +++ b/iSolarCloud/AppService/getFaultMsgListWithYYYYMM/data.go @@ -72,7 +72,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getFaultPlanList/data.go b/iSolarCloud/AppService/getFaultPlanList/data.go index c088019a0..f6a0ce7d4 100644 --- a/iSolarCloud/AppService/getFaultPlanList/data.go +++ b/iSolarCloud/AppService/getFaultPlanList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getFileOperationRecordOne/data.go b/iSolarCloud/AppService/getFileOperationRecordOne/data.go index 5c16ebf3b..1ab909dc7 100644 --- a/iSolarCloud/AppService/getFileOperationRecordOne/data.go +++ b/iSolarCloud/AppService/getFileOperationRecordOne/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getFormulaFaultAnalyseList/data.go b/iSolarCloud/AppService/getFormulaFaultAnalyseList/data.go index 42976ec84..98b2a9fd0 100644 --- a/iSolarCloud/AppService/getFormulaFaultAnalyseList/data.go +++ b/iSolarCloud/AppService/getFormulaFaultAnalyseList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getGroupStringCheckResult/data.go b/iSolarCloud/AppService/getGroupStringCheckResult/data.go index c9b84ca0c..210fb291e 100644 --- a/iSolarCloud/AppService/getGroupStringCheckResult/data.go +++ b/iSolarCloud/AppService/getGroupStringCheckResult/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getGroupStringCheckRule/data.go b/iSolarCloud/AppService/getGroupStringCheckRule/data.go index f8704ac24..fd437b5b2 100644 --- a/iSolarCloud/AppService/getGroupStringCheckRule/data.go +++ b/iSolarCloud/AppService/getGroupStringCheckRule/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getHisData/data.go b/iSolarCloud/AppService/getHisData/data.go index 49483dd75..f2c869b6b 100644 --- a/iSolarCloud/AppService/getHisData/data.go +++ b/iSolarCloud/AppService/getHisData/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getHistoryInfo/data.go b/iSolarCloud/AppService/getHistoryInfo/data.go index afcbbbfa1..eca433b44 100644 --- a/iSolarCloud/AppService/getHistoryInfo/data.go +++ b/iSolarCloud/AppService/getHistoryInfo/data.go @@ -59,7 +59,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getHouseholdEvaluation/data.go b/iSolarCloud/AppService/getHouseholdEvaluation/data.go index f528375ad..c4718f925 100644 --- a/iSolarCloud/AppService/getHouseholdEvaluation/data.go +++ b/iSolarCloud/AppService/getHouseholdEvaluation/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getHouseholdLeaveMessage/data.go b/iSolarCloud/AppService/getHouseholdLeaveMessage/data.go index c20d8eb28..42aed0a0a 100644 --- a/iSolarCloud/AppService/getHouseholdLeaveMessage/data.go +++ b/iSolarCloud/AppService/getHouseholdLeaveMessage/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getHouseholdOpinionFeedback/data.go b/iSolarCloud/AppService/getHouseholdOpinionFeedback/data.go index 00993486f..e681acf9d 100644 --- a/iSolarCloud/AppService/getHouseholdOpinionFeedback/data.go +++ b/iSolarCloud/AppService/getHouseholdOpinionFeedback/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getHouseholdPsInstallerByUserId/data.go b/iSolarCloud/AppService/getHouseholdPsInstallerByUserId/data.go index 108c0bbfd..118c79132 100644 --- a/iSolarCloud/AppService/getHouseholdPsInstallerByUserId/data.go +++ b/iSolarCloud/AppService/getHouseholdPsInstallerByUserId/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getHouseholdUserInfo/data.go b/iSolarCloud/AppService/getHouseholdUserInfo/data.go index 29d2051ab..d296a13a3 100644 --- a/iSolarCloud/AppService/getHouseholdUserInfo/data.go +++ b/iSolarCloud/AppService/getHouseholdUserInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getHouseholdWorkOrderInfo/data.go b/iSolarCloud/AppService/getHouseholdWorkOrderInfo/data.go index 7e8caf48d..2323f1a05 100644 --- a/iSolarCloud/AppService/getHouseholdWorkOrderInfo/data.go +++ b/iSolarCloud/AppService/getHouseholdWorkOrderInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getHouseholdWorkOrderList/data.go b/iSolarCloud/AppService/getHouseholdWorkOrderList/data.go index 9d902c6ef..fb7a65d30 100644 --- a/iSolarCloud/AppService/getHouseholdWorkOrderList/data.go +++ b/iSolarCloud/AppService/getHouseholdWorkOrderList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getI18nConfigByType/data.go b/iSolarCloud/AppService/getI18nConfigByType/data.go index cbbe0c56b..67cb9ccc8 100644 --- a/iSolarCloud/AppService/getI18nConfigByType/data.go +++ b/iSolarCloud/AppService/getI18nConfigByType/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getI18nFileInfo/data.go b/iSolarCloud/AppService/getI18nFileInfo/data.go index 20199bc82..757f2142f 100644 --- a/iSolarCloud/AppService/getI18nFileInfo/data.go +++ b/iSolarCloud/AppService/getI18nFileInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getI18nInfoByKey/data.go b/iSolarCloud/AppService/getI18nInfoByKey/data.go index 1aba98b70..9e859a1a2 100644 --- a/iSolarCloud/AppService/getI18nInfoByKey/data.go +++ b/iSolarCloud/AppService/getI18nInfoByKey/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getI18nVersion/data.go b/iSolarCloud/AppService/getI18nVersion/data.go index 6f691d6f7..5bbcc4e95 100644 --- a/iSolarCloud/AppService/getI18nVersion/data.go +++ b/iSolarCloud/AppService/getI18nVersion/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getInfoFromAMap/data.go b/iSolarCloud/AppService/getInfoFromAMap/data.go index 991ce4c53..3e21cc8ca 100644 --- a/iSolarCloud/AppService/getInfoFromAMap/data.go +++ b/iSolarCloud/AppService/getInfoFromAMap/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getInfomationFromRedis/data.go b/iSolarCloud/AppService/getInfomationFromRedis/data.go index 57548bc07..46ddc3d8d 100644 --- a/iSolarCloud/AppService/getInfomationFromRedis/data.go +++ b/iSolarCloud/AppService/getInfomationFromRedis/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getInstallInfoList/data.go b/iSolarCloud/AppService/getInstallInfoList/data.go index fecc78485..0444479ec 100644 --- a/iSolarCloud/AppService/getInstallInfoList/data.go +++ b/iSolarCloud/AppService/getInstallInfoList/data.go @@ -67,7 +67,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getInstallerInfoByDealerOrgCodeOrId/data.go b/iSolarCloud/AppService/getInstallerInfoByDealerOrgCodeOrId/data.go index 7daf91e0a..de778a38f 100644 --- a/iSolarCloud/AppService/getInstallerInfoByDealerOrgCodeOrId/data.go +++ b/iSolarCloud/AppService/getInstallerInfoByDealerOrgCodeOrId/data.go @@ -76,7 +76,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getInvertDataList/data.go b/iSolarCloud/AppService/getInvertDataList/data.go index c5f0823b0..6a0757570 100644 --- a/iSolarCloud/AppService/getInvertDataList/data.go +++ b/iSolarCloud/AppService/getInvertDataList/data.go @@ -60,7 +60,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getInverterDataCount/data.go b/iSolarCloud/AppService/getInverterDataCount/data.go index f928e2192..8f4898e77 100644 --- a/iSolarCloud/AppService/getInverterDataCount/data.go +++ b/iSolarCloud/AppService/getInverterDataCount/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getInverterProcess/data.go b/iSolarCloud/AppService/getInverterProcess/data.go index a9dd5b6d0..f826ed96e 100644 --- a/iSolarCloud/AppService/getInverterProcess/data.go +++ b/iSolarCloud/AppService/getInverterProcess/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getInverterUuidBytotalId/data.go b/iSolarCloud/AppService/getInverterUuidBytotalId/data.go index 97f9ecb65..9f6e5bd72 100644 --- a/iSolarCloud/AppService/getInverterUuidBytotalId/data.go +++ b/iSolarCloud/AppService/getInverterUuidBytotalId/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getIvEchartsData/data.go b/iSolarCloud/AppService/getIvEchartsData/data.go index 514753f17..4ad738daa 100644 --- a/iSolarCloud/AppService/getIvEchartsData/data.go +++ b/iSolarCloud/AppService/getIvEchartsData/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getIvEchartsDataById/data.go b/iSolarCloud/AppService/getIvEchartsDataById/data.go index c775aa708..5d0104d16 100644 --- a/iSolarCloud/AppService/getIvEchartsDataById/data.go +++ b/iSolarCloud/AppService/getIvEchartsDataById/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getKpiInfo/data.go b/iSolarCloud/AppService/getKpiInfo/data.go index 1ef482c89..2d28eee3b 100644 --- a/iSolarCloud/AppService/getKpiInfo/data.go +++ b/iSolarCloud/AppService/getKpiInfo/data.go @@ -35,7 +35,7 @@ type ResultData struct { DisChargeTotalEnergyUnit valueTypes.String `json:"dis_charge_total_energy_unit" PointIgnore:"true"` MonthEnergy valueTypes.UnitValue `json:"month_energy" PointUpdateFreq:"UpdateFreqMonth"` OrgName valueTypes.String `json:"org_name"` - P83024 valueTypes.Float `json:"p83024"` + P83024 valueTypes.Float `json:"p83024" PointUnit:"Wh"` PercentPlanMonth valueTypes.Float `json:"percent_plan_month" PointUnit:"%" PointUpdateFreq:"UpdateFreqMonth"` PercentPlanYear valueTypes.Float `json:"percent_plan_year" PointUnit:"%" PointUpdateFreq:"UpdateFreqYear"` PlanEnergyUnit valueTypes.String `json:"plan_energy_unit" PointIgnore:"true"` @@ -58,7 +58,7 @@ func (e *EndPoint) GetData() api.DataMap { for range Only.Once { pkg := reflection.GetName("", *e) // dt := valueTypes.NewDateTime(valueTypes.Now) - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) _ = entries.CopyPoint(pkg + ".p83024", "virtual.system", "p83024", "") } diff --git a/iSolarCloud/AppService/getListMiFromHBase/data.go b/iSolarCloud/AppService/getListMiFromHBase/data.go index 4d761f05a..92ae74c77 100644 --- a/iSolarCloud/AppService/getListMiFromHBase/data.go +++ b/iSolarCloud/AppService/getListMiFromHBase/data.go @@ -58,7 +58,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getMapInfo/data.go b/iSolarCloud/AppService/getMapInfo/data.go index 23060f13f..95201983f 100644 --- a/iSolarCloud/AppService/getMapInfo/data.go +++ b/iSolarCloud/AppService/getMapInfo/data.go @@ -60,7 +60,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getMapMiFromHBase/data.go b/iSolarCloud/AppService/getMapMiFromHBase/data.go index 3106e757e..e0d8477f6 100644 --- a/iSolarCloud/AppService/getMapMiFromHBase/data.go +++ b/iSolarCloud/AppService/getMapMiFromHBase/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getMenuAndPrivileges/data.go b/iSolarCloud/AppService/getMenuAndPrivileges/data.go index cd27a7ed4..a6f2a89c1 100644 --- a/iSolarCloud/AppService/getMenuAndPrivileges/data.go +++ b/iSolarCloud/AppService/getMenuAndPrivileges/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getMicrogridEStoragePsReport/data.go b/iSolarCloud/AppService/getMicrogridEStoragePsReport/data.go index 6544d81f1..b718d586a 100644 --- a/iSolarCloud/AppService/getMicrogridEStoragePsReport/data.go +++ b/iSolarCloud/AppService/getMicrogridEStoragePsReport/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getModuleLogInfo/data.go b/iSolarCloud/AppService/getModuleLogInfo/data.go index da9095306..b0acf3591 100644 --- a/iSolarCloud/AppService/getModuleLogInfo/data.go +++ b/iSolarCloud/AppService/getModuleLogInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getModuleLogTaskList/data.go b/iSolarCloud/AppService/getModuleLogTaskList/data.go index 5735e10f9..da7bf01e7 100644 --- a/iSolarCloud/AppService/getModuleLogTaskList/data.go +++ b/iSolarCloud/AppService/getModuleLogTaskList/data.go @@ -91,7 +91,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getNationProvJSON/data.go b/iSolarCloud/AppService/getNationProvJSON/data.go index 4d99d71c2..7e21fa363 100644 --- a/iSolarCloud/AppService/getNationProvJSON/data.go +++ b/iSolarCloud/AppService/getNationProvJSON/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getNeedOpAsynOpRecordList/data.go b/iSolarCloud/AppService/getNeedOpAsynOpRecordList/data.go index cc77724d5..31786fad5 100644 --- a/iSolarCloud/AppService/getNeedOpAsynOpRecordList/data.go +++ b/iSolarCloud/AppService/getNeedOpAsynOpRecordList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getNoticeInfo/data.go b/iSolarCloud/AppService/getNoticeInfo/data.go index 59fcc66e5..46d1a0747 100644 --- a/iSolarCloud/AppService/getNoticeInfo/data.go +++ b/iSolarCloud/AppService/getNoticeInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getNumberOfServiceCalls/data.go b/iSolarCloud/AppService/getNumberOfServiceCalls/data.go index 42d7024b7..bed6efc7f 100644 --- a/iSolarCloud/AppService/getNumberOfServiceCalls/data.go +++ b/iSolarCloud/AppService/getNumberOfServiceCalls/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getOSSConfig/data.go b/iSolarCloud/AppService/getOSSConfig/data.go index 950591ddb..ede28a7bf 100644 --- a/iSolarCloud/AppService/getOSSConfig/data.go +++ b/iSolarCloud/AppService/getOSSConfig/data.go @@ -71,7 +71,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getOperRuleDetail/data.go b/iSolarCloud/AppService/getOperRuleDetail/data.go index 7ef2d717d..f2ddca1d2 100644 --- a/iSolarCloud/AppService/getOperRuleDetail/data.go +++ b/iSolarCloud/AppService/getOperRuleDetail/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getOperateBillFileId/data.go b/iSolarCloud/AppService/getOperateBillFileId/data.go index 384ee5f04..3fe322c87 100644 --- a/iSolarCloud/AppService/getOperateBillFileId/data.go +++ b/iSolarCloud/AppService/getOperateBillFileId/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getOperateTicketForDetail/data.go b/iSolarCloud/AppService/getOperateTicketForDetail/data.go index 171eca7db..5ed0d4aa5 100644 --- a/iSolarCloud/AppService/getOperateTicketForDetail/data.go +++ b/iSolarCloud/AppService/getOperateTicketForDetail/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getOrCreateNetEaseUserToken/data.go b/iSolarCloud/AppService/getOrCreateNetEaseUserToken/data.go index d0725a1d5..910aad55c 100644 --- a/iSolarCloud/AppService/getOrCreateNetEaseUserToken/data.go +++ b/iSolarCloud/AppService/getOrCreateNetEaseUserToken/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getOrderDataList/data.go b/iSolarCloud/AppService/getOrderDataList/data.go index f8da0062e..1959e73c5 100644 --- a/iSolarCloud/AppService/getOrderDataList/data.go +++ b/iSolarCloud/AppService/getOrderDataList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getOrderDataSql2/data.go b/iSolarCloud/AppService/getOrderDataSql2/data.go index 635630759..b80366075 100644 --- a/iSolarCloud/AppService/getOrderDataSql2/data.go +++ b/iSolarCloud/AppService/getOrderDataSql2/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getOrderDatas/data.go b/iSolarCloud/AppService/getOrderDatas/data.go index ef7b1b522..9e75d2784 100644 --- a/iSolarCloud/AppService/getOrderDatas/data.go +++ b/iSolarCloud/AppService/getOrderDatas/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getOrderDetail/data.go b/iSolarCloud/AppService/getOrderDetail/data.go index e703096ac..210923f36 100644 --- a/iSolarCloud/AppService/getOrderDetail/data.go +++ b/iSolarCloud/AppService/getOrderDetail/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getOrderStatistics/data.go b/iSolarCloud/AppService/getOrderStatistics/data.go index d4eb07aa9..7e204517c 100644 --- a/iSolarCloud/AppService/getOrderStatistics/data.go +++ b/iSolarCloud/AppService/getOrderStatistics/data.go @@ -65,7 +65,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getOrgIdNameByUserId/data.go b/iSolarCloud/AppService/getOrgIdNameByUserId/data.go index a2b7644d1..a3c5291cd 100644 --- a/iSolarCloud/AppService/getOrgIdNameByUserId/data.go +++ b/iSolarCloud/AppService/getOrgIdNameByUserId/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getOrgInfoByDealerOrgCode/data.go b/iSolarCloud/AppService/getOrgInfoByDealerOrgCode/data.go index 8f57095d3..7ce722cb5 100644 --- a/iSolarCloud/AppService/getOrgInfoByDealerOrgCode/data.go +++ b/iSolarCloud/AppService/getOrgInfoByDealerOrgCode/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getOrgListByName/data.go b/iSolarCloud/AppService/getOrgListByName/data.go index 7f907b497..76dc93235 100644 --- a/iSolarCloud/AppService/getOrgListByName/data.go +++ b/iSolarCloud/AppService/getOrgListByName/data.go @@ -64,7 +64,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getOrgListByUserId/data.go b/iSolarCloud/AppService/getOrgListByUserId/data.go index 55e8572b4..ccc22ae53 100644 --- a/iSolarCloud/AppService/getOrgListByUserId/data.go +++ b/iSolarCloud/AppService/getOrgListByUserId/data.go @@ -64,7 +64,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getOrgListForUser/data.go b/iSolarCloud/AppService/getOrgListForUser/data.go index af8a61233..2504b130d 100644 --- a/iSolarCloud/AppService/getOrgListForUser/data.go +++ b/iSolarCloud/AppService/getOrgListForUser/data.go @@ -75,7 +75,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getOssObjectStream/data.go b/iSolarCloud/AppService/getOssObjectStream/data.go index 3cd9be699..48334c224 100644 --- a/iSolarCloud/AppService/getOssObjectStream/data.go +++ b/iSolarCloud/AppService/getOssObjectStream/data.go @@ -63,7 +63,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getOwnerFaultConfigList/data.go b/iSolarCloud/AppService/getOwnerFaultConfigList/data.go index 6f117d99b..ee3e279f6 100644 --- a/iSolarCloud/AppService/getOwnerFaultConfigList/data.go +++ b/iSolarCloud/AppService/getOwnerFaultConfigList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getPListinfoFromMysql/data.go b/iSolarCloud/AppService/getPListinfoFromMysql/data.go index ec6121a1a..5f3c68e63 100644 --- a/iSolarCloud/AppService/getPListinfoFromMysql/data.go +++ b/iSolarCloud/AppService/getPListinfoFromMysql/data.go @@ -54,7 +54,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getParamSetTemplate4NewProtocol/data.go b/iSolarCloud/AppService/getParamSetTemplate4NewProtocol/data.go index f1cb11cf9..390fa50a3 100644 --- a/iSolarCloud/AppService/getParamSetTemplate4NewProtocol/data.go +++ b/iSolarCloud/AppService/getParamSetTemplate4NewProtocol/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getParamSetTemplatePointInfo/data.go b/iSolarCloud/AppService/getParamSetTemplatePointInfo/data.go index f311febb9..32e58b663 100644 --- a/iSolarCloud/AppService/getParamSetTemplatePointInfo/data.go +++ b/iSolarCloud/AppService/getParamSetTemplatePointInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getParamterSettingBase/data.go b/iSolarCloud/AppService/getParamterSettingBase/data.go index 07c6389d4..ab8bda163 100644 --- a/iSolarCloud/AppService/getParamterSettingBase/data.go +++ b/iSolarCloud/AppService/getParamterSettingBase/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getPhotoInfo/data.go b/iSolarCloud/AppService/getPhotoInfo/data.go index 65a2f752f..820405fdd 100644 --- a/iSolarCloud/AppService/getPhotoInfo/data.go +++ b/iSolarCloud/AppService/getPhotoInfo/data.go @@ -62,7 +62,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getPlanedOrNotPsList/data.go b/iSolarCloud/AppService/getPlanedOrNotPsList/data.go index f5869ee37..77032b293 100644 --- a/iSolarCloud/AppService/getPlanedOrNotPsList/data.go +++ b/iSolarCloud/AppService/getPlanedOrNotPsList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getPlantReportPDFList/data.go b/iSolarCloud/AppService/getPlantReportPDFList/data.go index aaec89bbc..373a4192b 100644 --- a/iSolarCloud/AppService/getPlantReportPDFList/data.go +++ b/iSolarCloud/AppService/getPlantReportPDFList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getPowerDeviceModelTechList/data.go b/iSolarCloud/AppService/getPowerDeviceModelTechList/data.go index a6fea6490..ba351cabe 100644 --- a/iSolarCloud/AppService/getPowerDeviceModelTechList/data.go +++ b/iSolarCloud/AppService/getPowerDeviceModelTechList/data.go @@ -102,7 +102,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getPowerDeviceModelTree/data.go b/iSolarCloud/AppService/getPowerDeviceModelTree/data.go index 95784344b..c2c00dff2 100644 --- a/iSolarCloud/AppService/getPowerDeviceModelTree/data.go +++ b/iSolarCloud/AppService/getPowerDeviceModelTree/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getPowerDevicePointInfo/data.go b/iSolarCloud/AppService/getPowerDevicePointInfo/data.go index f5b93bbb2..a542bc3cf 100644 --- a/iSolarCloud/AppService/getPowerDevicePointInfo/data.go +++ b/iSolarCloud/AppService/getPowerDevicePointInfo/data.go @@ -129,7 +129,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getPowerDevicePointNames/data.go b/iSolarCloud/AppService/getPowerDevicePointNames/data.go index 21902e05e..904d819d7 100644 --- a/iSolarCloud/AppService/getPowerDevicePointNames/data.go +++ b/iSolarCloud/AppService/getPowerDevicePointNames/data.go @@ -165,7 +165,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getPowerDeviceSetTaskDetailList/data.go b/iSolarCloud/AppService/getPowerDeviceSetTaskDetailList/data.go index 4df63585c..4460df0e0 100644 --- a/iSolarCloud/AppService/getPowerDeviceSetTaskDetailList/data.go +++ b/iSolarCloud/AppService/getPowerDeviceSetTaskDetailList/data.go @@ -67,7 +67,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getPowerDeviceSetTaskList/data.go b/iSolarCloud/AppService/getPowerDeviceSetTaskList/data.go index c7ebb59a9..2a3464f71 100644 --- a/iSolarCloud/AppService/getPowerDeviceSetTaskList/data.go +++ b/iSolarCloud/AppService/getPowerDeviceSetTaskList/data.go @@ -70,7 +70,7 @@ func (e *EndPoint) GetData() api.DataMap { // pkg := reflection.GetName("", *e) // dt := valueTypes.NewDateTime(valueTypes.Now) // name := pkg + "." + e.Request.PsId.String() - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getPowerFormulaFaultAnalyse/data.go b/iSolarCloud/AppService/getPowerFormulaFaultAnalyse/data.go index 4b5e64e25..d3c240346 100644 --- a/iSolarCloud/AppService/getPowerFormulaFaultAnalyse/data.go +++ b/iSolarCloud/AppService/getPowerFormulaFaultAnalyse/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getPowerPictureList/data.go b/iSolarCloud/AppService/getPowerPictureList/data.go index 08ee07709..a54fb6079 100644 --- a/iSolarCloud/AppService/getPowerPictureList/data.go +++ b/iSolarCloud/AppService/getPowerPictureList/data.go @@ -40,7 +40,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getPowerRobotInfoByRobotSn/data.go b/iSolarCloud/AppService/getPowerRobotInfoByRobotSn/data.go index 535e6e26e..97c3ac2a8 100644 --- a/iSolarCloud/AppService/getPowerRobotInfoByRobotSn/data.go +++ b/iSolarCloud/AppService/getPowerRobotInfoByRobotSn/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getPowerRobotSweepAttrByPsId/data.go b/iSolarCloud/AppService/getPowerRobotSweepAttrByPsId/data.go index 69567014e..a5fcfa528 100644 --- a/iSolarCloud/AppService/getPowerRobotSweepAttrByPsId/data.go +++ b/iSolarCloud/AppService/getPowerRobotSweepAttrByPsId/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getPowerRobotSweepStrategy/data.go b/iSolarCloud/AppService/getPowerRobotSweepStrategy/data.go index 3a14ad452..972a7a455 100644 --- a/iSolarCloud/AppService/getPowerRobotSweepStrategy/data.go +++ b/iSolarCloud/AppService/getPowerRobotSweepStrategy/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getPowerRobotSweepStrategyList/data.go b/iSolarCloud/AppService/getPowerRobotSweepStrategyList/data.go index 929748052..e442a64c9 100644 --- a/iSolarCloud/AppService/getPowerRobotSweepStrategyList/data.go +++ b/iSolarCloud/AppService/getPowerRobotSweepStrategyList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getPowerSettingCharges/data.go b/iSolarCloud/AppService/getPowerSettingCharges/data.go index 217aa7e8b..60c08ccb0 100644 --- a/iSolarCloud/AppService/getPowerSettingCharges/data.go +++ b/iSolarCloud/AppService/getPowerSettingCharges/data.go @@ -67,7 +67,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getPowerSettingHistoryRecords/data.go b/iSolarCloud/AppService/getPowerSettingHistoryRecords/data.go index b9456e01b..2c6b03a30 100644 --- a/iSolarCloud/AppService/getPowerSettingHistoryRecords/data.go +++ b/iSolarCloud/AppService/getPowerSettingHistoryRecords/data.go @@ -63,7 +63,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getPowerStationPR/data.go b/iSolarCloud/AppService/getPowerStationPR/data.go index 918f18eb7..2f7abbac6 100644 --- a/iSolarCloud/AppService/getPowerStationPR/data.go +++ b/iSolarCloud/AppService/getPowerStationPR/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getPowerStationTableDataSql/data.go b/iSolarCloud/AppService/getPowerStationTableDataSql/data.go index 53be023ec..3aa9a2bb8 100644 --- a/iSolarCloud/AppService/getPowerStationTableDataSql/data.go +++ b/iSolarCloud/AppService/getPowerStationTableDataSql/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getPowerStationTableDataSqlCount/data.go b/iSolarCloud/AppService/getPowerStationTableDataSqlCount/data.go index 3654083f3..7c5d7405b 100644 --- a/iSolarCloud/AppService/getPowerStationTableDataSqlCount/data.go +++ b/iSolarCloud/AppService/getPowerStationTableDataSqlCount/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getPowerTrendDayData/data.go b/iSolarCloud/AppService/getPowerTrendDayData/data.go index 6193c462e..8faaf5974 100644 --- a/iSolarCloud/AppService/getPowerTrendDayData/data.go +++ b/iSolarCloud/AppService/getPowerTrendDayData/data.go @@ -58,7 +58,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getPrivateCloudValidityPeriod/data.go b/iSolarCloud/AppService/getPrivateCloudValidityPeriod/data.go index 538d3e880..e1765afa4 100644 --- a/iSolarCloud/AppService/getPrivateCloudValidityPeriod/data.go +++ b/iSolarCloud/AppService/getPrivateCloudValidityPeriod/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getProvInfoListByNationCode/data.go b/iSolarCloud/AppService/getProvInfoListByNationCode/data.go index cc3f7658a..09244ffc7 100644 --- a/iSolarCloud/AppService/getProvInfoListByNationCode/data.go +++ b/iSolarCloud/AppService/getProvInfoListByNationCode/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getPsAuthKey/data.go b/iSolarCloud/AppService/getPsAuthKey/data.go index 3644ef0e3..aa9b51e33 100644 --- a/iSolarCloud/AppService/getPsAuthKey/data.go +++ b/iSolarCloud/AppService/getPsAuthKey/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getPsCurveInfo/data.go b/iSolarCloud/AppService/getPsCurveInfo/data.go index 07bc63c41..58a6d6517 100644 --- a/iSolarCloud/AppService/getPsCurveInfo/data.go +++ b/iSolarCloud/AppService/getPsCurveInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getPsDataSupplementTaskList/data.go b/iSolarCloud/AppService/getPsDataSupplementTaskList/data.go index a2b2fc3fe..233edb6c0 100644 --- a/iSolarCloud/AppService/getPsDataSupplementTaskList/data.go +++ b/iSolarCloud/AppService/getPsDataSupplementTaskList/data.go @@ -62,7 +62,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getPsDetailByUserTokens/data.go b/iSolarCloud/AppService/getPsDetailByUserTokens/data.go index aea5af273..475dafd05 100644 --- a/iSolarCloud/AppService/getPsDetailByUserTokens/data.go +++ b/iSolarCloud/AppService/getPsDetailByUserTokens/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getPsDetailForSinglePage/data.go b/iSolarCloud/AppService/getPsDetailForSinglePage/data.go index d57343fe8..2a62ecd79 100644 --- a/iSolarCloud/AppService/getPsDetailForSinglePage/data.go +++ b/iSolarCloud/AppService/getPsDetailForSinglePage/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getPsInstallerByPsId/data.go b/iSolarCloud/AppService/getPsInstallerByPsId/data.go index 208e633b2..e7b3b0ded 100644 --- a/iSolarCloud/AppService/getPsInstallerByPsId/data.go +++ b/iSolarCloud/AppService/getPsInstallerByPsId/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getPsInstallerOrgInfoByPsId/data.go b/iSolarCloud/AppService/getPsInstallerOrgInfoByPsId/data.go index 2398d7c10..bd3293b3e 100644 --- a/iSolarCloud/AppService/getPsInstallerOrgInfoByPsId/data.go +++ b/iSolarCloud/AppService/getPsInstallerOrgInfoByPsId/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getPsList/data.go b/iSolarCloud/AppService/getPsList/data.go index 55849591a..ead647d54 100644 --- a/iSolarCloud/AppService/getPsList/data.go +++ b/iSolarCloud/AppService/getPsList/data.go @@ -165,7 +165,7 @@ func (e *EndPoint) GetData() api.DataMap { for range Only.Once { // pkg := reflection.GetName("", *e) // dt := valueTypes.NewDateTime(valueTypes.Now) - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries } diff --git a/iSolarCloud/AppService/getPsListByName/data.go b/iSolarCloud/AppService/getPsListByName/data.go index 6572110e4..ccabd5bea 100644 --- a/iSolarCloud/AppService/getPsListByName/data.go +++ b/iSolarCloud/AppService/getPsListByName/data.go @@ -51,7 +51,7 @@ func (e *EndPoint) GetData() api.DataMap { // pkg := reflection.GetName("", *e) // dt := valueTypes.NewDateTime(valueTypes.Now) // name := pkg + "." + e.Request.PsId.String() - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getPsListForPsDataByPsId/data.go b/iSolarCloud/AppService/getPsListForPsDataByPsId/data.go index 33eb6cc6c..b45e66c41 100644 --- a/iSolarCloud/AppService/getPsListForPsDataByPsId/data.go +++ b/iSolarCloud/AppService/getPsListForPsDataByPsId/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getPsListStaticData/data.go b/iSolarCloud/AppService/getPsListStaticData/data.go index ad2781523..09874b132 100644 --- a/iSolarCloud/AppService/getPsListStaticData/data.go +++ b/iSolarCloud/AppService/getPsListStaticData/data.go @@ -68,7 +68,7 @@ func (e *EndPoint) GetData() api.DataMap { // pkg := reflection.GetName("", *e) // dt := valueTypes.NewDateTime(valueTypes.Now) // name := pkg + "." + e.Request.PsId.String() - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getPsUser/data.go b/iSolarCloud/AppService/getPsUser/data.go index 00c54d5c0..da098d9d7 100644 --- a/iSolarCloud/AppService/getPsUser/data.go +++ b/iSolarCloud/AppService/getPsUser/data.go @@ -127,7 +127,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getRechargeOrderDetail/data.go b/iSolarCloud/AppService/getRechargeOrderDetail/data.go index 6eb870735..3df62e66c 100644 --- a/iSolarCloud/AppService/getRechargeOrderDetail/data.go +++ b/iSolarCloud/AppService/getRechargeOrderDetail/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getRechargeOrderItemDeviceList/data.go b/iSolarCloud/AppService/getRechargeOrderItemDeviceList/data.go index 090cf0536..10876776d 100644 --- a/iSolarCloud/AppService/getRechargeOrderItemDeviceList/data.go +++ b/iSolarCloud/AppService/getRechargeOrderItemDeviceList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getRechargeOrderList/data.go b/iSolarCloud/AppService/getRechargeOrderList/data.go index 05701ad5d..22102388f 100644 --- a/iSolarCloud/AppService/getRechargeOrderList/data.go +++ b/iSolarCloud/AppService/getRechargeOrderList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getRegionalTree/data.go b/iSolarCloud/AppService/getRegionalTree/data.go index 9a4b3e4b5..1c3eac729 100644 --- a/iSolarCloud/AppService/getRegionalTree/data.go +++ b/iSolarCloud/AppService/getRegionalTree/data.go @@ -74,7 +74,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getRemoteParamSettingList/data.go b/iSolarCloud/AppService/getRemoteParamSettingList/data.go index de1a9f07d..3054c7caf 100644 --- a/iSolarCloud/AppService/getRemoteParamSettingList/data.go +++ b/iSolarCloud/AppService/getRemoteParamSettingList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getRemoteUpgradeDeviceList/data.go b/iSolarCloud/AppService/getRemoteUpgradeDeviceList/data.go index a541b5442..e42cd0ad5 100644 --- a/iSolarCloud/AppService/getRemoteUpgradeDeviceList/data.go +++ b/iSolarCloud/AppService/getRemoteUpgradeDeviceList/data.go @@ -65,7 +65,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getRemoteUpgradeScheduleDetails/data.go b/iSolarCloud/AppService/getRemoteUpgradeScheduleDetails/data.go index d6a62b0e7..d3ec20a14 100644 --- a/iSolarCloud/AppService/getRemoteUpgradeScheduleDetails/data.go +++ b/iSolarCloud/AppService/getRemoteUpgradeScheduleDetails/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getRemoteUpgradeSubTasksList/data.go b/iSolarCloud/AppService/getRemoteUpgradeSubTasksList/data.go index 3baca9bdf..efb4c1332 100644 --- a/iSolarCloud/AppService/getRemoteUpgradeSubTasksList/data.go +++ b/iSolarCloud/AppService/getRemoteUpgradeSubTasksList/data.go @@ -64,7 +64,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getRemoteUpgradeTaskList/data.go b/iSolarCloud/AppService/getRemoteUpgradeTaskList/data.go index 9f83931ed..d26574499 100644 --- a/iSolarCloud/AppService/getRemoteUpgradeTaskList/data.go +++ b/iSolarCloud/AppService/getRemoteUpgradeTaskList/data.go @@ -47,7 +47,7 @@ func (e *EndPoint) GetData() api.DataMap { // pkg := reflection.GetName("", *e) // dt := valueTypes.NewDateTime(valueTypes.Now) // name := pkg + "." + e.Request.PsId.String() - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getReportEmailConfigInfo/data.go b/iSolarCloud/AppService/getReportEmailConfigInfo/data.go index 56a155362..ad2ec322d 100644 --- a/iSolarCloud/AppService/getReportEmailConfigInfo/data.go +++ b/iSolarCloud/AppService/getReportEmailConfigInfo/data.go @@ -85,7 +85,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getReportExportColumns/data.go b/iSolarCloud/AppService/getReportExportColumns/data.go index 33d853c22..02115d4f8 100644 --- a/iSolarCloud/AppService/getReportExportColumns/data.go +++ b/iSolarCloud/AppService/getReportExportColumns/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getReportListByUserId/data.go b/iSolarCloud/AppService/getReportListByUserId/data.go index 097ce3afe..1a80a150d 100644 --- a/iSolarCloud/AppService/getReportListByUserId/data.go +++ b/iSolarCloud/AppService/getReportListByUserId/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getRobotNumAndSweepCapacity/data.go b/iSolarCloud/AppService/getRobotNumAndSweepCapacity/data.go index 50ee6c555..808031b0a 100644 --- a/iSolarCloud/AppService/getRobotNumAndSweepCapacity/data.go +++ b/iSolarCloud/AppService/getRobotNumAndSweepCapacity/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getRuleUnit/data.go b/iSolarCloud/AppService/getRuleUnit/data.go index 6b06f8177..ed24ea87c 100644 --- a/iSolarCloud/AppService/getRuleUnit/data.go +++ b/iSolarCloud/AppService/getRuleUnit/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getSendReportConfigCron/data.go b/iSolarCloud/AppService/getSendReportConfigCron/data.go index 05a997167..16afc2490 100644 --- a/iSolarCloud/AppService/getSendReportConfigCron/data.go +++ b/iSolarCloud/AppService/getSendReportConfigCron/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getSerialNum/data.go b/iSolarCloud/AppService/getSerialNum/data.go index 1a00acd97..e36fe4bb1 100644 --- a/iSolarCloud/AppService/getSerialNum/data.go +++ b/iSolarCloud/AppService/getSerialNum/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getShieldMapConditionList/data.go b/iSolarCloud/AppService/getShieldMapConditionList/data.go index a303bfefd..ddc73f20f 100644 --- a/iSolarCloud/AppService/getShieldMapConditionList/data.go +++ b/iSolarCloud/AppService/getShieldMapConditionList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getSimIdBySnList/data.go b/iSolarCloud/AppService/getSimIdBySnList/data.go index e9b754b32..3d069ed7c 100644 --- a/iSolarCloud/AppService/getSimIdBySnList/data.go +++ b/iSolarCloud/AppService/getSimIdBySnList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getSingleIVData/data.go b/iSolarCloud/AppService/getSingleIVData/data.go index 7a16ad8a8..268466bd9 100644 --- a/iSolarCloud/AppService/getSingleIVData/data.go +++ b/iSolarCloud/AppService/getSingleIVData/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getSnChangeRecord/data.go b/iSolarCloud/AppService/getSnChangeRecord/data.go index e405b80ea..fe91d26c5 100644 --- a/iSolarCloud/AppService/getSnChangeRecord/data.go +++ b/iSolarCloud/AppService/getSnChangeRecord/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getSnConnectionInfo/data.go b/iSolarCloud/AppService/getSnConnectionInfo/data.go index ca70b0589..9461aa21b 100644 --- a/iSolarCloud/AppService/getSnConnectionInfo/data.go +++ b/iSolarCloud/AppService/getSnConnectionInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getStationInfoSql/data.go b/iSolarCloud/AppService/getStationInfoSql/data.go index a96426396..e4c5d23f1 100644 --- a/iSolarCloud/AppService/getStationInfoSql/data.go +++ b/iSolarCloud/AppService/getStationInfoSql/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getSungwsConfigCache/data.go b/iSolarCloud/AppService/getSungwsConfigCache/data.go index 19e5c5832..1d3f6fddf 100644 --- a/iSolarCloud/AppService/getSungwsConfigCache/data.go +++ b/iSolarCloud/AppService/getSungwsConfigCache/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getSungwsGlobalConfigCache/data.go b/iSolarCloud/AppService/getSungwsGlobalConfigCache/data.go index ae43f7ae2..d5cdd14d1 100644 --- a/iSolarCloud/AppService/getSungwsGlobalConfigCache/data.go +++ b/iSolarCloud/AppService/getSungwsGlobalConfigCache/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getSweepDevParamSetTemplate/data.go b/iSolarCloud/AppService/getSweepDevParamSetTemplate/data.go index 7fd56938e..31c4b8dea 100644 --- a/iSolarCloud/AppService/getSweepDevParamSetTemplate/data.go +++ b/iSolarCloud/AppService/getSweepDevParamSetTemplate/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getSweepRobotDevList/data.go b/iSolarCloud/AppService/getSweepRobotDevList/data.go index 13b8881b6..76ac72795 100644 --- a/iSolarCloud/AppService/getSweepRobotDevList/data.go +++ b/iSolarCloud/AppService/getSweepRobotDevList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getSysMsg/data.go b/iSolarCloud/AppService/getSysMsg/data.go index 4f4ea9460..85fb13acc 100644 --- a/iSolarCloud/AppService/getSysMsg/data.go +++ b/iSolarCloud/AppService/getSysMsg/data.go @@ -111,7 +111,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getSysOrgNewList/data.go b/iSolarCloud/AppService/getSysOrgNewList/data.go index 57caf0035..fc928137c 100644 --- a/iSolarCloud/AppService/getSysOrgNewList/data.go +++ b/iSolarCloud/AppService/getSysOrgNewList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getSysOrgNewOne/data.go b/iSolarCloud/AppService/getSysOrgNewOne/data.go index fd9e30e7f..403290410 100644 --- a/iSolarCloud/AppService/getSysOrgNewOne/data.go +++ b/iSolarCloud/AppService/getSysOrgNewOne/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getSysUserById/data.go b/iSolarCloud/AppService/getSysUserById/data.go index ad6844e6a..4792971bd 100644 --- a/iSolarCloud/AppService/getSysUserById/data.go +++ b/iSolarCloud/AppService/getSysUserById/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getTableDataSql/data.go b/iSolarCloud/AppService/getTableDataSql/data.go index e01908299..cc1d41123 100644 --- a/iSolarCloud/AppService/getTableDataSql/data.go +++ b/iSolarCloud/AppService/getTableDataSql/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getTableDataSqlCount/data.go b/iSolarCloud/AppService/getTableDataSqlCount/data.go index 2bf18fd30..fd9908866 100644 --- a/iSolarCloud/AppService/getTableDataSqlCount/data.go +++ b/iSolarCloud/AppService/getTableDataSqlCount/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getTemplateByInfoType/data.go b/iSolarCloud/AppService/getTemplateByInfoType/data.go index bb014adc7..8d890c133 100644 --- a/iSolarCloud/AppService/getTemplateByInfoType/data.go +++ b/iSolarCloud/AppService/getTemplateByInfoType/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getTemplateList/data.go b/iSolarCloud/AppService/getTemplateList/data.go index 45acd66d4..d159c540e 100644 --- a/iSolarCloud/AppService/getTemplateList/data.go +++ b/iSolarCloud/AppService/getTemplateList/data.go @@ -48,7 +48,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getUUIDByUpuuid/data.go b/iSolarCloud/AppService/getUUIDByUpuuid/data.go index b7c309e74..6585db694 100644 --- a/iSolarCloud/AppService/getUUIDByUpuuid/data.go +++ b/iSolarCloud/AppService/getUUIDByUpuuid/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getUpTimePoint/data.go b/iSolarCloud/AppService/getUpTimePoint/data.go index e017cf973..76a487eb7 100644 --- a/iSolarCloud/AppService/getUpTimePoint/data.go +++ b/iSolarCloud/AppService/getUpTimePoint/data.go @@ -70,7 +70,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getUserById/data.go b/iSolarCloud/AppService/getUserById/data.go index 56f9eeb89..5f55733ed 100644 --- a/iSolarCloud/AppService/getUserById/data.go +++ b/iSolarCloud/AppService/getUserById/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getUserByInstaller/data.go b/iSolarCloud/AppService/getUserByInstaller/data.go index 0456c6f84..8b76555db 100644 --- a/iSolarCloud/AppService/getUserByInstaller/data.go +++ b/iSolarCloud/AppService/getUserByInstaller/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getUserDevOnlineOffineCount/data.go b/iSolarCloud/AppService/getUserDevOnlineOffineCount/data.go index 34289b424..01ea6fd40 100644 --- a/iSolarCloud/AppService/getUserDevOnlineOffineCount/data.go +++ b/iSolarCloud/AppService/getUserDevOnlineOffineCount/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getUserGDPRAttrs/data.go b/iSolarCloud/AppService/getUserGDPRAttrs/data.go index d241e03b8..2159d6fd2 100644 --- a/iSolarCloud/AppService/getUserGDPRAttrs/data.go +++ b/iSolarCloud/AppService/getUserGDPRAttrs/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getUserHavePowerStationCount/data.go b/iSolarCloud/AppService/getUserHavePowerStationCount/data.go index 8e71e8b75..896ab25d1 100644 --- a/iSolarCloud/AppService/getUserHavePowerStationCount/data.go +++ b/iSolarCloud/AppService/getUserHavePowerStationCount/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getUserInfoByUserAccounts/data.go b/iSolarCloud/AppService/getUserInfoByUserAccounts/data.go index 1b4a79ae4..1e85e6a0c 100644 --- a/iSolarCloud/AppService/getUserInfoByUserAccounts/data.go +++ b/iSolarCloud/AppService/getUserInfoByUserAccounts/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getUserList/data.go b/iSolarCloud/AppService/getUserList/data.go index 29b73f683..e0918bd02 100644 --- a/iSolarCloud/AppService/getUserList/data.go +++ b/iSolarCloud/AppService/getUserList/data.go @@ -65,7 +65,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getUserPsOrderList/data.go b/iSolarCloud/AppService/getUserPsOrderList/data.go index b25619e39..b7d74a948 100644 --- a/iSolarCloud/AppService/getUserPsOrderList/data.go +++ b/iSolarCloud/AppService/getUserPsOrderList/data.go @@ -67,7 +67,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getValFromHBase/data.go b/iSolarCloud/AppService/getValFromHBase/data.go index 950122611..bc68ea9bf 100644 --- a/iSolarCloud/AppService/getValFromHBase/data.go +++ b/iSolarCloud/AppService/getValFromHBase/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getValidateCode/data.go b/iSolarCloud/AppService/getValidateCode/data.go index 29040d217..f08c72cee 100644 --- a/iSolarCloud/AppService/getValidateCode/data.go +++ b/iSolarCloud/AppService/getValidateCode/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getValidateCodeAtRegister/data.go b/iSolarCloud/AppService/getValidateCodeAtRegister/data.go index 7db66a5ea..80fa7aa0b 100644 --- a/iSolarCloud/AppService/getValidateCodeAtRegister/data.go +++ b/iSolarCloud/AppService/getValidateCodeAtRegister/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getWeatherInfo/data.go b/iSolarCloud/AppService/getWeatherInfo/data.go index 9c2983057..c92eee455 100644 --- a/iSolarCloud/AppService/getWeatherInfo/data.go +++ b/iSolarCloud/AppService/getWeatherInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getWechatPushConfig/data.go b/iSolarCloud/AppService/getWechatPushConfig/data.go index 83f3684b7..32da2f815 100644 --- a/iSolarCloud/AppService/getWechatPushConfig/data.go +++ b/iSolarCloud/AppService/getWechatPushConfig/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/getWorkInfo/data.go b/iSolarCloud/AppService/getWorkInfo/data.go index 97f19c796..3f683474f 100644 --- a/iSolarCloud/AppService/getWorkInfo/data.go +++ b/iSolarCloud/AppService/getWorkInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/groupStringCheck/data.go b/iSolarCloud/AppService/groupStringCheck/data.go index dca839e10..583db5c68 100644 --- a/iSolarCloud/AppService/groupStringCheck/data.go +++ b/iSolarCloud/AppService/groupStringCheck/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/handleDevByCommunicationSN/data.go b/iSolarCloud/AppService/handleDevByCommunicationSN/data.go index 92081a7a1..3b2d5a4d5 100644 --- a/iSolarCloud/AppService/handleDevByCommunicationSN/data.go +++ b/iSolarCloud/AppService/handleDevByCommunicationSN/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/householdResetPassBySN/data.go b/iSolarCloud/AppService/householdResetPassBySN/data.go index 48bf967d8..d4035c1fa 100644 --- a/iSolarCloud/AppService/householdResetPassBySN/data.go +++ b/iSolarCloud/AppService/householdResetPassBySN/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/immediatePayment/data.go b/iSolarCloud/AppService/immediatePayment/data.go index 75845dcce..d015e6b08 100644 --- a/iSolarCloud/AppService/immediatePayment/data.go +++ b/iSolarCloud/AppService/immediatePayment/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/importExcelData/data.go b/iSolarCloud/AppService/importExcelData/data.go index 3c157d4f5..6872c88a2 100644 --- a/iSolarCloud/AppService/importExcelData/data.go +++ b/iSolarCloud/AppService/importExcelData/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/incomeStatistics/data.go b/iSolarCloud/AppService/incomeStatistics/data.go index 96b77890e..735535cb1 100644 --- a/iSolarCloud/AppService/incomeStatistics/data.go +++ b/iSolarCloud/AppService/incomeStatistics/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/informPush/data.go b/iSolarCloud/AppService/informPush/data.go index a55e8369b..ccff68791 100644 --- a/iSolarCloud/AppService/informPush/data.go +++ b/iSolarCloud/AppService/informPush/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/insertEmgOrgInfo/data.go b/iSolarCloud/AppService/insertEmgOrgInfo/data.go index 7771a972d..102c50255 100644 --- a/iSolarCloud/AppService/insertEmgOrgInfo/data.go +++ b/iSolarCloud/AppService/insertEmgOrgInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/insightSynDeviceStructure2Cloud/data.go b/iSolarCloud/AppService/insightSynDeviceStructure2Cloud/data.go index 5c9257347..331f7c033 100644 --- a/iSolarCloud/AppService/insightSynDeviceStructure2Cloud/data.go +++ b/iSolarCloud/AppService/insightSynDeviceStructure2Cloud/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/intoDataToHbase/data.go b/iSolarCloud/AppService/intoDataToHbase/data.go index d58be0d41..28781537e 100644 --- a/iSolarCloud/AppService/intoDataToHbase/data.go +++ b/iSolarCloud/AppService/intoDataToHbase/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/ipLocationQuery/data.go b/iSolarCloud/AppService/ipLocationQuery/data.go index d41cc7088..169d6eb32 100644 --- a/iSolarCloud/AppService/ipLocationQuery/data.go +++ b/iSolarCloud/AppService/ipLocationQuery/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/isHave2GSn/data.go b/iSolarCloud/AppService/isHave2GSn/data.go index 12da2d8ac..74206f497 100644 --- a/iSolarCloud/AppService/isHave2GSn/data.go +++ b/iSolarCloud/AppService/isHave2GSn/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/judgeDevIsHasInitSetTemplate/data.go b/iSolarCloud/AppService/judgeDevIsHasInitSetTemplate/data.go index 408322072..3c7fc6010 100644 --- a/iSolarCloud/AppService/judgeDevIsHasInitSetTemplate/data.go +++ b/iSolarCloud/AppService/judgeDevIsHasInitSetTemplate/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/judgeIsSettingMan/data.go b/iSolarCloud/AppService/judgeIsSettingMan/data.go index f54e48601..5bdde95a7 100644 --- a/iSolarCloud/AppService/judgeIsSettingMan/data.go +++ b/iSolarCloud/AppService/judgeIsSettingMan/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/listOssFiles/data.go b/iSolarCloud/AppService/listOssFiles/data.go index 2cebd301b..c32e9510e 100644 --- a/iSolarCloud/AppService/listOssFiles/data.go +++ b/iSolarCloud/AppService/listOssFiles/data.go @@ -63,7 +63,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/loadAreaInfo/data.go b/iSolarCloud/AppService/loadAreaInfo/data.go index 8ab81e70e..c9c8b4986 100644 --- a/iSolarCloud/AppService/loadAreaInfo/data.go +++ b/iSolarCloud/AppService/loadAreaInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/loadPowerStation/data.go b/iSolarCloud/AppService/loadPowerStation/data.go index 37ff89ba1..a7f9e92f2 100644 --- a/iSolarCloud/AppService/loadPowerStation/data.go +++ b/iSolarCloud/AppService/loadPowerStation/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/login/data.go b/iSolarCloud/AppService/login/data.go index 012fc0568..31f5718e8 100644 --- a/iSolarCloud/AppService/login/data.go +++ b/iSolarCloud/AppService/login/data.go @@ -192,7 +192,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/loginByToken/data.go b/iSolarCloud/AppService/loginByToken/data.go index f4a00753c..faf9411ce 100644 --- a/iSolarCloud/AppService/loginByToken/data.go +++ b/iSolarCloud/AppService/loginByToken/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/logout/data.go b/iSolarCloud/AppService/logout/data.go index 1881b542b..ba8ed193c 100644 --- a/iSolarCloud/AppService/logout/data.go +++ b/iSolarCloud/AppService/logout/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/mobilePhoneHasBound/data.go b/iSolarCloud/AppService/mobilePhoneHasBound/data.go index ad552069e..0bb520a4e 100644 --- a/iSolarCloud/AppService/mobilePhoneHasBound/data.go +++ b/iSolarCloud/AppService/mobilePhoneHasBound/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/modifiedDeviceInfo/data.go b/iSolarCloud/AppService/modifiedDeviceInfo/data.go index 08059d463..df842150e 100644 --- a/iSolarCloud/AppService/modifiedDeviceInfo/data.go +++ b/iSolarCloud/AppService/modifiedDeviceInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/modifyEmgOrgStruc/data.go b/iSolarCloud/AppService/modifyEmgOrgStruc/data.go index 9fb273cc1..6d118a5aa 100644 --- a/iSolarCloud/AppService/modifyEmgOrgStruc/data.go +++ b/iSolarCloud/AppService/modifyEmgOrgStruc/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/modifyFaultPlan/data.go b/iSolarCloud/AppService/modifyFaultPlan/data.go index ead74afda..49ecfa7a8 100644 --- a/iSolarCloud/AppService/modifyFaultPlan/data.go +++ b/iSolarCloud/AppService/modifyFaultPlan/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/modifyOnDutyInfo/data.go b/iSolarCloud/AppService/modifyOnDutyInfo/data.go index 414944121..f8434878d 100644 --- a/iSolarCloud/AppService/modifyOnDutyInfo/data.go +++ b/iSolarCloud/AppService/modifyOnDutyInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/modifyPassword/data.go b/iSolarCloud/AppService/modifyPassword/data.go index 00261db5b..2580f31a6 100644 --- a/iSolarCloud/AppService/modifyPassword/data.go +++ b/iSolarCloud/AppService/modifyPassword/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/modifyPersonalUnitList/data.go b/iSolarCloud/AppService/modifyPersonalUnitList/data.go index 96daa97f6..511d3ee1e 100644 --- a/iSolarCloud/AppService/modifyPersonalUnitList/data.go +++ b/iSolarCloud/AppService/modifyPersonalUnitList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/modifyPsUser/data.go b/iSolarCloud/AppService/modifyPsUser/data.go index 6aad1cd76..4739328ec 100644 --- a/iSolarCloud/AppService/modifyPsUser/data.go +++ b/iSolarCloud/AppService/modifyPsUser/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/moduleLogParamSet/data.go b/iSolarCloud/AppService/moduleLogParamSet/data.go index cefd441fd..ee6b064c0 100644 --- a/iSolarCloud/AppService/moduleLogParamSet/data.go +++ b/iSolarCloud/AppService/moduleLogParamSet/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/operateOssFile/data.go b/iSolarCloud/AppService/operateOssFile/data.go index f5ff9ac61..3edf0a008 100644 --- a/iSolarCloud/AppService/operateOssFile/data.go +++ b/iSolarCloud/AppService/operateOssFile/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/operationPowerRobotSweepStrategy/data.go b/iSolarCloud/AppService/operationPowerRobotSweepStrategy/data.go index 3ffd81773..6276fc328 100644 --- a/iSolarCloud/AppService/operationPowerRobotSweepStrategy/data.go +++ b/iSolarCloud/AppService/operationPowerRobotSweepStrategy/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/orgPowerReport/data.go b/iSolarCloud/AppService/orgPowerReport/data.go index 9401de971..5f9742b05 100644 --- a/iSolarCloud/AppService/orgPowerReport/data.go +++ b/iSolarCloud/AppService/orgPowerReport/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/paramSetTryAgain/data.go b/iSolarCloud/AppService/paramSetTryAgain/data.go index bcaf78984..46773ac98 100644 --- a/iSolarCloud/AppService/paramSetTryAgain/data.go +++ b/iSolarCloud/AppService/paramSetTryAgain/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/paramSetting/data.go b/iSolarCloud/AppService/paramSetting/data.go index 88fa29972..6e30cab57 100644 --- a/iSolarCloud/AppService/paramSetting/data.go +++ b/iSolarCloud/AppService/paramSetting/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/planPower/data.go b/iSolarCloud/AppService/planPower/data.go index 036e6deec..d93190b6b 100644 --- a/iSolarCloud/AppService/planPower/data.go +++ b/iSolarCloud/AppService/planPower/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/powerDevicePointList/data.go b/iSolarCloud/AppService/powerDevicePointList/data.go index b65bdc644..d4bef8735 100644 --- a/iSolarCloud/AppService/powerDevicePointList/data.go +++ b/iSolarCloud/AppService/powerDevicePointList/data.go @@ -58,7 +58,7 @@ func (e *EndPoint) GetData() api.DataMap { // pkg := reflection.GetName("", *e) // dt := valueTypes.NewDateTime(valueTypes.Now) // name := pkg + "." + e.Request.PsId.String() - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/powerTrendChartData/data.go b/iSolarCloud/AppService/powerTrendChartData/data.go index 76bf2e425..199c5cfeb 100644 --- a/iSolarCloud/AppService/powerTrendChartData/data.go +++ b/iSolarCloud/AppService/powerTrendChartData/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryAllPsIdAndName/data.go b/iSolarCloud/AppService/queryAllPsIdAndName/data.go index 463aedb9d..a9ffa9446 100644 --- a/iSolarCloud/AppService/queryAllPsIdAndName/data.go +++ b/iSolarCloud/AppService/queryAllPsIdAndName/data.go @@ -48,7 +48,7 @@ func (e *EndPoint) GetData() api.DataMap { // pkg := reflection.GetName("", *e) // dt := valueTypes.NewDateTime(valueTypes.Now) // name := pkg + "." + e.Request.PsId.String() - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryBatchCreatePsTaskList/data.go b/iSolarCloud/AppService/queryBatchCreatePsTaskList/data.go index 0de6ab26d..4caa8cb0b 100644 --- a/iSolarCloud/AppService/queryBatchCreatePsTaskList/data.go +++ b/iSolarCloud/AppService/queryBatchCreatePsTaskList/data.go @@ -60,7 +60,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryBatchSpeedyAddPowerStationResult/data.go b/iSolarCloud/AppService/queryBatchSpeedyAddPowerStationResult/data.go index 8bbc41010..00adc3d17 100644 --- a/iSolarCloud/AppService/queryBatchSpeedyAddPowerStationResult/data.go +++ b/iSolarCloud/AppService/queryBatchSpeedyAddPowerStationResult/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryCardStatusCTCC/data.go b/iSolarCloud/AppService/queryCardStatusCTCC/data.go index 81fef474a..ea395f1d4 100644 --- a/iSolarCloud/AppService/queryCardStatusCTCC/data.go +++ b/iSolarCloud/AppService/queryCardStatusCTCC/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryChildAccountList/data.go b/iSolarCloud/AppService/queryChildAccountList/data.go index f38835aa3..bd6f59c95 100644 --- a/iSolarCloud/AppService/queryChildAccountList/data.go +++ b/iSolarCloud/AppService/queryChildAccountList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryCompensationRecordData/data.go b/iSolarCloud/AppService/queryCompensationRecordData/data.go index 43689ebfb..d65d7a5ac 100644 --- a/iSolarCloud/AppService/queryCompensationRecordData/data.go +++ b/iSolarCloud/AppService/queryCompensationRecordData/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryCompensationRecordList/data.go b/iSolarCloud/AppService/queryCompensationRecordList/data.go index 82fce08f3..32790fd31 100644 --- a/iSolarCloud/AppService/queryCompensationRecordList/data.go +++ b/iSolarCloud/AppService/queryCompensationRecordList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryComponent/data.go b/iSolarCloud/AppService/queryComponent/data.go index f1df35cce..ac240c4ca 100644 --- a/iSolarCloud/AppService/queryComponent/data.go +++ b/iSolarCloud/AppService/queryComponent/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryComponentTechnicalParam/data.go b/iSolarCloud/AppService/queryComponentTechnicalParam/data.go index 3b5a8b592..686faa812 100644 --- a/iSolarCloud/AppService/queryComponentTechnicalParam/data.go +++ b/iSolarCloud/AppService/queryComponentTechnicalParam/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryCountryGridAndRelation/data.go b/iSolarCloud/AppService/queryCountryGridAndRelation/data.go index f19ee0b93..62274fe6d 100644 --- a/iSolarCloud/AppService/queryCountryGridAndRelation/data.go +++ b/iSolarCloud/AppService/queryCountryGridAndRelation/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryCountryList/data.go b/iSolarCloud/AppService/queryCountryList/data.go index b45bcb954..a94dfa18e 100644 --- a/iSolarCloud/AppService/queryCountryList/data.go +++ b/iSolarCloud/AppService/queryCountryList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryCtrlTaskById/data.go b/iSolarCloud/AppService/queryCtrlTaskById/data.go index d746acab8..298437803 100644 --- a/iSolarCloud/AppService/queryCtrlTaskById/data.go +++ b/iSolarCloud/AppService/queryCtrlTaskById/data.go @@ -56,7 +56,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryDeviceList/data.go b/iSolarCloud/AppService/queryDeviceList/data.go index 4e4d46431..c80f027dd 100644 --- a/iSolarCloud/AppService/queryDeviceList/data.go +++ b/iSolarCloud/AppService/queryDeviceList/data.go @@ -121,7 +121,7 @@ type ResultData struct { OwnerAlarmCount valueTypes.Count `json:"owner_alarm_count" PointId:"owner_alarm_count" PointUpdateFreq:"UpdateFreqTotal"` OwnerDevFaultStatus valueTypes.Integer `json:"owner_dev_fault_status" PointId:"owner_dev_fault_status" PointUpdateFreq:"UpdateFreqInstant"` OwnerFaultCount valueTypes.Count `json:"owner_fault_count" PointId:"owner_fault_count" PointUpdateFreq:"UpdateFreqTotal"` - PointData []PointStruct `json:"point_data" PointNameFromChild:"PointId" DataTable:"true"` + PointData []PointStruct `json:"point_data" PointNameFromChild:"PointId" PointNameAppend:"false" DataTable:"true"` Points interface{} `json:"points" PointId:"points"` PsTimezoneInfo struct { IsDst valueTypes.Bool `json:"is_dst" PointUpdateFreq:"UpdateFreqInstant"` @@ -141,6 +141,14 @@ type ResultData struct { } type PointStruct struct { + PointId valueTypes.PointId `json:"point_id" PointIgnore:"true" PointUpdateFreq:"UpdateFreqBoot"` + PointGroupName valueTypes.String `json:"point_group_name" PointIgnore:"true" PointUpdateFreq:"UpdateFreqBoot"` + PointName valueTypes.String `json:"point_name" PointGroupNameFrom:"PointGroupName" PointTimestampFrom:"TimeStamp" PointUpdateFreq:"UpdateFreqBoot"` + TimeStamp valueTypes.DateTime `json:"time_stamp" PointIgnore:"true" PointUpdateFreq:"UpdateFreq5Mins"` + Value valueTypes.Float `json:"value" PointGroupNameFrom:"PointGroupName" PointTimestampFrom:"TimeStamp" PointUnitFrom:"Unit" PointUpdateFreq:"UpdateFreq5Mins"` + Unit valueTypes.String `json:"unit" PointIgnore:"true" PointUpdateFreq:"UpdateFreqBoot"` + ValueDescription valueTypes.String `json:"value_description" PointGroupNameFrom:"PointGroupName" PointTimestampFrom:"TimeStamp" PointUpdateFreq:"UpdateFreqBoot"` + CodeId valueTypes.Integer `json:"code_id" PointGroupNameFrom:"PointGroupName" PointTimestampFrom:"TimeStamp" PointUpdateFreq:"UpdateFreqBoot"` CodeIdOrderId valueTypes.String `json:"code_id_order_id" PointGroupNameFrom:"PointGroupName" PointTimestampFrom:"TimeStamp" PointUpdateFreq:"UpdateFreqBoot"` CodeName valueTypes.String `json:"code_name" PointGroupNameFrom:"PointGroupName" PointTimestampFrom:"TimeStamp" PointUpdateFreq:"UpdateFreqBoot"` @@ -151,28 +159,14 @@ type PointStruct struct { OrderNum valueTypes.Integer `json:"order_num" PointGroupNameFrom:"PointGroupName" PointTimestampFrom:"TimeStamp" PointUpdateFreq:"UpdateFreqBoot"` PointGroupId valueTypes.Integer `json:"point_group_id" PointGroupNameFrom:"PointGroupName" PointTimestampFrom:"TimeStamp" PointUpdateFreq:"UpdateFreqBoot"` PointGroupIdOrderId valueTypes.Integer `json:"point_group_id_order_id" PointGroupNameFrom:"PointGroupName" PointTimestampFrom:"TimeStamp" PointUpdateFreq:"UpdateFreqBoot"` - PointName valueTypes.String `json:"point_name" PointGroupNameFrom:"PointGroupName" PointTimestampFrom:"TimeStamp" PointUpdateFreq:"UpdateFreqBoot"` PointSign valueTypes.String `json:"point_sign" PointGroupNameFrom:"PointGroupName" PointTimestampFrom:"TimeStamp" PointUpdateFreq:"UpdateFreqBoot"` Relate valueTypes.Integer `json:"relate" PointGroupNameFrom:"PointGroupName" PointTimestampFrom:"TimeStamp" PointUpdateFreq:"UpdateFreqBoot"` - ValIsFixd valueTypes.Bool `json:"val_is_fixd" PointGroupNameFrom:"PointGroupName" PointTimestampFrom:"TimeStamp" PointUpdateFreq:"UpdateFreqBoot"` + ValIsFixed valueTypes.Bool `json:"val_is_fixd" PointId:"value_is_fixed" PointGroupNameFrom:"PointGroupName" PointTimestampFrom:"TimeStamp" PointUpdateFreq:"UpdateFreqBoot"` ValidSize valueTypes.Integer `json:"valid_size" PointGroupNameFrom:"PointGroupName" PointTimestampFrom:"TimeStamp" PointUpdateFreq:"UpdateFreqBoot"` - Value valueTypes.Float `json:"value" PointGroupNameFrom:"PointGroupName" PointTimestampFrom:"TimeStamp" PointUnitFrom:"Unit" PointUpdateFreq:"UpdateFreq5Mins"` - ValueDescription valueTypes.String `json:"value_description" PointGroupNameFrom:"PointGroupName" PointTimestampFrom:"TimeStamp" PointUpdateFreq:"UpdateFreqBoot"` - - PointId valueTypes.PointId `json:"point_id" PointIgnore:"true" PointUpdateFreq:"UpdateFreqBoot"` - PointGroupName valueTypes.String `json:"point_group_name" PointIgnore:"true" PointUpdateFreq:"UpdateFreqBoot"` - TimeStamp valueTypes.DateTime `json:"time_stamp" PointIgnore:"true" PointUpdateFreq:"UpdateFreq5Mins"` - Unit valueTypes.String `json:"unit" PointIgnore:"true" PointUpdateFreq:"UpdateFreqBoot"` } func (e *ResultData) IsValid() error { var err error - // switch { - // case e.Dummy == "": - // break - // default: - // err = errors.New(fmt.Sprintf("unknown error '%s'", e.Dummy)) - // } return err } diff --git a/iSolarCloud/AppService/queryDeviceListByUserId/data.go b/iSolarCloud/AppService/queryDeviceListByUserId/data.go index c7f4b62b3..df1405b3a 100644 --- a/iSolarCloud/AppService/queryDeviceListByUserId/data.go +++ b/iSolarCloud/AppService/queryDeviceListByUserId/data.go @@ -62,7 +62,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryDeviceListForApp/data.go b/iSolarCloud/AppService/queryDeviceListForApp/data.go index 21d5c073e..e619bb8b6 100644 --- a/iSolarCloud/AppService/queryDeviceListForApp/data.go +++ b/iSolarCloud/AppService/queryDeviceListForApp/data.go @@ -76,12 +76,6 @@ type ResultData struct { func (e *ResultData) IsValid() error { var err error - //switch { - //case e.Dummy == "": - // break - //default: - // err = errors.New(fmt.Sprintf("unknown error '%s'", e.Dummy)) - //} return err } @@ -89,10 +83,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - // pkg := reflection.GetName("", *e) - // dt := valueTypes.NewDateTime(valueTypes.Now) - // name := pkg + "." + e.Request.PsId.String() - entries.StructToDataMap(*e, e.Request.PsId.String(), nil) + entries.StructToDataMap(*e, e.Request.PsId.String(), GoStruct.NewEndPointPath(e.Request.PsId.String())) } return entries diff --git a/iSolarCloud/AppService/queryDeviceModelTechnical/data.go b/iSolarCloud/AppService/queryDeviceModelTechnical/data.go index 981c8c029..287795764 100644 --- a/iSolarCloud/AppService/queryDeviceModelTechnical/data.go +++ b/iSolarCloud/AppService/queryDeviceModelTechnical/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryDevicePointsDayMonthYearDataList/data.go b/iSolarCloud/AppService/queryDevicePointsDayMonthYearDataList/data.go index 0ce23625e..058310782 100644 --- a/iSolarCloud/AppService/queryDevicePointsDayMonthYearDataList/data.go +++ b/iSolarCloud/AppService/queryDevicePointsDayMonthYearDataList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryDeviceRealTimeDataByPsKeys/data.go b/iSolarCloud/AppService/queryDeviceRealTimeDataByPsKeys/data.go index 1b4702694..e1442072b 100644 --- a/iSolarCloud/AppService/queryDeviceRealTimeDataByPsKeys/data.go +++ b/iSolarCloud/AppService/queryDeviceRealTimeDataByPsKeys/data.go @@ -38,7 +38,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryDeviceRepairList/data.go b/iSolarCloud/AppService/queryDeviceRepairList/data.go index b072b534b..7decd6479 100644 --- a/iSolarCloud/AppService/queryDeviceRepairList/data.go +++ b/iSolarCloud/AppService/queryDeviceRepairList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryDeviceTypeInfoList/data.go b/iSolarCloud/AppService/queryDeviceTypeInfoList/data.go index bfc109d74..b1b279780 100644 --- a/iSolarCloud/AppService/queryDeviceTypeInfoList/data.go +++ b/iSolarCloud/AppService/queryDeviceTypeInfoList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryEnvironmentList/data.go b/iSolarCloud/AppService/queryEnvironmentList/data.go index 481860013..82c8574fc 100644 --- a/iSolarCloud/AppService/queryEnvironmentList/data.go +++ b/iSolarCloud/AppService/queryEnvironmentList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryFaultList/data.go b/iSolarCloud/AppService/queryFaultList/data.go index 84cb67936..ecb44d4d4 100644 --- a/iSolarCloud/AppService/queryFaultList/data.go +++ b/iSolarCloud/AppService/queryFaultList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryFaultPlanDetail/data.go b/iSolarCloud/AppService/queryFaultPlanDetail/data.go index 443709b75..2a8b3e95e 100644 --- a/iSolarCloud/AppService/queryFaultPlanDetail/data.go +++ b/iSolarCloud/AppService/queryFaultPlanDetail/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryFaultRepairSteps/data.go b/iSolarCloud/AppService/queryFaultRepairSteps/data.go index 9f7e0f892..71c95fdb6 100644 --- a/iSolarCloud/AppService/queryFaultRepairSteps/data.go +++ b/iSolarCloud/AppService/queryFaultRepairSteps/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryFaultTypeAndLevelByCode/data.go b/iSolarCloud/AppService/queryFaultTypeAndLevelByCode/data.go index 4c684e29b..72a744337 100644 --- a/iSolarCloud/AppService/queryFaultTypeAndLevelByCode/data.go +++ b/iSolarCloud/AppService/queryFaultTypeAndLevelByCode/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryFaultTypeByDevice/data.go b/iSolarCloud/AppService/queryFaultTypeByDevice/data.go index 285059620..0fc324c01 100644 --- a/iSolarCloud/AppService/queryFaultTypeByDevice/data.go +++ b/iSolarCloud/AppService/queryFaultTypeByDevice/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryFaultTypeByDevicePage/data.go b/iSolarCloud/AppService/queryFaultTypeByDevicePage/data.go index 2b44977c7..244989cb3 100644 --- a/iSolarCloud/AppService/queryFaultTypeByDevicePage/data.go +++ b/iSolarCloud/AppService/queryFaultTypeByDevicePage/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryFirmwareFilesPage/data.go b/iSolarCloud/AppService/queryFirmwareFilesPage/data.go index bf045d3f0..7ae130ac8 100644 --- a/iSolarCloud/AppService/queryFirmwareFilesPage/data.go +++ b/iSolarCloud/AppService/queryFirmwareFilesPage/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryInfotoAlert/data.go b/iSolarCloud/AppService/queryInfotoAlert/data.go index 4068ec5aa..0ccf61f08 100644 --- a/iSolarCloud/AppService/queryInfotoAlert/data.go +++ b/iSolarCloud/AppService/queryInfotoAlert/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryInverterModelList/data.go b/iSolarCloud/AppService/queryInverterModelList/data.go index dc983b3b6..c8cd3987d 100644 --- a/iSolarCloud/AppService/queryInverterModelList/data.go +++ b/iSolarCloud/AppService/queryInverterModelList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryInverterVersionList/data.go b/iSolarCloud/AppService/queryInverterVersionList/data.go index d1868b36e..e7eae7cda 100644 --- a/iSolarCloud/AppService/queryInverterVersionList/data.go +++ b/iSolarCloud/AppService/queryInverterVersionList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryM2MCardInfoCMCC/data.go b/iSolarCloud/AppService/queryM2MCardInfoCMCC/data.go index 35e8b7081..7f95d2c80 100644 --- a/iSolarCloud/AppService/queryM2MCardInfoCMCC/data.go +++ b/iSolarCloud/AppService/queryM2MCardInfoCMCC/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryM2MCardTermInfoCMCC/data.go b/iSolarCloud/AppService/queryM2MCardTermInfoCMCC/data.go index f04873dc2..b77a8101b 100644 --- a/iSolarCloud/AppService/queryM2MCardTermInfoCMCC/data.go +++ b/iSolarCloud/AppService/queryM2MCardTermInfoCMCC/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryModelInfoByModelId/data.go b/iSolarCloud/AppService/queryModelInfoByModelId/data.go index 6c6315af3..9445d6a68 100644 --- a/iSolarCloud/AppService/queryModelInfoByModelId/data.go +++ b/iSolarCloud/AppService/queryModelInfoByModelId/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryMutiPointDataList/data.go b/iSolarCloud/AppService/queryMutiPointDataList/data.go index 9d80ce3ea..5f8935cbc 100644 --- a/iSolarCloud/AppService/queryMutiPointDataList/data.go +++ b/iSolarCloud/AppService/queryMutiPointDataList/data.go @@ -239,7 +239,7 @@ func (e *EndPoint) GetData() api.DataMap { // name := pkg + "." + e.Request.PsId.String() entries.StructToDataMap(*e, e.Request.PsId.String(), GoStruct.NewEndPointPath(e.Request.PsId.String())) - // entries.StructToDataMap(*e, "system", nil) + // entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryNoticeList/data.go b/iSolarCloud/AppService/queryNoticeList/data.go index 0507beed3..d0448eec4 100644 --- a/iSolarCloud/AppService/queryNoticeList/data.go +++ b/iSolarCloud/AppService/queryNoticeList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryNumberOfRenewalReminders/data.go b/iSolarCloud/AppService/queryNumberOfRenewalReminders/data.go index e997b247d..851858cfa 100644 --- a/iSolarCloud/AppService/queryNumberOfRenewalReminders/data.go +++ b/iSolarCloud/AppService/queryNumberOfRenewalReminders/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryOperRules/data.go b/iSolarCloud/AppService/queryOperRules/data.go index f8a8143f1..aef0f8932 100644 --- a/iSolarCloud/AppService/queryOperRules/data.go +++ b/iSolarCloud/AppService/queryOperRules/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryOrderList/data.go b/iSolarCloud/AppService/queryOrderList/data.go index 6299e46e2..c8dde8608 100644 --- a/iSolarCloud/AppService/queryOrderList/data.go +++ b/iSolarCloud/AppService/queryOrderList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryOrderStep/data.go b/iSolarCloud/AppService/queryOrderStep/data.go index 5df5ddd71..15ae18ad5 100644 --- a/iSolarCloud/AppService/queryOrderStep/data.go +++ b/iSolarCloud/AppService/queryOrderStep/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryOrgGenerationReport/data.go b/iSolarCloud/AppService/queryOrgGenerationReport/data.go index b3f346f91..f7a658c2e 100644 --- a/iSolarCloud/AppService/queryOrgGenerationReport/data.go +++ b/iSolarCloud/AppService/queryOrgGenerationReport/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryOrgInfoList/data.go b/iSolarCloud/AppService/queryOrgInfoList/data.go index e6d31c033..2afe41e80 100644 --- a/iSolarCloud/AppService/queryOrgInfoList/data.go +++ b/iSolarCloud/AppService/queryOrgInfoList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryOrgPowerElecPercent/data.go b/iSolarCloud/AppService/queryOrgPowerElecPercent/data.go index 2b02a09fc..89b0c2a34 100644 --- a/iSolarCloud/AppService/queryOrgPowerElecPercent/data.go +++ b/iSolarCloud/AppService/queryOrgPowerElecPercent/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryOrgPsCompensationRecordList/data.go b/iSolarCloud/AppService/queryOrgPsCompensationRecordList/data.go index 47f06ce54..1de2ad723 100644 --- a/iSolarCloud/AppService/queryOrgPsCompensationRecordList/data.go +++ b/iSolarCloud/AppService/queryOrgPsCompensationRecordList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryParamSettingTask/data.go b/iSolarCloud/AppService/queryParamSettingTask/data.go index 6bc41fc10..0763bfbc8 100644 --- a/iSolarCloud/AppService/queryParamSettingTask/data.go +++ b/iSolarCloud/AppService/queryParamSettingTask/data.go @@ -63,7 +63,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryPersonalUnitList/data.go b/iSolarCloud/AppService/queryPersonalUnitList/data.go index d92276eb2..7d6929fbf 100644 --- a/iSolarCloud/AppService/queryPersonalUnitList/data.go +++ b/iSolarCloud/AppService/queryPersonalUnitList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryPointDataTopOne/data.go b/iSolarCloud/AppService/queryPointDataTopOne/data.go index 0750297bf..f0b770a98 100644 --- a/iSolarCloud/AppService/queryPointDataTopOne/data.go +++ b/iSolarCloud/AppService/queryPointDataTopOne/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryPsAreaByUserIdAndAreaCode/data.go b/iSolarCloud/AppService/queryPsAreaByUserIdAndAreaCode/data.go index 7235c6c29..52e8117ef 100644 --- a/iSolarCloud/AppService/queryPsAreaByUserIdAndAreaCode/data.go +++ b/iSolarCloud/AppService/queryPsAreaByUserIdAndAreaCode/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryPsCompensationRecordList/data.go b/iSolarCloud/AppService/queryPsCompensationRecordList/data.go index af9763eef..949452a3a 100644 --- a/iSolarCloud/AppService/queryPsCompensationRecordList/data.go +++ b/iSolarCloud/AppService/queryPsCompensationRecordList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryPsDataByDate/data.go b/iSolarCloud/AppService/queryPsDataByDate/data.go index 3f9ab5dbb..17cedaacc 100644 --- a/iSolarCloud/AppService/queryPsDataByDate/data.go +++ b/iSolarCloud/AppService/queryPsDataByDate/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryPsIdList/data.go b/iSolarCloud/AppService/queryPsIdList/data.go index 7082f59ce..b6f650a85 100644 --- a/iSolarCloud/AppService/queryPsIdList/data.go +++ b/iSolarCloud/AppService/queryPsIdList/data.go @@ -45,7 +45,7 @@ func (e *EndPoint) GetData() api.DataMap { // pkg := reflection.GetName("", *e) // dt := valueTypes.NewDateTime(valueTypes.Now) // name := pkg + "." + e.Request.PsId.String() - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryPsListByUserIdAndAreaCode/data.go b/iSolarCloud/AppService/queryPsListByUserIdAndAreaCode/data.go index 765012bb5..89f997caa 100644 --- a/iSolarCloud/AppService/queryPsListByUserIdAndAreaCode/data.go +++ b/iSolarCloud/AppService/queryPsListByUserIdAndAreaCode/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryPsNameByPsId/data.go b/iSolarCloud/AppService/queryPsNameByPsId/data.go index 2f98ec21b..9d76fefa7 100644 --- a/iSolarCloud/AppService/queryPsNameByPsId/data.go +++ b/iSolarCloud/AppService/queryPsNameByPsId/data.go @@ -41,7 +41,7 @@ func (e *EndPoint) GetData() api.DataMap { // pkg := reflection.GetName("", *e) // dt := valueTypes.NewDateTime(valueTypes.Now) // name := pkg + "." + e.Request.PsId.String() - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryPsPrByDate/data.go b/iSolarCloud/AppService/queryPsPrByDate/data.go index f8ee515cc..e25695214 100644 --- a/iSolarCloud/AppService/queryPsPrByDate/data.go +++ b/iSolarCloud/AppService/queryPsPrByDate/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryPsReportComparativeAnalysisOfPowerGeneration/data.go b/iSolarCloud/AppService/queryPsReportComparativeAnalysisOfPowerGeneration/data.go index 3d4bcc88f..68000b59f 100644 --- a/iSolarCloud/AppService/queryPsReportComparativeAnalysisOfPowerGeneration/data.go +++ b/iSolarCloud/AppService/queryPsReportComparativeAnalysisOfPowerGeneration/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryPsStructureList/data.go b/iSolarCloud/AppService/queryPsStructureList/data.go index d3189a3d9..549eca2d4 100644 --- a/iSolarCloud/AppService/queryPsStructureList/data.go +++ b/iSolarCloud/AppService/queryPsStructureList/data.go @@ -46,7 +46,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryPuuidsByCommandTotalId/data.go b/iSolarCloud/AppService/queryPuuidsByCommandTotalId/data.go index f9d84c282..64c8d73db 100644 --- a/iSolarCloud/AppService/queryPuuidsByCommandTotalId/data.go +++ b/iSolarCloud/AppService/queryPuuidsByCommandTotalId/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryPuuidsByCommandTotalId2/data.go b/iSolarCloud/AppService/queryPuuidsByCommandTotalId2/data.go index 41278409b..c7f4888d2 100644 --- a/iSolarCloud/AppService/queryPuuidsByCommandTotalId2/data.go +++ b/iSolarCloud/AppService/queryPuuidsByCommandTotalId2/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryRepairRuleList/data.go b/iSolarCloud/AppService/queryRepairRuleList/data.go index c3f9e7620..9fab22f76 100644 --- a/iSolarCloud/AppService/queryRepairRuleList/data.go +++ b/iSolarCloud/AppService/queryRepairRuleList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryReportListForManagementPage/data.go b/iSolarCloud/AppService/queryReportListForManagementPage/data.go index 5ee192677..dd309a29d 100644 --- a/iSolarCloud/AppService/queryReportListForManagementPage/data.go +++ b/iSolarCloud/AppService/queryReportListForManagementPage/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryReportMsg/data.go b/iSolarCloud/AppService/queryReportMsg/data.go index 695d287ff..f550755de 100644 --- a/iSolarCloud/AppService/queryReportMsg/data.go +++ b/iSolarCloud/AppService/queryReportMsg/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/querySharingPs/data.go b/iSolarCloud/AppService/querySharingPs/data.go index 384ba635f..3f452148e 100644 --- a/iSolarCloud/AppService/querySharingPs/data.go +++ b/iSolarCloud/AppService/querySharingPs/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/querySysAdvancedParam/data.go b/iSolarCloud/AppService/querySysAdvancedParam/data.go index e0e0f4468..01f8fd86f 100644 --- a/iSolarCloud/AppService/querySysAdvancedParam/data.go +++ b/iSolarCloud/AppService/querySysAdvancedParam/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryTimeBySN/data.go b/iSolarCloud/AppService/queryTimeBySN/data.go index 2d76ace05..240c70cc8 100644 --- a/iSolarCloud/AppService/queryTimeBySN/data.go +++ b/iSolarCloud/AppService/queryTimeBySN/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryTrafficByDateCTCC/data.go b/iSolarCloud/AppService/queryTrafficByDateCTCC/data.go index 2e135966b..41bf3ce80 100644 --- a/iSolarCloud/AppService/queryTrafficByDateCTCC/data.go +++ b/iSolarCloud/AppService/queryTrafficByDateCTCC/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryTrafficCTCC/data.go b/iSolarCloud/AppService/queryTrafficCTCC/data.go index 9b889be92..0e7103a2a 100644 --- a/iSolarCloud/AppService/queryTrafficCTCC/data.go +++ b/iSolarCloud/AppService/queryTrafficCTCC/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryUnitList/data.go b/iSolarCloud/AppService/queryUnitList/data.go index 9cfe831d2..997b7a31e 100644 --- a/iSolarCloud/AppService/queryUnitList/data.go +++ b/iSolarCloud/AppService/queryUnitList/data.go @@ -41,7 +41,7 @@ func (e *ResultData) IsValid() error { func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } - return entries.StructToDataMap(*e, "system", nil) + return entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } diff --git a/iSolarCloud/AppService/queryUnitUuidBytotalId/data.go b/iSolarCloud/AppService/queryUnitUuidBytotalId/data.go index 34aa8997b..389bd0992 100644 --- a/iSolarCloud/AppService/queryUnitUuidBytotalId/data.go +++ b/iSolarCloud/AppService/queryUnitUuidBytotalId/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryUserBtnPri/data.go b/iSolarCloud/AppService/queryUserBtnPri/data.go index 9e5470744..1f8cbfd10 100644 --- a/iSolarCloud/AppService/queryUserBtnPri/data.go +++ b/iSolarCloud/AppService/queryUserBtnPri/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryUserByUserIds/data.go b/iSolarCloud/AppService/queryUserByUserIds/data.go index 1ec005788..ec3ccce8d 100644 --- a/iSolarCloud/AppService/queryUserByUserIds/data.go +++ b/iSolarCloud/AppService/queryUserByUserIds/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryUserExtensionAttribute/data.go b/iSolarCloud/AppService/queryUserExtensionAttribute/data.go index fc1a409da..abb11a435 100644 --- a/iSolarCloud/AppService/queryUserExtensionAttribute/data.go +++ b/iSolarCloud/AppService/queryUserExtensionAttribute/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryUserForStep/data.go b/iSolarCloud/AppService/queryUserForStep/data.go index 183ad5d52..4f3f95b81 100644 --- a/iSolarCloud/AppService/queryUserForStep/data.go +++ b/iSolarCloud/AppService/queryUserForStep/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryUserList/data.go b/iSolarCloud/AppService/queryUserList/data.go index f27b23a41..626b2bf12 100644 --- a/iSolarCloud/AppService/queryUserList/data.go +++ b/iSolarCloud/AppService/queryUserList/data.go @@ -62,7 +62,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryUserProcessPri/data.go b/iSolarCloud/AppService/queryUserProcessPri/data.go index 9cc9bb6ad..433395a87 100644 --- a/iSolarCloud/AppService/queryUserProcessPri/data.go +++ b/iSolarCloud/AppService/queryUserProcessPri/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryUserWechatBindRel/data.go b/iSolarCloud/AppService/queryUserWechatBindRel/data.go index a3415ce4f..bffc2832d 100644 --- a/iSolarCloud/AppService/queryUserWechatBindRel/data.go +++ b/iSolarCloud/AppService/queryUserWechatBindRel/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/queryUuidByTotalIdAndUuid/data.go b/iSolarCloud/AppService/queryUuidByTotalIdAndUuid/data.go index 3cbaa449e..8454a10d8 100644 --- a/iSolarCloud/AppService/queryUuidByTotalIdAndUuid/data.go +++ b/iSolarCloud/AppService/queryUuidByTotalIdAndUuid/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/rechargeOrderSetMeal/data.go b/iSolarCloud/AppService/rechargeOrderSetMeal/data.go index fc602b288..4daf8b1c6 100644 --- a/iSolarCloud/AppService/rechargeOrderSetMeal/data.go +++ b/iSolarCloud/AppService/rechargeOrderSetMeal/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/renewSendReportConfirmEmail/data.go b/iSolarCloud/AppService/renewSendReportConfirmEmail/data.go index b113298b0..e4c989ff0 100644 --- a/iSolarCloud/AppService/renewSendReportConfirmEmail/data.go +++ b/iSolarCloud/AppService/renewSendReportConfirmEmail/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/saveCustomerEmployee/data.go b/iSolarCloud/AppService/saveCustomerEmployee/data.go index 7ef323930..6c86bd5ba 100644 --- a/iSolarCloud/AppService/saveCustomerEmployee/data.go +++ b/iSolarCloud/AppService/saveCustomerEmployee/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/saveDevSimList/data.go b/iSolarCloud/AppService/saveDevSimList/data.go index 4d362a1f0..ac7f473eb 100644 --- a/iSolarCloud/AppService/saveDevSimList/data.go +++ b/iSolarCloud/AppService/saveDevSimList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/saveDeviceAccountBatchData/data.go b/iSolarCloud/AppService/saveDeviceAccountBatchData/data.go index edfafd67c..a99edd8a7 100644 --- a/iSolarCloud/AppService/saveDeviceAccountBatchData/data.go +++ b/iSolarCloud/AppService/saveDeviceAccountBatchData/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/saveEnviromentIncomeInfos/data.go b/iSolarCloud/AppService/saveEnviromentIncomeInfos/data.go index d507de16d..fcce096bb 100644 --- a/iSolarCloud/AppService/saveEnviromentIncomeInfos/data.go +++ b/iSolarCloud/AppService/saveEnviromentIncomeInfos/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/saveEnvironmentCurve/data.go b/iSolarCloud/AppService/saveEnvironmentCurve/data.go index 98a3fbf47..e59ad8f7a 100644 --- a/iSolarCloud/AppService/saveEnvironmentCurve/data.go +++ b/iSolarCloud/AppService/saveEnvironmentCurve/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/saveFirmwareFile/data.go b/iSolarCloud/AppService/saveFirmwareFile/data.go index de64da5f0..7644d9a67 100644 --- a/iSolarCloud/AppService/saveFirmwareFile/data.go +++ b/iSolarCloud/AppService/saveFirmwareFile/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/saveIncomeSettingInfos/data.go b/iSolarCloud/AppService/saveIncomeSettingInfos/data.go index c06837b45..22c84baa9 100644 --- a/iSolarCloud/AppService/saveIncomeSettingInfos/data.go +++ b/iSolarCloud/AppService/saveIncomeSettingInfos/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/saveOrUpdateGroupStringCheckRule/data.go b/iSolarCloud/AppService/saveOrUpdateGroupStringCheckRule/data.go index da2d9cebd..3f75b466b 100644 --- a/iSolarCloud/AppService/saveOrUpdateGroupStringCheckRule/data.go +++ b/iSolarCloud/AppService/saveOrUpdateGroupStringCheckRule/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/saveParamModel/data.go b/iSolarCloud/AppService/saveParamModel/data.go index c9ad3aacf..d30927da9 100644 --- a/iSolarCloud/AppService/saveParamModel/data.go +++ b/iSolarCloud/AppService/saveParamModel/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/savePowerCharges/data.go b/iSolarCloud/AppService/savePowerCharges/data.go index cd58b5230..cefe84abc 100644 --- a/iSolarCloud/AppService/savePowerCharges/data.go +++ b/iSolarCloud/AppService/savePowerCharges/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/savePowerDevicePoint/data.go b/iSolarCloud/AppService/savePowerDevicePoint/data.go index 4cb29503e..c878a52a7 100644 --- a/iSolarCloud/AppService/savePowerDevicePoint/data.go +++ b/iSolarCloud/AppService/savePowerDevicePoint/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/savePowerRobotInfo/data.go b/iSolarCloud/AppService/savePowerRobotInfo/data.go index 8094e1024..402169279 100644 --- a/iSolarCloud/AppService/savePowerRobotInfo/data.go +++ b/iSolarCloud/AppService/savePowerRobotInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/savePowerRobotSweepAttr/data.go b/iSolarCloud/AppService/savePowerRobotSweepAttr/data.go index 1c3a29997..dcb525bed 100644 --- a/iSolarCloud/AppService/savePowerRobotSweepAttr/data.go +++ b/iSolarCloud/AppService/savePowerRobotSweepAttr/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/savePowerSettingCharges/data.go b/iSolarCloud/AppService/savePowerSettingCharges/data.go index 109b4bc8e..9f82563da 100644 --- a/iSolarCloud/AppService/savePowerSettingCharges/data.go +++ b/iSolarCloud/AppService/savePowerSettingCharges/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/savePowerSettingInfo/data.go b/iSolarCloud/AppService/savePowerSettingInfo/data.go index 0c69e1a5b..f9ed0a9fb 100644 --- a/iSolarCloud/AppService/savePowerSettingInfo/data.go +++ b/iSolarCloud/AppService/savePowerSettingInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/saveProductionBatchData/data.go b/iSolarCloud/AppService/saveProductionBatchData/data.go index fb6dcedce..4a7074e5a 100644 --- a/iSolarCloud/AppService/saveProductionBatchData/data.go +++ b/iSolarCloud/AppService/saveProductionBatchData/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/saveRechargeOrderObj/data.go b/iSolarCloud/AppService/saveRechargeOrderObj/data.go index c51e2209a..44e2d4635 100644 --- a/iSolarCloud/AppService/saveRechargeOrderObj/data.go +++ b/iSolarCloud/AppService/saveRechargeOrderObj/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/saveRechargeOrderOtherInfo/data.go b/iSolarCloud/AppService/saveRechargeOrderOtherInfo/data.go index 498bff13d..fe576ed2f 100644 --- a/iSolarCloud/AppService/saveRechargeOrderOtherInfo/data.go +++ b/iSolarCloud/AppService/saveRechargeOrderOtherInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/saveRepair/data.go b/iSolarCloud/AppService/saveRepair/data.go index 937cdef9a..4ee3cecc5 100644 --- a/iSolarCloud/AppService/saveRepair/data.go +++ b/iSolarCloud/AppService/saveRepair/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/saveReportExportColumns/data.go b/iSolarCloud/AppService/saveReportExportColumns/data.go index 5a6329544..ad60f38c1 100644 --- a/iSolarCloud/AppService/saveReportExportColumns/data.go +++ b/iSolarCloud/AppService/saveReportExportColumns/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/saveSetParam/data.go b/iSolarCloud/AppService/saveSetParam/data.go index 8083f8093..012388638 100644 --- a/iSolarCloud/AppService/saveSetParam/data.go +++ b/iSolarCloud/AppService/saveSetParam/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/saveSysUserMsg/data.go b/iSolarCloud/AppService/saveSysUserMsg/data.go index f7363961c..c89296f6d 100644 --- a/iSolarCloud/AppService/saveSysUserMsg/data.go +++ b/iSolarCloud/AppService/saveSysUserMsg/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/saveTemplate/data.go b/iSolarCloud/AppService/saveTemplate/data.go index d0e26efe4..d089d3b46 100644 --- a/iSolarCloud/AppService/saveTemplate/data.go +++ b/iSolarCloud/AppService/saveTemplate/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/searchM2MMonthFlowCMCC/data.go b/iSolarCloud/AppService/searchM2MMonthFlowCMCC/data.go index dc299fb50..fcaa8e9a7 100644 --- a/iSolarCloud/AppService/searchM2MMonthFlowCMCC/data.go +++ b/iSolarCloud/AppService/searchM2MMonthFlowCMCC/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/selectSysTranslationNames/data.go b/iSolarCloud/AppService/selectSysTranslationNames/data.go index f4590682f..a25fff383 100644 --- a/iSolarCloud/AppService/selectSysTranslationNames/data.go +++ b/iSolarCloud/AppService/selectSysTranslationNames/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/sendPsTimeZoneInstruction/data.go b/iSolarCloud/AppService/sendPsTimeZoneInstruction/data.go index 962a39d8f..eb8d689f2 100644 --- a/iSolarCloud/AppService/sendPsTimeZoneInstruction/data.go +++ b/iSolarCloud/AppService/sendPsTimeZoneInstruction/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/setUpFormulaFaultAnalyse/data.go b/iSolarCloud/AppService/setUpFormulaFaultAnalyse/data.go index 6adba3a49..7d36bc198 100644 --- a/iSolarCloud/AppService/setUpFormulaFaultAnalyse/data.go +++ b/iSolarCloud/AppService/setUpFormulaFaultAnalyse/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/setUserGDPRAttrs/data.go b/iSolarCloud/AppService/setUserGDPRAttrs/data.go index 35e9fa834..f6a792022 100644 --- a/iSolarCloud/AppService/setUserGDPRAttrs/data.go +++ b/iSolarCloud/AppService/setUserGDPRAttrs/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/settingNotice/data.go b/iSolarCloud/AppService/settingNotice/data.go index c67b39b0f..5a41dac86 100644 --- a/iSolarCloud/AppService/settingNotice/data.go +++ b/iSolarCloud/AppService/settingNotice/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/shareMyPs/data.go b/iSolarCloud/AppService/shareMyPs/data.go index 3a7833163..44bb4f4aa 100644 --- a/iSolarCloud/AppService/shareMyPs/data.go +++ b/iSolarCloud/AppService/shareMyPs/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/sharePsBySN/data.go b/iSolarCloud/AppService/sharePsBySN/data.go index 5576c0fc3..5e6ae5313 100644 --- a/iSolarCloud/AppService/sharePsBySN/data.go +++ b/iSolarCloud/AppService/sharePsBySN/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/showInverterByUnit/data.go b/iSolarCloud/AppService/showInverterByUnit/data.go index a51049df1..412a21af6 100644 --- a/iSolarCloud/AppService/showInverterByUnit/data.go +++ b/iSolarCloud/AppService/showInverterByUnit/data.go @@ -43,7 +43,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/showOnlineUsers/data.go b/iSolarCloud/AppService/showOnlineUsers/data.go index c45dbe427..53e490b46 100644 --- a/iSolarCloud/AppService/showOnlineUsers/data.go +++ b/iSolarCloud/AppService/showOnlineUsers/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/showWarning/data.go b/iSolarCloud/AppService/showWarning/data.go index 23bd96f12..c95bb763a 100644 --- a/iSolarCloud/AppService/showWarning/data.go +++ b/iSolarCloud/AppService/showWarning/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/snIsExist/data.go b/iSolarCloud/AppService/snIsExist/data.go index 42874856c..0f1b1b4eb 100644 --- a/iSolarCloud/AppService/snIsExist/data.go +++ b/iSolarCloud/AppService/snIsExist/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/snsIsExist/data.go b/iSolarCloud/AppService/snsIsExist/data.go index 0146caa1b..21c4656df 100644 --- a/iSolarCloud/AppService/snsIsExist/data.go +++ b/iSolarCloud/AppService/snsIsExist/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/speedyAddPowerStation/data.go b/iSolarCloud/AppService/speedyAddPowerStation/data.go index c55bce2d4..538b55c51 100644 --- a/iSolarCloud/AppService/speedyAddPowerStation/data.go +++ b/iSolarCloud/AppService/speedyAddPowerStation/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/stationDeviceHistoryDataList/data.go b/iSolarCloud/AppService/stationDeviceHistoryDataList/data.go index dd28a471b..9ae2e58f1 100644 --- a/iSolarCloud/AppService/stationDeviceHistoryDataList/data.go +++ b/iSolarCloud/AppService/stationDeviceHistoryDataList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/stationUnitsList/data.go b/iSolarCloud/AppService/stationUnitsList/data.go index b956e6cdf..b772f8378 100644 --- a/iSolarCloud/AppService/stationUnitsList/data.go +++ b/iSolarCloud/AppService/stationUnitsList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/stationsDiscreteData/data.go b/iSolarCloud/AppService/stationsDiscreteData/data.go index 81f240e06..10de7c888 100644 --- a/iSolarCloud/AppService/stationsDiscreteData/data.go +++ b/iSolarCloud/AppService/stationsDiscreteData/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/stationsIncomeList/data.go b/iSolarCloud/AppService/stationsIncomeList/data.go index b27a3160c..c622f4abb 100644 --- a/iSolarCloud/AppService/stationsIncomeList/data.go +++ b/iSolarCloud/AppService/stationsIncomeList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/stationsPointReport/data.go b/iSolarCloud/AppService/stationsPointReport/data.go index cb873053f..e72a0bd9a 100644 --- a/iSolarCloud/AppService/stationsPointReport/data.go +++ b/iSolarCloud/AppService/stationsPointReport/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/stationsYearPlanReport/data.go b/iSolarCloud/AppService/stationsYearPlanReport/data.go index 1c84361bc..3fc248fdc 100644 --- a/iSolarCloud/AppService/stationsYearPlanReport/data.go +++ b/iSolarCloud/AppService/stationsYearPlanReport/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/sureAndImportSelettlementData/data.go b/iSolarCloud/AppService/sureAndImportSelettlementData/data.go index 6e410fa5b..ca8eba6a2 100644 --- a/iSolarCloud/AppService/sureAndImportSelettlementData/data.go +++ b/iSolarCloud/AppService/sureAndImportSelettlementData/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/sweepDevParamSet/data.go b/iSolarCloud/AppService/sweepDevParamSet/data.go index 5a24b1eed..b9089005d 100644 --- a/iSolarCloud/AppService/sweepDevParamSet/data.go +++ b/iSolarCloud/AppService/sweepDevParamSet/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/sweepDevRunControl/data.go b/iSolarCloud/AppService/sweepDevRunControl/data.go index 025fe655b..69838897d 100644 --- a/iSolarCloud/AppService/sweepDevRunControl/data.go +++ b/iSolarCloud/AppService/sweepDevRunControl/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/sweepDevStrategyIssue/data.go b/iSolarCloud/AppService/sweepDevStrategyIssue/data.go index b909538c1..34a6889c9 100644 --- a/iSolarCloud/AppService/sweepDevStrategyIssue/data.go +++ b/iSolarCloud/AppService/sweepDevStrategyIssue/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/sysTimeZoneList/data.go b/iSolarCloud/AppService/sysTimeZoneList/data.go index 972faf8c0..6246336ca 100644 --- a/iSolarCloud/AppService/sysTimeZoneList/data.go +++ b/iSolarCloud/AppService/sysTimeZoneList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/unLockUser/data.go b/iSolarCloud/AppService/unLockUser/data.go index 830105ee4..17280440c 100644 --- a/iSolarCloud/AppService/unLockUser/data.go +++ b/iSolarCloud/AppService/unLockUser/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/unlockChildAccount/data.go b/iSolarCloud/AppService/unlockChildAccount/data.go index 356ce0200..47410d062 100644 --- a/iSolarCloud/AppService/unlockChildAccount/data.go +++ b/iSolarCloud/AppService/unlockChildAccount/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/updateCommunicationModuleState/data.go b/iSolarCloud/AppService/updateCommunicationModuleState/data.go index 5bc92860a..09be35b24 100644 --- a/iSolarCloud/AppService/updateCommunicationModuleState/data.go +++ b/iSolarCloud/AppService/updateCommunicationModuleState/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/updateDevInstalledPower/data.go b/iSolarCloud/AppService/updateDevInstalledPower/data.go index 02465fdde..adb7acb2e 100644 --- a/iSolarCloud/AppService/updateDevInstalledPower/data.go +++ b/iSolarCloud/AppService/updateDevInstalledPower/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/updateFault/data.go b/iSolarCloud/AppService/updateFault/data.go index e5fdddbdc..1e3f55bc2 100644 --- a/iSolarCloud/AppService/updateFault/data.go +++ b/iSolarCloud/AppService/updateFault/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/updateFaultData/data.go b/iSolarCloud/AppService/updateFaultData/data.go index d6ccec48f..26c321dbc 100644 --- a/iSolarCloud/AppService/updateFaultData/data.go +++ b/iSolarCloud/AppService/updateFaultData/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/updateFaultMsgByFaultCode/data.go b/iSolarCloud/AppService/updateFaultMsgByFaultCode/data.go index 5e3e02611..429fb4f47 100644 --- a/iSolarCloud/AppService/updateFaultMsgByFaultCode/data.go +++ b/iSolarCloud/AppService/updateFaultMsgByFaultCode/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/updateFaultStatus/data.go b/iSolarCloud/AppService/updateFaultStatus/data.go index 6866d857d..a93c4e602 100644 --- a/iSolarCloud/AppService/updateFaultStatus/data.go +++ b/iSolarCloud/AppService/updateFaultStatus/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/updateHouseholdWorkOrder/data.go b/iSolarCloud/AppService/updateHouseholdWorkOrder/data.go index a35e3aa45..5ae184ff4 100644 --- a/iSolarCloud/AppService/updateHouseholdWorkOrder/data.go +++ b/iSolarCloud/AppService/updateHouseholdWorkOrder/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/updateInverterSn2ModuleSn/data.go b/iSolarCloud/AppService/updateInverterSn2ModuleSn/data.go index 9c1510ad1..9093b1246 100644 --- a/iSolarCloud/AppService/updateInverterSn2ModuleSn/data.go +++ b/iSolarCloud/AppService/updateInverterSn2ModuleSn/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/updateOperateTicketAttachmentId/data.go b/iSolarCloud/AppService/updateOperateTicketAttachmentId/data.go index acc5befda..dea676661 100644 --- a/iSolarCloud/AppService/updateOperateTicketAttachmentId/data.go +++ b/iSolarCloud/AppService/updateOperateTicketAttachmentId/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/updateOrderDeviceByCustomerService/data.go b/iSolarCloud/AppService/updateOrderDeviceByCustomerService/data.go index 5d9c21349..900e80789 100644 --- a/iSolarCloud/AppService/updateOrderDeviceByCustomerService/data.go +++ b/iSolarCloud/AppService/updateOrderDeviceByCustomerService/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/updateOwnerFaultConfig/data.go b/iSolarCloud/AppService/updateOwnerFaultConfig/data.go index ebe276dfd..afac772a2 100644 --- a/iSolarCloud/AppService/updateOwnerFaultConfig/data.go +++ b/iSolarCloud/AppService/updateOwnerFaultConfig/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/updateParamSettingSysMsg/data.go b/iSolarCloud/AppService/updateParamSettingSysMsg/data.go index 22127429f..6b6805bdc 100644 --- a/iSolarCloud/AppService/updateParamSettingSysMsg/data.go +++ b/iSolarCloud/AppService/updateParamSettingSysMsg/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/updatePlatformLevelFaultLevel/data.go b/iSolarCloud/AppService/updatePlatformLevelFaultLevel/data.go index f06bc0c6d..ee58f863f 100644 --- a/iSolarCloud/AppService/updatePlatformLevelFaultLevel/data.go +++ b/iSolarCloud/AppService/updatePlatformLevelFaultLevel/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/updatePowerDevicePoint/data.go b/iSolarCloud/AppService/updatePowerDevicePoint/data.go index 33838eb3a..2e37febbb 100644 --- a/iSolarCloud/AppService/updatePowerDevicePoint/data.go +++ b/iSolarCloud/AppService/updatePowerDevicePoint/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/updatePowerRobotInfo/data.go b/iSolarCloud/AppService/updatePowerRobotInfo/data.go index c786fcd1a..dcbae93b0 100644 --- a/iSolarCloud/AppService/updatePowerRobotInfo/data.go +++ b/iSolarCloud/AppService/updatePowerRobotInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/updatePowerRobotSweepAttr/data.go b/iSolarCloud/AppService/updatePowerRobotSweepAttr/data.go index 012bf7a62..b0df483dc 100644 --- a/iSolarCloud/AppService/updatePowerRobotSweepAttr/data.go +++ b/iSolarCloud/AppService/updatePowerRobotSweepAttr/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/updatePowerStationForHousehold/data.go b/iSolarCloud/AppService/updatePowerStationForHousehold/data.go index 560a48c1c..e7d9a002d 100644 --- a/iSolarCloud/AppService/updatePowerStationForHousehold/data.go +++ b/iSolarCloud/AppService/updatePowerStationForHousehold/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/updatePowerStationInfo/data.go b/iSolarCloud/AppService/updatePowerStationInfo/data.go index 1d10e0b64..eb704f3f0 100644 --- a/iSolarCloud/AppService/updatePowerStationInfo/data.go +++ b/iSolarCloud/AppService/updatePowerStationInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/updatePowerUserInfo/data.go b/iSolarCloud/AppService/updatePowerUserInfo/data.go index 348d5fedd..6fa1179eb 100644 --- a/iSolarCloud/AppService/updatePowerUserInfo/data.go +++ b/iSolarCloud/AppService/updatePowerUserInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/updateReportConfigByEmailAddr/data.go b/iSolarCloud/AppService/updateReportConfigByEmailAddr/data.go index 98b87d283..b91412cfb 100644 --- a/iSolarCloud/AppService/updateReportConfigByEmailAddr/data.go +++ b/iSolarCloud/AppService/updateReportConfigByEmailAddr/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/updateShareAttr/data.go b/iSolarCloud/AppService/updateShareAttr/data.go index 13b2d9272..c8f2d78f1 100644 --- a/iSolarCloud/AppService/updateShareAttr/data.go +++ b/iSolarCloud/AppService/updateShareAttr/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/updateSnIsSureFlag/data.go b/iSolarCloud/AppService/updateSnIsSureFlag/data.go index 685bc9273..37653a017 100644 --- a/iSolarCloud/AppService/updateSnIsSureFlag/data.go +++ b/iSolarCloud/AppService/updateSnIsSureFlag/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/updateStationPics/data.go b/iSolarCloud/AppService/updateStationPics/data.go index 0bf111e4d..fb1beed86 100644 --- a/iSolarCloud/AppService/updateStationPics/data.go +++ b/iSolarCloud/AppService/updateStationPics/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/updateSysAdvancedParam/data.go b/iSolarCloud/AppService/updateSysAdvancedParam/data.go index 106946ef1..a46eaeb71 100644 --- a/iSolarCloud/AppService/updateSysAdvancedParam/data.go +++ b/iSolarCloud/AppService/updateSysAdvancedParam/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/updateSysOrgNew/data.go b/iSolarCloud/AppService/updateSysOrgNew/data.go index b09c50990..3de2ca287 100644 --- a/iSolarCloud/AppService/updateSysOrgNew/data.go +++ b/iSolarCloud/AppService/updateSysOrgNew/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/updateTemplate/data.go b/iSolarCloud/AppService/updateTemplate/data.go index fa4668a53..7486d7f9d 100644 --- a/iSolarCloud/AppService/updateTemplate/data.go +++ b/iSolarCloud/AppService/updateTemplate/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/updateUinfoNetEaseUser/data.go b/iSolarCloud/AppService/updateUinfoNetEaseUser/data.go index f13ef50e9..0520923e7 100644 --- a/iSolarCloud/AppService/updateUinfoNetEaseUser/data.go +++ b/iSolarCloud/AppService/updateUinfoNetEaseUser/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/updateUserExtensionAttribute/data.go b/iSolarCloud/AppService/updateUserExtensionAttribute/data.go index ffc31f460..0ed333627 100644 --- a/iSolarCloud/AppService/updateUserExtensionAttribute/data.go +++ b/iSolarCloud/AppService/updateUserExtensionAttribute/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/updateUserLanguage/data.go b/iSolarCloud/AppService/updateUserLanguage/data.go index d4ffd5d2e..deaa94a1b 100644 --- a/iSolarCloud/AppService/updateUserLanguage/data.go +++ b/iSolarCloud/AppService/updateUserLanguage/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/updateUserPosition/data.go b/iSolarCloud/AppService/updateUserPosition/data.go index 3fb85a746..a666be84f 100644 --- a/iSolarCloud/AppService/updateUserPosition/data.go +++ b/iSolarCloud/AppService/updateUserPosition/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/updateUserUpOrg/data.go b/iSolarCloud/AppService/updateUserUpOrg/data.go index 0613a73da..5eb053105 100644 --- a/iSolarCloud/AppService/updateUserUpOrg/data.go +++ b/iSolarCloud/AppService/updateUserUpOrg/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/upgrade/data.go b/iSolarCloud/AppService/upgrade/data.go index 266c212a0..0dfb61d6e 100644 --- a/iSolarCloud/AppService/upgrade/data.go +++ b/iSolarCloud/AppService/upgrade/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/upgrate/data.go b/iSolarCloud/AppService/upgrate/data.go index e06a608f1..122120f58 100644 --- a/iSolarCloud/AppService/upgrate/data.go +++ b/iSolarCloud/AppService/upgrate/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/uploadFileToOss/data.go b/iSolarCloud/AppService/uploadFileToOss/data.go index 87128af6d..cbe1d8e34 100644 --- a/iSolarCloud/AppService/uploadFileToOss/data.go +++ b/iSolarCloud/AppService/uploadFileToOss/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/userAgreeGdprProtocol/data.go b/iSolarCloud/AppService/userAgreeGdprProtocol/data.go index 33b3976b4..0ebc8f3a4 100644 --- a/iSolarCloud/AppService/userAgreeGdprProtocol/data.go +++ b/iSolarCloud/AppService/userAgreeGdprProtocol/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/userInfoUniqueCheck/data.go b/iSolarCloud/AppService/userInfoUniqueCheck/data.go index 8dd7f890c..a2c7cc8e7 100644 --- a/iSolarCloud/AppService/userInfoUniqueCheck/data.go +++ b/iSolarCloud/AppService/userInfoUniqueCheck/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/userMailHasBound/data.go b/iSolarCloud/AppService/userMailHasBound/data.go index f3f712d31..1a521db79 100644 --- a/iSolarCloud/AppService/userMailHasBound/data.go +++ b/iSolarCloud/AppService/userMailHasBound/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/AppService/userRegister/data.go b/iSolarCloud/AppService/userRegister/data.go index 3c031aaaf..2b8c2e700 100644 --- a/iSolarCloud/AppService/userRegister/data.go +++ b/iSolarCloud/AppService/userRegister/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/MttvScreenService/accumEnergyPsKpiData/data.go b/iSolarCloud/MttvScreenService/accumEnergyPsKpiData/data.go index 304938248..ac719d077 100644 --- a/iSolarCloud/MttvScreenService/accumEnergyPsKpiData/data.go +++ b/iSolarCloud/MttvScreenService/accumEnergyPsKpiData/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/MttvScreenService/addBuildProgressing/data.go b/iSolarCloud/MttvScreenService/addBuildProgressing/data.go index 963ab6046..1bf0f051c 100644 --- a/iSolarCloud/MttvScreenService/addBuildProgressing/data.go +++ b/iSolarCloud/MttvScreenService/addBuildProgressing/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/MttvScreenService/deleteBuildProgressing/data.go b/iSolarCloud/MttvScreenService/deleteBuildProgressing/data.go index 067359d67..515c42207 100644 --- a/iSolarCloud/MttvScreenService/deleteBuildProgressing/data.go +++ b/iSolarCloud/MttvScreenService/deleteBuildProgressing/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/MttvScreenService/energyEquivalentHoursRanking/data.go b/iSolarCloud/MttvScreenService/energyEquivalentHoursRanking/data.go index 8eb32f53f..1886deafb 100644 --- a/iSolarCloud/MttvScreenService/energyEquivalentHoursRanking/data.go +++ b/iSolarCloud/MttvScreenService/energyEquivalentHoursRanking/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/MttvScreenService/energyGetRankBySortName/data.go b/iSolarCloud/MttvScreenService/energyGetRankBySortName/data.go index 26d185dd5..8b86f91be 100644 --- a/iSolarCloud/MttvScreenService/energyGetRankBySortName/data.go +++ b/iSolarCloud/MttvScreenService/energyGetRankBySortName/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/MttvScreenService/energyPovertyAlleviation/data.go b/iSolarCloud/MttvScreenService/energyPovertyAlleviation/data.go index ca128f7a7..c44718e09 100644 --- a/iSolarCloud/MttvScreenService/energyPovertyAlleviation/data.go +++ b/iSolarCloud/MttvScreenService/energyPovertyAlleviation/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/MttvScreenService/energyPowerGenerationTrends/data.go b/iSolarCloud/MttvScreenService/energyPowerGenerationTrends/data.go index 42adda38c..e960b181d 100644 --- a/iSolarCloud/MttvScreenService/energyPowerGenerationTrends/data.go +++ b/iSolarCloud/MttvScreenService/energyPowerGenerationTrends/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/MttvScreenService/findSingleStationPR/data.go b/iSolarCloud/MttvScreenService/findSingleStationPR/data.go index c0bc5a256..2af3cc3f7 100644 --- a/iSolarCloud/MttvScreenService/findSingleStationPR/data.go +++ b/iSolarCloud/MttvScreenService/findSingleStationPR/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/MttvScreenService/getCapabilityTrend/data.go b/iSolarCloud/MttvScreenService/getCapabilityTrend/data.go index d9269efd6..2004570e7 100644 --- a/iSolarCloud/MttvScreenService/getCapabilityTrend/data.go +++ b/iSolarCloud/MttvScreenService/getCapabilityTrend/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/MttvScreenService/getKpiByUserIdAndAreaCode/data.go b/iSolarCloud/MttvScreenService/getKpiByUserIdAndAreaCode/data.go index 2bdcd55ff..6535a9d01 100644 --- a/iSolarCloud/MttvScreenService/getKpiByUserIdAndAreaCode/data.go +++ b/iSolarCloud/MttvScreenService/getKpiByUserIdAndAreaCode/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/MttvScreenService/getMapByUser/data.go b/iSolarCloud/MttvScreenService/getMapByUser/data.go index 84ad0148a..294aa8df1 100644 --- a/iSolarCloud/MttvScreenService/getMapByUser/data.go +++ b/iSolarCloud/MttvScreenService/getMapByUser/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/MttvScreenService/getOrgProByUserId/data.go b/iSolarCloud/MttvScreenService/getOrgProByUserId/data.go index 1691a623f..549d225d8 100644 --- a/iSolarCloud/MttvScreenService/getOrgProByUserId/data.go +++ b/iSolarCloud/MttvScreenService/getOrgProByUserId/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/MttvScreenService/getPlanAndActualPower/data.go b/iSolarCloud/MttvScreenService/getPlanAndActualPower/data.go index 65989a9d0..7e0e1d219 100644 --- a/iSolarCloud/MttvScreenService/getPlanAndActualPower/data.go +++ b/iSolarCloud/MttvScreenService/getPlanAndActualPower/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/MttvScreenService/getPsDeviceListValue/data.go b/iSolarCloud/MttvScreenService/getPsDeviceListValue/data.go index 54e126754..bf7c9d079 100644 --- a/iSolarCloud/MttvScreenService/getPsDeviceListValue/data.go +++ b/iSolarCloud/MttvScreenService/getPsDeviceListValue/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/MttvScreenService/getPsInfoWithJoinGridByPsId/data.go b/iSolarCloud/MttvScreenService/getPsInfoWithJoinGridByPsId/data.go index ed3644c95..2ebe41d23 100644 --- a/iSolarCloud/MttvScreenService/getPsInfoWithJoinGridByPsId/data.go +++ b/iSolarCloud/MttvScreenService/getPsInfoWithJoinGridByPsId/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/MttvScreenService/getPsKpiForHoursByPsId/data.go b/iSolarCloud/MttvScreenService/getPsKpiForHoursByPsId/data.go index 5c2f84032..1085d508a 100644 --- a/iSolarCloud/MttvScreenService/getPsKpiForHoursByPsId/data.go +++ b/iSolarCloud/MttvScreenService/getPsKpiForHoursByPsId/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/MttvScreenService/getPsListByMapId/data.go b/iSolarCloud/MttvScreenService/getPsListByMapId/data.go index c5fa8dca9..573950179 100644 --- a/iSolarCloud/MttvScreenService/getPsListByMapId/data.go +++ b/iSolarCloud/MttvScreenService/getPsListByMapId/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/MttvScreenService/getPsListByUserIdAndAreaCode/data.go b/iSolarCloud/MttvScreenService/getPsListByUserIdAndAreaCode/data.go index b2278c219..590002c4b 100644 --- a/iSolarCloud/MttvScreenService/getPsListByUserIdAndAreaCode/data.go +++ b/iSolarCloud/MttvScreenService/getPsListByUserIdAndAreaCode/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/MttvScreenService/getTheoryAndActualPower/data.go b/iSolarCloud/MttvScreenService/getTheoryAndActualPower/data.go index b7849784a..389cb632c 100644 --- a/iSolarCloud/MttvScreenService/getTheoryAndActualPower/data.go +++ b/iSolarCloud/MttvScreenService/getTheoryAndActualPower/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/MttvScreenService/nextLevelOrgList/data.go b/iSolarCloud/MttvScreenService/nextLevelOrgList/data.go index 96cea850e..f75f8912c 100644 --- a/iSolarCloud/MttvScreenService/nextLevelOrgList/data.go +++ b/iSolarCloud/MttvScreenService/nextLevelOrgList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/MttvScreenService/nextLevelOrgStatisticalDataList/data.go b/iSolarCloud/MttvScreenService/nextLevelOrgStatisticalDataList/data.go index 468dfc5e8..964fa2258 100644 --- a/iSolarCloud/MttvScreenService/nextLevelOrgStatisticalDataList/data.go +++ b/iSolarCloud/MttvScreenService/nextLevelOrgStatisticalDataList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/MttvScreenService/orgPowerReport/data.go b/iSolarCloud/MttvScreenService/orgPowerReport/data.go index 9401de971..5f9742b05 100644 --- a/iSolarCloud/MttvScreenService/orgPowerReport/data.go +++ b/iSolarCloud/MttvScreenService/orgPowerReport/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/MttvScreenService/queryBuildProgressing/data.go b/iSolarCloud/MttvScreenService/queryBuildProgressing/data.go index fae3befc4..41cfb4b54 100644 --- a/iSolarCloud/MttvScreenService/queryBuildProgressing/data.go +++ b/iSolarCloud/MttvScreenService/queryBuildProgressing/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/MttvScreenService/queryBuildProgressingNew/data.go b/iSolarCloud/MttvScreenService/queryBuildProgressingNew/data.go index 139ce64a1..424287ea6 100644 --- a/iSolarCloud/MttvScreenService/queryBuildProgressingNew/data.go +++ b/iSolarCloud/MttvScreenService/queryBuildProgressingNew/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/MttvScreenService/queryBuildProgressingOne/data.go b/iSolarCloud/MttvScreenService/queryBuildProgressingOne/data.go index af300bc47..0ff041e64 100644 --- a/iSolarCloud/MttvScreenService/queryBuildProgressingOne/data.go +++ b/iSolarCloud/MttvScreenService/queryBuildProgressingOne/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/MttvScreenService/queryNearlyTwoYearsGenAndPrft/data.go b/iSolarCloud/MttvScreenService/queryNearlyTwoYearsGenAndPrft/data.go index 9da8b569d..ea6b2155e 100644 --- a/iSolarCloud/MttvScreenService/queryNearlyTwoYearsGenAndPrft/data.go +++ b/iSolarCloud/MttvScreenService/queryNearlyTwoYearsGenAndPrft/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/MttvScreenService/querySaveEnergyPsSOH/data.go b/iSolarCloud/MttvScreenService/querySaveEnergyPsSOH/data.go index 35392f43e..249728fea 100644 --- a/iSolarCloud/MttvScreenService/querySaveEnergyPsSOH/data.go +++ b/iSolarCloud/MttvScreenService/querySaveEnergyPsSOH/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/MttvScreenService/queryScreenUserMdIfo/data.go b/iSolarCloud/MttvScreenService/queryScreenUserMdIfo/data.go index 1a134014a..38b88516e 100644 --- a/iSolarCloud/MttvScreenService/queryScreenUserMdIfo/data.go +++ b/iSolarCloud/MttvScreenService/queryScreenUserMdIfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/MttvScreenService/saveOrUpdatePosition/data.go b/iSolarCloud/MttvScreenService/saveOrUpdatePosition/data.go index c5d14b10a..b1b71d095 100644 --- a/iSolarCloud/MttvScreenService/saveOrUpdatePosition/data.go +++ b/iSolarCloud/MttvScreenService/saveOrUpdatePosition/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/MttvScreenService/updateBuildProgressing/data.go b/iSolarCloud/MttvScreenService/updateBuildProgressing/data.go index 11ea0781b..d7a944d5e 100644 --- a/iSolarCloud/MttvScreenService/updateBuildProgressing/data.go +++ b/iSolarCloud/MttvScreenService/updateBuildProgressing/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/NullArea/NullEndpoint/data.go b/iSolarCloud/NullArea/NullEndpoint/data.go index ffa6bdf40..680bc4ea7 100644 --- a/iSolarCloud/NullArea/NullEndpoint/data.go +++ b/iSolarCloud/NullArea/NullEndpoint/data.go @@ -42,7 +42,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/PowerPointService/queryPointDataTopOne/data.go b/iSolarCloud/PowerPointService/queryPointDataTopOne/data.go index 0750297bf..f0b770a98 100644 --- a/iSolarCloud/PowerPointService/queryPointDataTopOne/data.go +++ b/iSolarCloud/PowerPointService/queryPointDataTopOne/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/addMaterial/data.go b/iSolarCloud/WebAppService/addMaterial/data.go index 5bafa9629..c4128547b 100644 --- a/iSolarCloud/WebAppService/addMaterial/data.go +++ b/iSolarCloud/WebAppService/addMaterial/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/addOptTicketInfo/data.go b/iSolarCloud/WebAppService/addOptTicketInfo/data.go index b0293883f..ecd8d2b1f 100644 --- a/iSolarCloud/WebAppService/addOptTicketInfo/data.go +++ b/iSolarCloud/WebAppService/addOptTicketInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/addSpareParts/data.go b/iSolarCloud/WebAppService/addSpareParts/data.go index 9f0953ea0..77dce9756 100644 --- a/iSolarCloud/WebAppService/addSpareParts/data.go +++ b/iSolarCloud/WebAppService/addSpareParts/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/associateQueryFaultNames/data.go b/iSolarCloud/WebAppService/associateQueryFaultNames/data.go index 1beb1fb2e..fe4d15bab 100644 --- a/iSolarCloud/WebAppService/associateQueryFaultNames/data.go +++ b/iSolarCloud/WebAppService/associateQueryFaultNames/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/auditPsDeviceCheck/data.go b/iSolarCloud/WebAppService/auditPsDeviceCheck/data.go index 5a27ef9f2..cc8183557 100644 --- a/iSolarCloud/WebAppService/auditPsDeviceCheck/data.go +++ b/iSolarCloud/WebAppService/auditPsDeviceCheck/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/calcOutputRankByDay/data.go b/iSolarCloud/WebAppService/calcOutputRankByDay/data.go index 954595990..75569cadd 100644 --- a/iSolarCloud/WebAppService/calcOutputRankByDay/data.go +++ b/iSolarCloud/WebAppService/calcOutputRankByDay/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/changeReadStatus/data.go b/iSolarCloud/WebAppService/changeReadStatus/data.go index 3967907be..cfef9def2 100644 --- a/iSolarCloud/WebAppService/changeReadStatus/data.go +++ b/iSolarCloud/WebAppService/changeReadStatus/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/checkMaterialName/data.go b/iSolarCloud/WebAppService/checkMaterialName/data.go index b49022981..33b472e14 100644 --- a/iSolarCloud/WebAppService/checkMaterialName/data.go +++ b/iSolarCloud/WebAppService/checkMaterialName/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/confirmFault/data.go b/iSolarCloud/WebAppService/confirmFault/data.go index 06c3de7c8..74b943a9b 100644 --- a/iSolarCloud/WebAppService/confirmFault/data.go +++ b/iSolarCloud/WebAppService/confirmFault/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/copeOperateTicket/data.go b/iSolarCloud/WebAppService/copeOperateTicket/data.go index 42829e285..bdf1ad767 100644 --- a/iSolarCloud/WebAppService/copeOperateTicket/data.go +++ b/iSolarCloud/WebAppService/copeOperateTicket/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/copySecondTypeTicket/data.go b/iSolarCloud/WebAppService/copySecondTypeTicket/data.go index b59c783a7..e24ddbdc7 100644 --- a/iSolarCloud/WebAppService/copySecondTypeTicket/data.go +++ b/iSolarCloud/WebAppService/copySecondTypeTicket/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/copyWorkTicket/data.go b/iSolarCloud/WebAppService/copyWorkTicket/data.go index e8ab8dae1..44ada79be 100644 --- a/iSolarCloud/WebAppService/copyWorkTicket/data.go +++ b/iSolarCloud/WebAppService/copyWorkTicket/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/delOptTicketInfo/data.go b/iSolarCloud/WebAppService/delOptTicketInfo/data.go index c0f067823..2de0b04e7 100644 --- a/iSolarCloud/WebAppService/delOptTicketInfo/data.go +++ b/iSolarCloud/WebAppService/delOptTicketInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/deleteDuty/data.go b/iSolarCloud/WebAppService/deleteDuty/data.go index de91ded0f..d2237a48d 100644 --- a/iSolarCloud/WebAppService/deleteDuty/data.go +++ b/iSolarCloud/WebAppService/deleteDuty/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/deleteDutyMid/data.go b/iSolarCloud/WebAppService/deleteDutyMid/data.go index b643be9db..66e5366d1 100644 --- a/iSolarCloud/WebAppService/deleteDutyMid/data.go +++ b/iSolarCloud/WebAppService/deleteDutyMid/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/deleteMaterial/data.go b/iSolarCloud/WebAppService/deleteMaterial/data.go index 3983b5093..54e1dd711 100644 --- a/iSolarCloud/WebAppService/deleteMaterial/data.go +++ b/iSolarCloud/WebAppService/deleteMaterial/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/deleteOrSharedSelfReport/data.go b/iSolarCloud/WebAppService/deleteOrSharedSelfReport/data.go index 4c910f4e8..e6b395177 100644 --- a/iSolarCloud/WebAppService/deleteOrSharedSelfReport/data.go +++ b/iSolarCloud/WebAppService/deleteOrSharedSelfReport/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/deleteSecondTypeTicket/data.go b/iSolarCloud/WebAppService/deleteSecondTypeTicket/data.go index 1c13f2eb6..c73337eb5 100644 --- a/iSolarCloud/WebAppService/deleteSecondTypeTicket/data.go +++ b/iSolarCloud/WebAppService/deleteSecondTypeTicket/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/deleteSparePartsById/data.go b/iSolarCloud/WebAppService/deleteSparePartsById/data.go index 25d7c9b00..3052af32b 100644 --- a/iSolarCloud/WebAppService/deleteSparePartsById/data.go +++ b/iSolarCloud/WebAppService/deleteSparePartsById/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/deleteWorkTicket/data.go b/iSolarCloud/WebAppService/deleteWorkTicket/data.go index 24f1a706f..a5ec9edf9 100644 --- a/iSolarCloud/WebAppService/deleteWorkTicket/data.go +++ b/iSolarCloud/WebAppService/deleteWorkTicket/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/deviceFactoryList/data.go b/iSolarCloud/WebAppService/deviceFactoryList/data.go index 26c5d850b..8dd76b290 100644 --- a/iSolarCloud/WebAppService/deviceFactoryList/data.go +++ b/iSolarCloud/WebAppService/deviceFactoryList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/dispartDataPageList/data.go b/iSolarCloud/WebAppService/dispartDataPageList/data.go index 50610a3c6..1eca4bb55 100644 --- a/iSolarCloud/WebAppService/dispartDataPageList/data.go +++ b/iSolarCloud/WebAppService/dispartDataPageList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/executeTask/data.go b/iSolarCloud/WebAppService/executeTask/data.go index 8a9511763..2e141681b 100644 --- a/iSolarCloud/WebAppService/executeTask/data.go +++ b/iSolarCloud/WebAppService/executeTask/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/findCurrentTask/data.go b/iSolarCloud/WebAppService/findCurrentTask/data.go index a463cb967..01ae27675 100644 --- a/iSolarCloud/WebAppService/findCurrentTask/data.go +++ b/iSolarCloud/WebAppService/findCurrentTask/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/findDeviceMessageByPskey/data.go b/iSolarCloud/WebAppService/findDeviceMessageByPskey/data.go index f7756aff6..24913a1c3 100644 --- a/iSolarCloud/WebAppService/findDeviceMessageByPskey/data.go +++ b/iSolarCloud/WebAppService/findDeviceMessageByPskey/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/findFactoryMessage/data.go b/iSolarCloud/WebAppService/findFactoryMessage/data.go index 111eecac4..3610eeab2 100644 --- a/iSolarCloud/WebAppService/findFactoryMessage/data.go +++ b/iSolarCloud/WebAppService/findFactoryMessage/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/findImgResources/data.go b/iSolarCloud/WebAppService/findImgResources/data.go index 4769cd226..c27f4267f 100644 --- a/iSolarCloud/WebAppService/findImgResources/data.go +++ b/iSolarCloud/WebAppService/findImgResources/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/findMateiralSubType/data.go b/iSolarCloud/WebAppService/findMateiralSubType/data.go index 797526f64..ac9b07607 100644 --- a/iSolarCloud/WebAppService/findMateiralSubType/data.go +++ b/iSolarCloud/WebAppService/findMateiralSubType/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/findMaterialById/data.go b/iSolarCloud/WebAppService/findMaterialById/data.go index 2e9c83ab6..121a70792 100644 --- a/iSolarCloud/WebAppService/findMaterialById/data.go +++ b/iSolarCloud/WebAppService/findMaterialById/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/findMyDealedCurrentTask/data.go b/iSolarCloud/WebAppService/findMyDealedCurrentTask/data.go index 94557d306..2a19af370 100644 --- a/iSolarCloud/WebAppService/findMyDealedCurrentTask/data.go +++ b/iSolarCloud/WebAppService/findMyDealedCurrentTask/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/findMyDealedImgResources/data.go b/iSolarCloud/WebAppService/findMyDealedImgResources/data.go index fef70007d..ceef94792 100644 --- a/iSolarCloud/WebAppService/findMyDealedImgResources/data.go +++ b/iSolarCloud/WebAppService/findMyDealedImgResources/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/findSeriesInverterData/data.go b/iSolarCloud/WebAppService/findSeriesInverterData/data.go index 904f31f78..7e698909c 100644 --- a/iSolarCloud/WebAppService/findSeriesInverterData/data.go +++ b/iSolarCloud/WebAppService/findSeriesInverterData/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/findWebRole/data.go b/iSolarCloud/WebAppService/findWebRole/data.go index e8c6b753b..b5f15fb2d 100644 --- a/iSolarCloud/WebAppService/findWebRole/data.go +++ b/iSolarCloud/WebAppService/findWebRole/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getAllPsFaultCount/data.go b/iSolarCloud/WebAppService/getAllPsFaultCount/data.go index 360441323..5d67ae4c1 100644 --- a/iSolarCloud/WebAppService/getAllPsFaultCount/data.go +++ b/iSolarCloud/WebAppService/getAllPsFaultCount/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getAllPsFaultCountByUserId/data.go b/iSolarCloud/WebAppService/getAllPsFaultCountByUserId/data.go index 8605c1369..61a06f84a 100644 --- a/iSolarCloud/WebAppService/getAllPsFaultCountByUserId/data.go +++ b/iSolarCloud/WebAppService/getAllPsFaultCountByUserId/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getAllPsList/data.go b/iSolarCloud/WebAppService/getAllPsList/data.go index 5f151f3eb..e1cd0299b 100644 --- a/iSolarCloud/WebAppService/getAllPsList/data.go +++ b/iSolarCloud/WebAppService/getAllPsList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getAllStore/data.go b/iSolarCloud/WebAppService/getAllStore/data.go index 49acbd414..ff7be3325 100644 --- a/iSolarCloud/WebAppService/getAllStore/data.go +++ b/iSolarCloud/WebAppService/getAllStore/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getBaseDeviceInfo/data.go b/iSolarCloud/WebAppService/getBaseDeviceInfo/data.go index 73236d23c..b6a32651b 100644 --- a/iSolarCloud/WebAppService/getBaseDeviceInfo/data.go +++ b/iSolarCloud/WebAppService/getBaseDeviceInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getBoxData/data.go b/iSolarCloud/WebAppService/getBoxData/data.go index b39b0840c..d183faea8 100644 --- a/iSolarCloud/WebAppService/getBoxData/data.go +++ b/iSolarCloud/WebAppService/getBoxData/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getCBoxTree/data.go b/iSolarCloud/WebAppService/getCBoxTree/data.go index c08a0124f..9b7ec999c 100644 --- a/iSolarCloud/WebAppService/getCBoxTree/data.go +++ b/iSolarCloud/WebAppService/getCBoxTree/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getCheckDevTypeList/data.go b/iSolarCloud/WebAppService/getCheckDevTypeList/data.go index 8f72df6c4..580a3f663 100644 --- a/iSolarCloud/WebAppService/getCheckDevTypeList/data.go +++ b/iSolarCloud/WebAppService/getCheckDevTypeList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getCheckUserList/data.go b/iSolarCloud/WebAppService/getCheckUserList/data.go index a0c6aa9b2..59ce9b7a5 100644 --- a/iSolarCloud/WebAppService/getCheckUserList/data.go +++ b/iSolarCloud/WebAppService/getCheckUserList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getChildOrg/data.go b/iSolarCloud/WebAppService/getChildOrg/data.go index 12252c8ff..3c7f9ec30 100644 --- a/iSolarCloud/WebAppService/getChildOrg/data.go +++ b/iSolarCloud/WebAppService/getChildOrg/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getCo/data.go b/iSolarCloud/WebAppService/getCo/data.go index 088b6da3d..a88035526 100644 --- a/iSolarCloud/WebAppService/getCo/data.go +++ b/iSolarCloud/WebAppService/getCo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getCodeTreeMap/data.go b/iSolarCloud/WebAppService/getCodeTreeMap/data.go index b096ee89e..1ffe25daf 100644 --- a/iSolarCloud/WebAppService/getCodeTreeMap/data.go +++ b/iSolarCloud/WebAppService/getCodeTreeMap/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getDST/data.go b/iSolarCloud/WebAppService/getDST/data.go index 700ae8e7e..8c67efc3c 100644 --- a/iSolarCloud/WebAppService/getDST/data.go +++ b/iSolarCloud/WebAppService/getDST/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getDataCounts/data.go b/iSolarCloud/WebAppService/getDataCounts/data.go index 2469256c2..ebf54551c 100644 --- a/iSolarCloud/WebAppService/getDataCounts/data.go +++ b/iSolarCloud/WebAppService/getDataCounts/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getDataInfo/data.go b/iSolarCloud/WebAppService/getDataInfo/data.go index 56403b4ef..82cc7ef3b 100644 --- a/iSolarCloud/WebAppService/getDataInfo/data.go +++ b/iSolarCloud/WebAppService/getDataInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getDevList/data.go b/iSolarCloud/WebAppService/getDevList/data.go index 2daf8b96b..21d93d624 100644 --- a/iSolarCloud/WebAppService/getDevList/data.go +++ b/iSolarCloud/WebAppService/getDevList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getDevName/data.go b/iSolarCloud/WebAppService/getDevName/data.go index c18a9d05b..012764403 100644 --- a/iSolarCloud/WebAppService/getDevName/data.go +++ b/iSolarCloud/WebAppService/getDevName/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getDevTypeList/data.go b/iSolarCloud/WebAppService/getDevTypeList/data.go index 2253d7290..31cd8cf6b 100644 --- a/iSolarCloud/WebAppService/getDevTypeList/data.go +++ b/iSolarCloud/WebAppService/getDevTypeList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getDeviceDataList/data.go b/iSolarCloud/WebAppService/getDeviceDataList/data.go index 08464f3f1..e1c354e10 100644 --- a/iSolarCloud/WebAppService/getDeviceDataList/data.go +++ b/iSolarCloud/WebAppService/getDeviceDataList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getDeviceFactory/data.go b/iSolarCloud/WebAppService/getDeviceFactory/data.go index d9b83a5b1..c364fa59e 100644 --- a/iSolarCloud/WebAppService/getDeviceFactory/data.go +++ b/iSolarCloud/WebAppService/getDeviceFactory/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getDeviceInfoForCheck/data.go b/iSolarCloud/WebAppService/getDeviceInfoForCheck/data.go index eea717d87..81459e28c 100644 --- a/iSolarCloud/WebAppService/getDeviceInfoForCheck/data.go +++ b/iSolarCloud/WebAppService/getDeviceInfoForCheck/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getDevicePointAttrs/data.go b/iSolarCloud/WebAppService/getDevicePointAttrs/data.go index ba77af420..f56f40eac 100644 --- a/iSolarCloud/WebAppService/getDevicePointAttrs/data.go +++ b/iSolarCloud/WebAppService/getDevicePointAttrs/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getDeviceTreeChild/data.go b/iSolarCloud/WebAppService/getDeviceTreeChild/data.go index a898b9fe6..3807c382e 100644 --- a/iSolarCloud/WebAppService/getDeviceTreeChild/data.go +++ b/iSolarCloud/WebAppService/getDeviceTreeChild/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getDeviceUuid/data.go b/iSolarCloud/WebAppService/getDeviceUuid/data.go index c934637f5..e3dfb6999 100644 --- a/iSolarCloud/WebAppService/getDeviceUuid/data.go +++ b/iSolarCloud/WebAppService/getDeviceUuid/data.go @@ -60,7 +60,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getDutyInfoById/data.go b/iSolarCloud/WebAppService/getDutyInfoById/data.go index cdc19cb90..2ecafb017 100644 --- a/iSolarCloud/WebAppService/getDutyInfoById/data.go +++ b/iSolarCloud/WebAppService/getDutyInfoById/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getDutyOrgZtree/data.go b/iSolarCloud/WebAppService/getDutyOrgZtree/data.go index da945dea1..d0a96ccbb 100644 --- a/iSolarCloud/WebAppService/getDutyOrgZtree/data.go +++ b/iSolarCloud/WebAppService/getDutyOrgZtree/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getElecEffectList/data.go b/iSolarCloud/WebAppService/getElecEffectList/data.go index ea78a2185..fe604bf53 100644 --- a/iSolarCloud/WebAppService/getElecEffectList/data.go +++ b/iSolarCloud/WebAppService/getElecEffectList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getEnvironmentInfo/data.go b/iSolarCloud/WebAppService/getEnvironmentInfo/data.go index dd3bf6e6a..8a59540a7 100644 --- a/iSolarCloud/WebAppService/getEnvironmentInfo/data.go +++ b/iSolarCloud/WebAppService/getEnvironmentInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getFaultList/data.go b/iSolarCloud/WebAppService/getFaultList/data.go index 305acae48..e30a385d2 100644 --- a/iSolarCloud/WebAppService/getFaultList/data.go +++ b/iSolarCloud/WebAppService/getFaultList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getFaultName/data.go b/iSolarCloud/WebAppService/getFaultName/data.go index f92eb142d..22b236730 100644 --- a/iSolarCloud/WebAppService/getFaultName/data.go +++ b/iSolarCloud/WebAppService/getFaultName/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getFaultOrder/data.go b/iSolarCloud/WebAppService/getFaultOrder/data.go index 8ec7c372c..608f64efa 100644 --- a/iSolarCloud/WebAppService/getFaultOrder/data.go +++ b/iSolarCloud/WebAppService/getFaultOrder/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getFaultOrderByOrderId/data.go b/iSolarCloud/WebAppService/getFaultOrderByOrderId/data.go index b71403d44..79c770bac 100644 --- a/iSolarCloud/WebAppService/getFaultOrderByOrderId/data.go +++ b/iSolarCloud/WebAppService/getFaultOrderByOrderId/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getFaultOrderList/data.go b/iSolarCloud/WebAppService/getFaultOrderList/data.go index 929e15786..6b63b1c28 100644 --- a/iSolarCloud/WebAppService/getFaultOrderList/data.go +++ b/iSolarCloud/WebAppService/getFaultOrderList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getFaultOrderStepList/data.go b/iSolarCloud/WebAppService/getFaultOrderStepList/data.go index b64f5fad2..03bc89b57 100644 --- a/iSolarCloud/WebAppService/getFaultOrderStepList/data.go +++ b/iSolarCloud/WebAppService/getFaultOrderStepList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getHTRoleList/data.go b/iSolarCloud/WebAppService/getHTRoleList/data.go index 1a4e32339..d0cc989b2 100644 --- a/iSolarCloud/WebAppService/getHTRoleList/data.go +++ b/iSolarCloud/WebAppService/getHTRoleList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getHistoryComments/data.go b/iSolarCloud/WebAppService/getHistoryComments/data.go index 032ab83bb..3ddcb2508 100644 --- a/iSolarCloud/WebAppService/getHistoryComments/data.go +++ b/iSolarCloud/WebAppService/getHistoryComments/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getInfo/data.go b/iSolarCloud/WebAppService/getInfo/data.go index 4af2bc230..934076d54 100644 --- a/iSolarCloud/WebAppService/getInfo/data.go +++ b/iSolarCloud/WebAppService/getInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getInverteTableListCount/data.go b/iSolarCloud/WebAppService/getInverteTableListCount/data.go index 3467aa59d..dd4de512b 100644 --- a/iSolarCloud/WebAppService/getInverteTableListCount/data.go +++ b/iSolarCloud/WebAppService/getInverteTableListCount/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getInverterDiscreteDistributioList/data.go b/iSolarCloud/WebAppService/getInverterDiscreteDistributioList/data.go index cbcc26a59..90ee8c388 100644 --- a/iSolarCloud/WebAppService/getInverterDiscreteDistributioList/data.go +++ b/iSolarCloud/WebAppService/getInverterDiscreteDistributioList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getInverterDiscreteList/data.go b/iSolarCloud/WebAppService/getInverterDiscreteList/data.go index aabdd34ed..baac50be3 100644 --- a/iSolarCloud/WebAppService/getInverterDiscreteList/data.go +++ b/iSolarCloud/WebAppService/getInverterDiscreteList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getInverterFactoryList/data.go b/iSolarCloud/WebAppService/getInverterFactoryList/data.go index 047b59e1b..863b2c747 100644 --- a/iSolarCloud/WebAppService/getInverterFactoryList/data.go +++ b/iSolarCloud/WebAppService/getInverterFactoryList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getInverterInfo/data.go b/iSolarCloud/WebAppService/getInverterInfo/data.go index ef4b296e9..a541889cc 100644 --- a/iSolarCloud/WebAppService/getInverterInfo/data.go +++ b/iSolarCloud/WebAppService/getInverterInfo/data.go @@ -39,7 +39,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getLoadCurveList/data.go b/iSolarCloud/WebAppService/getLoadCurveList/data.go index 0b22315bb..99f43e54f 100644 --- a/iSolarCloud/WebAppService/getLoadCurveList/data.go +++ b/iSolarCloud/WebAppService/getLoadCurveList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getMqttConfigInfoByAppkey/data.go b/iSolarCloud/WebAppService/getMqttConfigInfoByAppkey/data.go index d7f51e598..eb34b270f 100644 --- a/iSolarCloud/WebAppService/getMqttConfigInfoByAppkey/data.go +++ b/iSolarCloud/WebAppService/getMqttConfigInfoByAppkey/data.go @@ -111,7 +111,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getMultiPowers/data.go b/iSolarCloud/WebAppService/getMultiPowers/data.go index f2ddd35b6..7386ce4f6 100644 --- a/iSolarCloud/WebAppService/getMultiPowers/data.go +++ b/iSolarCloud/WebAppService/getMultiPowers/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getOndutyQuery/data.go b/iSolarCloud/WebAppService/getOndutyQuery/data.go index bcab7f606..f8f3137c3 100644 --- a/iSolarCloud/WebAppService/getOndutyQuery/data.go +++ b/iSolarCloud/WebAppService/getOndutyQuery/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getOperateTicketUserList/data.go b/iSolarCloud/WebAppService/getOperateTicketUserList/data.go index 9eb8dd6a0..4626dec42 100644 --- a/iSolarCloud/WebAppService/getOperateTicketUserList/data.go +++ b/iSolarCloud/WebAppService/getOperateTicketUserList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getOptTicketsAttachments/data.go b/iSolarCloud/WebAppService/getOptTicketsAttachments/data.go index c125b6a4c..088f45772 100644 --- a/iSolarCloud/WebAppService/getOptTicketsAttachments/data.go +++ b/iSolarCloud/WebAppService/getOptTicketsAttachments/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getOrderCount/data.go b/iSolarCloud/WebAppService/getOrderCount/data.go index 10b091f14..06dd1eddc 100644 --- a/iSolarCloud/WebAppService/getOrderCount/data.go +++ b/iSolarCloud/WebAppService/getOrderCount/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getOrderData/data.go b/iSolarCloud/WebAppService/getOrderData/data.go index 9e324f94c..5a146b5d8 100644 --- a/iSolarCloud/WebAppService/getOrderData/data.go +++ b/iSolarCloud/WebAppService/getOrderData/data.go @@ -39,7 +39,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getOrderDataSize/data.go b/iSolarCloud/WebAppService/getOrderDataSize/data.go index a72c3548a..1239a882d 100644 --- a/iSolarCloud/WebAppService/getOrderDataSize/data.go +++ b/iSolarCloud/WebAppService/getOrderDataSize/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getOrgPsEquipmentList/data.go b/iSolarCloud/WebAppService/getOrgPsEquipmentList/data.go index b1dd4dbf2..508eaf9d9 100644 --- a/iSolarCloud/WebAppService/getOrgPsEquipmentList/data.go +++ b/iSolarCloud/WebAppService/getOrgPsEquipmentList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getOrgPsPowerGenerationSummaryReport/data.go b/iSolarCloud/WebAppService/getOrgPsPowerGenerationSummaryReport/data.go index 7ef8161cd..6945cccf3 100644 --- a/iSolarCloud/WebAppService/getOrgPsPowerGenerationSummaryReport/data.go +++ b/iSolarCloud/WebAppService/getOrgPsPowerGenerationSummaryReport/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getParentUidChain/data.go b/iSolarCloud/WebAppService/getParentUidChain/data.go index 06dc92105..680ed4e52 100644 --- a/iSolarCloud/WebAppService/getParentUidChain/data.go +++ b/iSolarCloud/WebAppService/getParentUidChain/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getPowerKwhkwpList/data.go b/iSolarCloud/WebAppService/getPowerKwhkwpList/data.go index fbcb4336b..190e75d4a 100644 --- a/iSolarCloud/WebAppService/getPowerKwhkwpList/data.go +++ b/iSolarCloud/WebAppService/getPowerKwhkwpList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getPowerPrList/data.go b/iSolarCloud/WebAppService/getPowerPrList/data.go index 4db5e9228..0e046322c 100644 --- a/iSolarCloud/WebAppService/getPowerPrList/data.go +++ b/iSolarCloud/WebAppService/getPowerPrList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getPowerPredictionInfo/data.go b/iSolarCloud/WebAppService/getPowerPredictionInfo/data.go index d04256a01..277bc943b 100644 --- a/iSolarCloud/WebAppService/getPowerPredictionInfo/data.go +++ b/iSolarCloud/WebAppService/getPowerPredictionInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getPowerTrendDayData/data.go b/iSolarCloud/WebAppService/getPowerTrendDayData/data.go index fc6e936c1..886d7a6a0 100644 --- a/iSolarCloud/WebAppService/getPowerTrendDayData/data.go +++ b/iSolarCloud/WebAppService/getPowerTrendDayData/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getPowerTrendMonthData/data.go b/iSolarCloud/WebAppService/getPowerTrendMonthData/data.go index 3c90dfb1a..2b9c206bc 100644 --- a/iSolarCloud/WebAppService/getPowerTrendMonthData/data.go +++ b/iSolarCloud/WebAppService/getPowerTrendMonthData/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getPowerTrendYearData/data.go b/iSolarCloud/WebAppService/getPowerTrendYearData/data.go index b60aeb77a..6df5979b0 100644 --- a/iSolarCloud/WebAppService/getPowerTrendYearData/data.go +++ b/iSolarCloud/WebAppService/getPowerTrendYearData/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getPowerValue/data.go b/iSolarCloud/WebAppService/getPowerValue/data.go index 2ead50b17..87bd57d50 100644 --- a/iSolarCloud/WebAppService/getPowerValue/data.go +++ b/iSolarCloud/WebAppService/getPowerValue/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getPsBlock/data.go b/iSolarCloud/WebAppService/getPsBlock/data.go index 481c3ab50..d6f568f6e 100644 --- a/iSolarCloud/WebAppService/getPsBlock/data.go +++ b/iSolarCloud/WebAppService/getPsBlock/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getPsBlockData/data.go b/iSolarCloud/WebAppService/getPsBlockData/data.go index 381b5d7cf..94604a7df 100644 --- a/iSolarCloud/WebAppService/getPsBlockData/data.go +++ b/iSolarCloud/WebAppService/getPsBlockData/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getPsBlockTree/data.go b/iSolarCloud/WebAppService/getPsBlockTree/data.go index 974f3a2a5..3bcd6dda1 100644 --- a/iSolarCloud/WebAppService/getPsBlockTree/data.go +++ b/iSolarCloud/WebAppService/getPsBlockTree/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getPsBoxListCount/data.go b/iSolarCloud/WebAppService/getPsBoxListCount/data.go index b7a656545..6fb68567e 100644 --- a/iSolarCloud/WebAppService/getPsBoxListCount/data.go +++ b/iSolarCloud/WebAppService/getPsBoxListCount/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getPsCBoxDetail/data.go b/iSolarCloud/WebAppService/getPsCBoxDetail/data.go index 3a3f52603..b1503a380 100644 --- a/iSolarCloud/WebAppService/getPsCBoxDetail/data.go +++ b/iSolarCloud/WebAppService/getPsCBoxDetail/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getPsContact/data.go b/iSolarCloud/WebAppService/getPsContact/data.go index 79c41d01e..110a2c459 100644 --- a/iSolarCloud/WebAppService/getPsContact/data.go +++ b/iSolarCloud/WebAppService/getPsContact/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getPsDataVal/data.go b/iSolarCloud/WebAppService/getPsDataVal/data.go index 3d537e0ff..26cb880d8 100644 --- a/iSolarCloud/WebAppService/getPsDataVal/data.go +++ b/iSolarCloud/WebAppService/getPsDataVal/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getPsDeviceCheckList/data.go b/iSolarCloud/WebAppService/getPsDeviceCheckList/data.go index 47702d9a4..e8204f6ce 100644 --- a/iSolarCloud/WebAppService/getPsDeviceCheckList/data.go +++ b/iSolarCloud/WebAppService/getPsDeviceCheckList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getPsDeviceFaultList/data.go b/iSolarCloud/WebAppService/getPsDeviceFaultList/data.go index 2f250ecbe..fb1d4699e 100644 --- a/iSolarCloud/WebAppService/getPsDeviceFaultList/data.go +++ b/iSolarCloud/WebAppService/getPsDeviceFaultList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getPsFaultList/data.go b/iSolarCloud/WebAppService/getPsFaultList/data.go index 60fcf766a..bb4bf1f0e 100644 --- a/iSolarCloud/WebAppService/getPsFaultList/data.go +++ b/iSolarCloud/WebAppService/getPsFaultList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getPsIdByUserId/data.go b/iSolarCloud/WebAppService/getPsIdByUserId/data.go index 96094f408..4fedad6f6 100644 --- a/iSolarCloud/WebAppService/getPsIdByUserId/data.go +++ b/iSolarCloud/WebAppService/getPsIdByUserId/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getPsList/data.go b/iSolarCloud/WebAppService/getPsList/data.go index 55de66f04..54a59aef4 100644 --- a/iSolarCloud/WebAppService/getPsList/data.go +++ b/iSolarCloud/WebAppService/getPsList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getPsListForWorkTicket/data.go b/iSolarCloud/WebAppService/getPsListForWorkTicket/data.go index 607264b30..4713b3328 100644 --- a/iSolarCloud/WebAppService/getPsListForWorkTicket/data.go +++ b/iSolarCloud/WebAppService/getPsListForWorkTicket/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getPsPictureMessage/data.go b/iSolarCloud/WebAppService/getPsPictureMessage/data.go index 7f1b19cce..593697657 100644 --- a/iSolarCloud/WebAppService/getPsPictureMessage/data.go +++ b/iSolarCloud/WebAppService/getPsPictureMessage/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getPsTicketSizeAndClockNum/data.go b/iSolarCloud/WebAppService/getPsTicketSizeAndClockNum/data.go index 84b8c6c14..595d6aa7e 100644 --- a/iSolarCloud/WebAppService/getPsTicketSizeAndClockNum/data.go +++ b/iSolarCloud/WebAppService/getPsTicketSizeAndClockNum/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getPsTree/data.go b/iSolarCloud/WebAppService/getPsTree/data.go index 5b122138b..8ac03f93a 100644 --- a/iSolarCloud/WebAppService/getPsTree/data.go +++ b/iSolarCloud/WebAppService/getPsTree/data.go @@ -38,7 +38,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getPsTreeChild/data.go b/iSolarCloud/WebAppService/getPsTreeChild/data.go index 6045b1b3b..be960841a 100644 --- a/iSolarCloud/WebAppService/getPsTreeChild/data.go +++ b/iSolarCloud/WebAppService/getPsTreeChild/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getPsUserList/data.go b/iSolarCloud/WebAppService/getPsUserList/data.go index dd3d75a29..7cc95cce2 100644 --- a/iSolarCloud/WebAppService/getPsUserList/data.go +++ b/iSolarCloud/WebAppService/getPsUserList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getPsValue/data.go b/iSolarCloud/WebAppService/getPsValue/data.go index d2ef82497..e733559dc 100644 --- a/iSolarCloud/WebAppService/getPsValue/data.go +++ b/iSolarCloud/WebAppService/getPsValue/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getPscSeriseData/data.go b/iSolarCloud/WebAppService/getPscSeriseData/data.go index 59eb46ac2..eb47d227a 100644 --- a/iSolarCloud/WebAppService/getPscSeriseData/data.go +++ b/iSolarCloud/WebAppService/getPscSeriseData/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getReportListByType/data.go b/iSolarCloud/WebAppService/getReportListByType/data.go index 961e4f594..d825bb379 100644 --- a/iSolarCloud/WebAppService/getReportListByType/data.go +++ b/iSolarCloud/WebAppService/getReportListByType/data.go @@ -55,7 +55,7 @@ func (e *EndPoint) GetData() api.DataMap { // pkg := reflection.GetName("", *e) // dt := valueTypes.NewDateTime(valueTypes.Now) // name := pkg + "." + e.Request.DateId.Format(valueTypes.DateTimeLayoutDay) - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getReportPsTree/data.go b/iSolarCloud/WebAppService/getReportPsTree/data.go index 0ed0b2856..25b347541 100644 --- a/iSolarCloud/WebAppService/getReportPsTree/data.go +++ b/iSolarCloud/WebAppService/getReportPsTree/data.go @@ -42,7 +42,7 @@ func (e *EndPoint) GetData() api.DataMap { // pkg := reflection.GetName("", *e) // dt := valueTypes.NewDateTime(valueTypes.Now) // name := pkg + "." + e.Request.DateId.Format(valueTypes.DateTimeLayoutDay) - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getRoleList/data.go b/iSolarCloud/WebAppService/getRoleList/data.go index 3bcb31da0..be01f5b36 100644 --- a/iSolarCloud/WebAppService/getRoleList/data.go +++ b/iSolarCloud/WebAppService/getRoleList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getSafeEffectList/data.go b/iSolarCloud/WebAppService/getSafeEffectList/data.go index 49bcee021..6079a128a 100644 --- a/iSolarCloud/WebAppService/getSafeEffectList/data.go +++ b/iSolarCloud/WebAppService/getSafeEffectList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getSecondTypeTicketList/data.go b/iSolarCloud/WebAppService/getSecondTypeTicketList/data.go index 296e0b21b..54b0f7bef 100644 --- a/iSolarCloud/WebAppService/getSecondTypeTicketList/data.go +++ b/iSolarCloud/WebAppService/getSecondTypeTicketList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getSecondTypeTicketListForTicketDetail/data.go b/iSolarCloud/WebAppService/getSecondTypeTicketListForTicketDetail/data.go index 85da94d2b..e61e34d53 100644 --- a/iSolarCloud/WebAppService/getSecondTypeTicketListForTicketDetail/data.go +++ b/iSolarCloud/WebAppService/getSecondTypeTicketListForTicketDetail/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getSelfReportPoint/data.go b/iSolarCloud/WebAppService/getSelfReportPoint/data.go index 585c9c2fe..f9f2f1a7b 100644 --- a/iSolarCloud/WebAppService/getSelfReportPoint/data.go +++ b/iSolarCloud/WebAppService/getSelfReportPoint/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getSparePartsDetail/data.go b/iSolarCloud/WebAppService/getSparePartsDetail/data.go index 85726808b..1a3985196 100644 --- a/iSolarCloud/WebAppService/getSparePartsDetail/data.go +++ b/iSolarCloud/WebAppService/getSparePartsDetail/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getStatementList/data.go b/iSolarCloud/WebAppService/getStatementList/data.go index 168861153..7f18b6e6d 100644 --- a/iSolarCloud/WebAppService/getStatementList/data.go +++ b/iSolarCloud/WebAppService/getStatementList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getStoreByStationId/data.go b/iSolarCloud/WebAppService/getStoreByStationId/data.go index a85f2b694..8130d78c3 100644 --- a/iSolarCloud/WebAppService/getStoreByStationId/data.go +++ b/iSolarCloud/WebAppService/getStoreByStationId/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getSysUserList/data.go b/iSolarCloud/WebAppService/getSysUserList/data.go index f259c1b67..865e679ab 100644 --- a/iSolarCloud/WebAppService/getSysUserList/data.go +++ b/iSolarCloud/WebAppService/getSysUserList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getTableList/data.go b/iSolarCloud/WebAppService/getTableList/data.go index 05bf0a726..fd91c8723 100644 --- a/iSolarCloud/WebAppService/getTableList/data.go +++ b/iSolarCloud/WebAppService/getTableList/data.go @@ -38,7 +38,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getUserList/data.go b/iSolarCloud/WebAppService/getUserList/data.go index 96c496e78..63a27209e 100644 --- a/iSolarCloud/WebAppService/getUserList/data.go +++ b/iSolarCloud/WebAppService/getUserList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getWeather/data.go b/iSolarCloud/WebAppService/getWeather/data.go index 62515e605..0cfdca78e 100644 --- a/iSolarCloud/WebAppService/getWeather/data.go +++ b/iSolarCloud/WebAppService/getWeather/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getWorkTicketList/data.go b/iSolarCloud/WebAppService/getWorkTicketList/data.go index fb6219a55..df38556e2 100644 --- a/iSolarCloud/WebAppService/getWorkTicketList/data.go +++ b/iSolarCloud/WebAppService/getWorkTicketList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getWorkTicketListForTicketDetail/data.go b/iSolarCloud/WebAppService/getWorkTicketListForTicketDetail/data.go index 217c986c1..00d74d040 100644 --- a/iSolarCloud/WebAppService/getWorkTicketListForTicketDetail/data.go +++ b/iSolarCloud/WebAppService/getWorkTicketListForTicketDetail/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getWorkTicketRunningCount/data.go b/iSolarCloud/WebAppService/getWorkTicketRunningCount/data.go index 3cdadc9f2..7f3f0e32f 100644 --- a/iSolarCloud/WebAppService/getWorkTicketRunningCount/data.go +++ b/iSolarCloud/WebAppService/getWorkTicketRunningCount/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getWorkTicketUserList/data.go b/iSolarCloud/WebAppService/getWorkTicketUserList/data.go index dbd3e0807..275953188 100644 --- a/iSolarCloud/WebAppService/getWorkTicketUserList/data.go +++ b/iSolarCloud/WebAppService/getWorkTicketUserList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getinverterType/data.go b/iSolarCloud/WebAppService/getinverterType/data.go index f3a89cbfd..20a43db65 100644 --- a/iSolarCloud/WebAppService/getinverterType/data.go +++ b/iSolarCloud/WebAppService/getinverterType/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/getreportPermissionByUser/data.go b/iSolarCloud/WebAppService/getreportPermissionByUser/data.go index ed26e7a63..46a675109 100644 --- a/iSolarCloud/WebAppService/getreportPermissionByUser/data.go +++ b/iSolarCloud/WebAppService/getreportPermissionByUser/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/handleValue/data.go b/iSolarCloud/WebAppService/handleValue/data.go index e53522a5f..b4a05845f 100644 --- a/iSolarCloud/WebAppService/handleValue/data.go +++ b/iSolarCloud/WebAppService/handleValue/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/modifyDeviceInfo/data.go b/iSolarCloud/WebAppService/modifyDeviceInfo/data.go index 90af6793a..86fae9e29 100644 --- a/iSolarCloud/WebAppService/modifyDeviceInfo/data.go +++ b/iSolarCloud/WebAppService/modifyDeviceInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/operaStoreSpareParts/data.go b/iSolarCloud/WebAppService/operaStoreSpareParts/data.go index 97152e852..37f52282a 100644 --- a/iSolarCloud/WebAppService/operaStoreSpareParts/data.go +++ b/iSolarCloud/WebAppService/operaStoreSpareParts/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/operateBillTransferToUser/data.go b/iSolarCloud/WebAppService/operateBillTransferToUser/data.go index 197bf1d12..ed64e8ec2 100644 --- a/iSolarCloud/WebAppService/operateBillTransferToUser/data.go +++ b/iSolarCloud/WebAppService/operateBillTransferToUser/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/queryAllStockInventory/data.go b/iSolarCloud/WebAppService/queryAllStockInventory/data.go index 73ff35322..2d160b5fa 100644 --- a/iSolarCloud/WebAppService/queryAllStockInventory/data.go +++ b/iSolarCloud/WebAppService/queryAllStockInventory/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/queryBatteryBoardsPointsData/data.go b/iSolarCloud/WebAppService/queryBatteryBoardsPointsData/data.go index d74c8703a..8252cae2e 100644 --- a/iSolarCloud/WebAppService/queryBatteryBoardsPointsData/data.go +++ b/iSolarCloud/WebAppService/queryBatteryBoardsPointsData/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/queryCodeByType/data.go b/iSolarCloud/WebAppService/queryCodeByType/data.go index 2bc4f7ac0..7c53308c8 100644 --- a/iSolarCloud/WebAppService/queryCodeByType/data.go +++ b/iSolarCloud/WebAppService/queryCodeByType/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/queryDeviceInfoList/data.go b/iSolarCloud/WebAppService/queryDeviceInfoList/data.go index 876ab4759..a7b1c8513 100644 --- a/iSolarCloud/WebAppService/queryDeviceInfoList/data.go +++ b/iSolarCloud/WebAppService/queryDeviceInfoList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/queryElectricityCalendarData/data.go b/iSolarCloud/WebAppService/queryElectricityCalendarData/data.go index e4278757f..dfcacbdd3 100644 --- a/iSolarCloud/WebAppService/queryElectricityCalendarData/data.go +++ b/iSolarCloud/WebAppService/queryElectricityCalendarData/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/queryFaultCodes/data.go b/iSolarCloud/WebAppService/queryFaultCodes/data.go index f5f5a8ec9..35b5c7e67 100644 --- a/iSolarCloud/WebAppService/queryFaultCodes/data.go +++ b/iSolarCloud/WebAppService/queryFaultCodes/data.go @@ -41,7 +41,7 @@ func (e *EndPoint) GetData() api.DataMap { // pkg := reflection.GetName("", *e) // dt := valueTypes.NewDateTime(valueTypes.Now) // name := pkg + "." + e.Request.PsId.String() - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/queryFaultLevelAndType/data.go b/iSolarCloud/WebAppService/queryFaultLevelAndType/data.go index 9089706e6..71eca4d85 100644 --- a/iSolarCloud/WebAppService/queryFaultLevelAndType/data.go +++ b/iSolarCloud/WebAppService/queryFaultLevelAndType/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/queryFaultNames/data.go b/iSolarCloud/WebAppService/queryFaultNames/data.go index b09a085e6..592c66ad5 100644 --- a/iSolarCloud/WebAppService/queryFaultNames/data.go +++ b/iSolarCloud/WebAppService/queryFaultNames/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/queryMaterialType/data.go b/iSolarCloud/WebAppService/queryMaterialType/data.go index f44191043..7139311a4 100644 --- a/iSolarCloud/WebAppService/queryMaterialType/data.go +++ b/iSolarCloud/WebAppService/queryMaterialType/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/queryNounAndKlgList/data.go b/iSolarCloud/WebAppService/queryNounAndKlgList/data.go index d5ec54319..7f90a4e12 100644 --- a/iSolarCloud/WebAppService/queryNounAndKlgList/data.go +++ b/iSolarCloud/WebAppService/queryNounAndKlgList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/queryNounList/data.go b/iSolarCloud/WebAppService/queryNounList/data.go index be11ec919..9ad565417 100644 --- a/iSolarCloud/WebAppService/queryNounList/data.go +++ b/iSolarCloud/WebAppService/queryNounList/data.go @@ -41,7 +41,7 @@ func (e *EndPoint) GetData() api.DataMap { // pkg := reflection.GetName("", *e) // dt := valueTypes.NewDateTime(valueTypes.Now) // name := pkg + "." + e.Request.PsId.String() - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/queryOptTickctInfo/data.go b/iSolarCloud/WebAppService/queryOptTickctInfo/data.go index c214647e7..020d60a07 100644 --- a/iSolarCloud/WebAppService/queryOptTickctInfo/data.go +++ b/iSolarCloud/WebAppService/queryOptTickctInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/queryOrgIdByUser/data.go b/iSolarCloud/WebAppService/queryOrgIdByUser/data.go index a54245886..a4a4d7903 100644 --- a/iSolarCloud/WebAppService/queryOrgIdByUser/data.go +++ b/iSolarCloud/WebAppService/queryOrgIdByUser/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/queryPsCountryList/data.go b/iSolarCloud/WebAppService/queryPsCountryList/data.go index 719a96118..ecfeb53df 100644 --- a/iSolarCloud/WebAppService/queryPsCountryList/data.go +++ b/iSolarCloud/WebAppService/queryPsCountryList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/queryPsProvcnList/data.go b/iSolarCloud/WebAppService/queryPsProvcnList/data.go index c67070e0f..dd4d5c0b1 100644 --- a/iSolarCloud/WebAppService/queryPsProvcnList/data.go +++ b/iSolarCloud/WebAppService/queryPsProvcnList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/queryPsTypeByPsId/data.go b/iSolarCloud/WebAppService/queryPsTypeByPsId/data.go index 4c72f0909..6d8aa7a41 100644 --- a/iSolarCloud/WebAppService/queryPsTypeByPsId/data.go +++ b/iSolarCloud/WebAppService/queryPsTypeByPsId/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/querySparePartsList/data.go b/iSolarCloud/WebAppService/querySparePartsList/data.go index 1dc630648..7fa4dcacf 100644 --- a/iSolarCloud/WebAppService/querySparePartsList/data.go +++ b/iSolarCloud/WebAppService/querySparePartsList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/queryStoreList/data.go b/iSolarCloud/WebAppService/queryStoreList/data.go index 746f2be3c..ed7ec8f37 100644 --- a/iSolarCloud/WebAppService/queryStoreList/data.go +++ b/iSolarCloud/WebAppService/queryStoreList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/querySysTimezone/data.go b/iSolarCloud/WebAppService/querySysTimezone/data.go index 03e74e6ee..f272cd1be 100644 --- a/iSolarCloud/WebAppService/querySysTimezone/data.go +++ b/iSolarCloud/WebAppService/querySysTimezone/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/queryUnInventorySpareList/data.go b/iSolarCloud/WebAppService/queryUnInventorySpareList/data.go index b28030e35..a04c17a48 100644 --- a/iSolarCloud/WebAppService/queryUnInventorySpareList/data.go +++ b/iSolarCloud/WebAppService/queryUnInventorySpareList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/renewOperation/data.go b/iSolarCloud/WebAppService/renewOperation/data.go index 7a32c8b48..2f3d4d103 100644 --- a/iSolarCloud/WebAppService/renewOperation/data.go +++ b/iSolarCloud/WebAppService/renewOperation/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/saveCustomReport/data.go b/iSolarCloud/WebAppService/saveCustomReport/data.go index fee22548d..06e5182dd 100644 --- a/iSolarCloud/WebAppService/saveCustomReport/data.go +++ b/iSolarCloud/WebAppService/saveCustomReport/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/saveDutyInfo/data.go b/iSolarCloud/WebAppService/saveDutyInfo/data.go index 9102af617..784683f11 100644 --- a/iSolarCloud/WebAppService/saveDutyInfo/data.go +++ b/iSolarCloud/WebAppService/saveDutyInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/saveInventory/data.go b/iSolarCloud/WebAppService/saveInventory/data.go index 14698f43a..572e32934 100644 --- a/iSolarCloud/WebAppService/saveInventory/data.go +++ b/iSolarCloud/WebAppService/saveInventory/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/saveMaterial/data.go b/iSolarCloud/WebAppService/saveMaterial/data.go index 5b0188edb..da481f8e5 100644 --- a/iSolarCloud/WebAppService/saveMaterial/data.go +++ b/iSolarCloud/WebAppService/saveMaterial/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/saveSecondTypeTicket/data.go b/iSolarCloud/WebAppService/saveSecondTypeTicket/data.go index 1810ba16c..dee66ff65 100644 --- a/iSolarCloud/WebAppService/saveSecondTypeTicket/data.go +++ b/iSolarCloud/WebAppService/saveSecondTypeTicket/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/saveSelfReportPoint/data.go b/iSolarCloud/WebAppService/saveSelfReportPoint/data.go index eaeed6d81..16a748578 100644 --- a/iSolarCloud/WebAppService/saveSelfReportPoint/data.go +++ b/iSolarCloud/WebAppService/saveSelfReportPoint/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/saveWorkTicket/data.go b/iSolarCloud/WebAppService/saveWorkTicket/data.go index 7de243e54..b8a71bb59 100644 --- a/iSolarCloud/WebAppService/saveWorkTicket/data.go +++ b/iSolarCloud/WebAppService/saveWorkTicket/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/secondTypeTicketFlowImplementStep/data.go b/iSolarCloud/WebAppService/secondTypeTicketFlowImplementStep/data.go index 200d279b4..fefacb9e6 100644 --- a/iSolarCloud/WebAppService/secondTypeTicketFlowImplementStep/data.go +++ b/iSolarCloud/WebAppService/secondTypeTicketFlowImplementStep/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/secondTypeTicketFlowTransferStep/data.go b/iSolarCloud/WebAppService/secondTypeTicketFlowTransferStep/data.go index b2f102ddf..b9b53efe4 100644 --- a/iSolarCloud/WebAppService/secondTypeTicketFlowTransferStep/data.go +++ b/iSolarCloud/WebAppService/secondTypeTicketFlowTransferStep/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/secondTypeUpdateSign/data.go b/iSolarCloud/WebAppService/secondTypeUpdateSign/data.go index 2088135a4..05e073781 100644 --- a/iSolarCloud/WebAppService/secondTypeUpdateSign/data.go +++ b/iSolarCloud/WebAppService/secondTypeUpdateSign/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/selectPowerPageList/data.go b/iSolarCloud/WebAppService/selectPowerPageList/data.go index a0c2784ae..69e60b304 100644 --- a/iSolarCloud/WebAppService/selectPowerPageList/data.go +++ b/iSolarCloud/WebAppService/selectPowerPageList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/showAnalyzefxDetail/data.go b/iSolarCloud/WebAppService/showAnalyzefxDetail/data.go index 9b3f9e4eb..0d170bb5d 100644 --- a/iSolarCloud/WebAppService/showAnalyzefxDetail/data.go +++ b/iSolarCloud/WebAppService/showAnalyzefxDetail/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/showFxReport/data.go b/iSolarCloud/WebAppService/showFxReport/data.go index 768f3a07a..76179a269 100644 --- a/iSolarCloud/WebAppService/showFxReport/data.go +++ b/iSolarCloud/WebAppService/showFxReport/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/showMaterNameList/data.go b/iSolarCloud/WebAppService/showMaterNameList/data.go index 480d01ed5..e6c0a8f67 100644 --- a/iSolarCloud/WebAppService/showMaterNameList/data.go +++ b/iSolarCloud/WebAppService/showMaterNameList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/showMaterSubTypeList/data.go b/iSolarCloud/WebAppService/showMaterSubTypeList/data.go index 3a20b4647..9373d7f93 100644 --- a/iSolarCloud/WebAppService/showMaterSubTypeList/data.go +++ b/iSolarCloud/WebAppService/showMaterSubTypeList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/showTjReport/data.go b/iSolarCloud/WebAppService/showTjReport/data.go index bef23f9f0..993728e6d 100644 --- a/iSolarCloud/WebAppService/showTjReport/data.go +++ b/iSolarCloud/WebAppService/showTjReport/data.go @@ -40,7 +40,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/templateLikesInfo/data.go b/iSolarCloud/WebAppService/templateLikesInfo/data.go index 3ab7414c4..3223001e2 100644 --- a/iSolarCloud/WebAppService/templateLikesInfo/data.go +++ b/iSolarCloud/WebAppService/templateLikesInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/updOptTicketInfo/data.go b/iSolarCloud/WebAppService/updOptTicketInfo/data.go index adde8b4ed..2573a1ab5 100644 --- a/iSolarCloud/WebAppService/updOptTicketInfo/data.go +++ b/iSolarCloud/WebAppService/updOptTicketInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/updataWorkTicketAfterStartProcess/data.go b/iSolarCloud/WebAppService/updataWorkTicketAfterStartProcess/data.go index 9f4c3b100..9182ca32d 100644 --- a/iSolarCloud/WebAppService/updataWorkTicketAfterStartProcess/data.go +++ b/iSolarCloud/WebAppService/updataWorkTicketAfterStartProcess/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/updateBillTicketForTask/data.go b/iSolarCloud/WebAppService/updateBillTicketForTask/data.go index 879877b56..de14d1c5f 100644 --- a/iSolarCloud/WebAppService/updateBillTicketForTask/data.go +++ b/iSolarCloud/WebAppService/updateBillTicketForTask/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/updateDutyInfo/data.go b/iSolarCloud/WebAppService/updateDutyInfo/data.go index ef135ae77..403faa5b8 100644 --- a/iSolarCloud/WebAppService/updateDutyInfo/data.go +++ b/iSolarCloud/WebAppService/updateDutyInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/updateKnowledgeBaseUseNumber/data.go b/iSolarCloud/WebAppService/updateKnowledgeBaseUseNumber/data.go index 4e1c3507e..f5c17f14d 100644 --- a/iSolarCloud/WebAppService/updateKnowledgeBaseUseNumber/data.go +++ b/iSolarCloud/WebAppService/updateKnowledgeBaseUseNumber/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/updateMaterial/data.go b/iSolarCloud/WebAppService/updateMaterial/data.go index cacd82ded..8c48c4fd4 100644 --- a/iSolarCloud/WebAppService/updateMaterial/data.go +++ b/iSolarCloud/WebAppService/updateMaterial/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/updateSpareParts/data.go b/iSolarCloud/WebAppService/updateSpareParts/data.go index 0dffcc754..7df7a2a0f 100644 --- a/iSolarCloud/WebAppService/updateSpareParts/data.go +++ b/iSolarCloud/WebAppService/updateSpareParts/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/updateStopReason/data.go b/iSolarCloud/WebAppService/updateStopReason/data.go index 063e0ec68..4ab8e6773 100644 --- a/iSolarCloud/WebAppService/updateStopReason/data.go +++ b/iSolarCloud/WebAppService/updateStopReason/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebAppService/updateTemplate/data.go b/iSolarCloud/WebAppService/updateTemplate/data.go index c9d87f5b9..4d89756e6 100644 --- a/iSolarCloud/WebAppService/updateTemplate/data.go +++ b/iSolarCloud/WebAppService/updateTemplate/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/addPowerDeviceModel/data.go b/iSolarCloud/WebIscmAppService/addPowerDeviceModel/data.go index 7a59d222c..668ea0b41 100644 --- a/iSolarCloud/WebIscmAppService/addPowerDeviceModel/data.go +++ b/iSolarCloud/WebIscmAppService/addPowerDeviceModel/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/addPowerPointManage/data.go b/iSolarCloud/WebIscmAppService/addPowerPointManage/data.go index 3907a91ed..1adbbf575 100644 --- a/iSolarCloud/WebIscmAppService/addPowerPointManage/data.go +++ b/iSolarCloud/WebIscmAppService/addPowerPointManage/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/addSubTypeDevice/data.go b/iSolarCloud/WebIscmAppService/addSubTypeDevice/data.go index 7f2c26d36..6e14ab01e 100644 --- a/iSolarCloud/WebIscmAppService/addSubTypeDevice/data.go +++ b/iSolarCloud/WebIscmAppService/addSubTypeDevice/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/batchAddDevicesPropertis/data.go b/iSolarCloud/WebIscmAppService/batchAddDevicesPropertis/data.go index 4cb8fa6ba..880d97e4f 100644 --- a/iSolarCloud/WebIscmAppService/batchAddDevicesPropertis/data.go +++ b/iSolarCloud/WebIscmAppService/batchAddDevicesPropertis/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/batchDelDevice/data.go b/iSolarCloud/WebIscmAppService/batchDelDevice/data.go index c05f40681..47a4c4e0e 100644 --- a/iSolarCloud/WebIscmAppService/batchDelDevice/data.go +++ b/iSolarCloud/WebIscmAppService/batchDelDevice/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/batchSavePowerDeviceTechnical/data.go b/iSolarCloud/WebIscmAppService/batchSavePowerDeviceTechnical/data.go index 24de8dc5c..b3df45d63 100644 --- a/iSolarCloud/WebIscmAppService/batchSavePowerDeviceTechnical/data.go +++ b/iSolarCloud/WebIscmAppService/batchSavePowerDeviceTechnical/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/checkDeviceModel/data.go b/iSolarCloud/WebIscmAppService/checkDeviceModel/data.go index ec3f3cfb0..d12116ada 100644 --- a/iSolarCloud/WebIscmAppService/checkDeviceModel/data.go +++ b/iSolarCloud/WebIscmAppService/checkDeviceModel/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/contactMessageOpera/data.go b/iSolarCloud/WebIscmAppService/contactMessageOpera/data.go index d22024bd3..07e9fb234 100644 --- a/iSolarCloud/WebIscmAppService/contactMessageOpera/data.go +++ b/iSolarCloud/WebIscmAppService/contactMessageOpera/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/delDevice/data.go b/iSolarCloud/WebIscmAppService/delDevice/data.go index 9ce40a767..edcb57870 100644 --- a/iSolarCloud/WebIscmAppService/delDevice/data.go +++ b/iSolarCloud/WebIscmAppService/delDevice/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/deleteDeviceFactory/data.go b/iSolarCloud/WebIscmAppService/deleteDeviceFactory/data.go index 8fa78ef9b..a9d9c5ac6 100644 --- a/iSolarCloud/WebIscmAppService/deleteDeviceFactory/data.go +++ b/iSolarCloud/WebIscmAppService/deleteDeviceFactory/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/deleteDeviceType/data.go b/iSolarCloud/WebIscmAppService/deleteDeviceType/data.go index e8bb0e5ff..512c23283 100644 --- a/iSolarCloud/WebIscmAppService/deleteDeviceType/data.go +++ b/iSolarCloud/WebIscmAppService/deleteDeviceType/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/deleteMenu/data.go b/iSolarCloud/WebIscmAppService/deleteMenu/data.go index 0cc0229bd..b1144e089 100644 --- a/iSolarCloud/WebIscmAppService/deleteMenu/data.go +++ b/iSolarCloud/WebIscmAppService/deleteMenu/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/deleteOneNotice/data.go b/iSolarCloud/WebIscmAppService/deleteOneNotice/data.go index 80b17d5d8..6ab90254c 100644 --- a/iSolarCloud/WebIscmAppService/deleteOneNotice/data.go +++ b/iSolarCloud/WebIscmAppService/deleteOneNotice/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/deleteOrgNodeInfo/data.go b/iSolarCloud/WebIscmAppService/deleteOrgNodeInfo/data.go index f728d540c..346319ac0 100644 --- a/iSolarCloud/WebIscmAppService/deleteOrgNodeInfo/data.go +++ b/iSolarCloud/WebIscmAppService/deleteOrgNodeInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/deletePicture/data.go b/iSolarCloud/WebIscmAppService/deletePicture/data.go index a89529d24..e3778faec 100644 --- a/iSolarCloud/WebIscmAppService/deletePicture/data.go +++ b/iSolarCloud/WebIscmAppService/deletePicture/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/deletePointInfo/data.go b/iSolarCloud/WebIscmAppService/deletePointInfo/data.go index 9b450e7f2..4edc96c7c 100644 --- a/iSolarCloud/WebIscmAppService/deletePointInfo/data.go +++ b/iSolarCloud/WebIscmAppService/deletePointInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/deletePowerDeviceChannl/data.go b/iSolarCloud/WebIscmAppService/deletePowerDeviceChannl/data.go index d1ed5763f..1599084d2 100644 --- a/iSolarCloud/WebIscmAppService/deletePowerDeviceChannl/data.go +++ b/iSolarCloud/WebIscmAppService/deletePowerDeviceChannl/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/deletePowerDeviceModel/data.go b/iSolarCloud/WebIscmAppService/deletePowerDeviceModel/data.go index 257d95e4d..7ffb545ff 100644 --- a/iSolarCloud/WebIscmAppService/deletePowerDeviceModel/data.go +++ b/iSolarCloud/WebIscmAppService/deletePowerDeviceModel/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/deletePowerDeviceParameterPage/data.go b/iSolarCloud/WebIscmAppService/deletePowerDeviceParameterPage/data.go index 19e8d15bc..aae52fe17 100644 --- a/iSolarCloud/WebIscmAppService/deletePowerDeviceParameterPage/data.go +++ b/iSolarCloud/WebIscmAppService/deletePowerDeviceParameterPage/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/deletePowerDeviceSubType/data.go b/iSolarCloud/WebIscmAppService/deletePowerDeviceSubType/data.go index ab6d4a3ed..8640e5b3f 100644 --- a/iSolarCloud/WebIscmAppService/deletePowerDeviceSubType/data.go +++ b/iSolarCloud/WebIscmAppService/deletePowerDeviceSubType/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/deletePowerDeviceTechnical/data.go b/iSolarCloud/WebIscmAppService/deletePowerDeviceTechnical/data.go index 7679883ea..85ff4e546 100644 --- a/iSolarCloud/WebIscmAppService/deletePowerDeviceTechnical/data.go +++ b/iSolarCloud/WebIscmAppService/deletePowerDeviceTechnical/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/deletePowerStore/data.go b/iSolarCloud/WebIscmAppService/deletePowerStore/data.go index 8b0184175..a5d64c819 100644 --- a/iSolarCloud/WebIscmAppService/deletePowerStore/data.go +++ b/iSolarCloud/WebIscmAppService/deletePowerStore/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/deleteProcessDefinition/data.go b/iSolarCloud/WebIscmAppService/deleteProcessDefinition/data.go index bd6f09b70..f2eb02207 100644 --- a/iSolarCloud/WebIscmAppService/deleteProcessDefinition/data.go +++ b/iSolarCloud/WebIscmAppService/deleteProcessDefinition/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/deleteReport/data.go b/iSolarCloud/WebIscmAppService/deleteReport/data.go index f8dc70e5b..804c0d6f7 100644 --- a/iSolarCloud/WebIscmAppService/deleteReport/data.go +++ b/iSolarCloud/WebIscmAppService/deleteReport/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/deleteUserNode/data.go b/iSolarCloud/WebIscmAppService/deleteUserNode/data.go index 69d44004a..4af34017c 100644 --- a/iSolarCloud/WebIscmAppService/deleteUserNode/data.go +++ b/iSolarCloud/WebIscmAppService/deleteUserNode/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/deployProcess/data.go b/iSolarCloud/WebIscmAppService/deployProcess/data.go index 785da2c36..8884ee472 100644 --- a/iSolarCloud/WebIscmAppService/deployProcess/data.go +++ b/iSolarCloud/WebIscmAppService/deployProcess/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/editProcessManageAction/data.go b/iSolarCloud/WebIscmAppService/editProcessManageAction/data.go index 89389f8d7..c314fd041 100644 --- a/iSolarCloud/WebIscmAppService/editProcessManageAction/data.go +++ b/iSolarCloud/WebIscmAppService/editProcessManageAction/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/findImageInputStreamString/data.go b/iSolarCloud/WebIscmAppService/findImageInputStreamString/data.go index 990d3cba1..b7630bc19 100644 --- a/iSolarCloud/WebIscmAppService/findImageInputStreamString/data.go +++ b/iSolarCloud/WebIscmAppService/findImageInputStreamString/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getAllDevTypeList/data.go b/iSolarCloud/WebIscmAppService/getAllDevTypeList/data.go index 9fb61f087..d923218a8 100644 --- a/iSolarCloud/WebIscmAppService/getAllDevTypeList/data.go +++ b/iSolarCloud/WebIscmAppService/getAllDevTypeList/data.go @@ -40,7 +40,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getAllNodeByType/data.go b/iSolarCloud/WebIscmAppService/getAllNodeByType/data.go index 71bb9e3e2..6d7eb3bde 100644 --- a/iSolarCloud/WebIscmAppService/getAllNodeByType/data.go +++ b/iSolarCloud/WebIscmAppService/getAllNodeByType/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getAuthKey/data.go b/iSolarCloud/WebIscmAppService/getAuthKey/data.go index 374333946..47fcd6aee 100644 --- a/iSolarCloud/WebIscmAppService/getAuthKey/data.go +++ b/iSolarCloud/WebIscmAppService/getAuthKey/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getAuthKeyList/data.go b/iSolarCloud/WebIscmAppService/getAuthKeyList/data.go index 686da8afd..23078ee3d 100644 --- a/iSolarCloud/WebIscmAppService/getAuthKeyList/data.go +++ b/iSolarCloud/WebIscmAppService/getAuthKeyList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getCodeByType/data.go b/iSolarCloud/WebIscmAppService/getCodeByType/data.go index 0f9407d30..e8f8f3222 100644 --- a/iSolarCloud/WebIscmAppService/getCodeByType/data.go +++ b/iSolarCloud/WebIscmAppService/getCodeByType/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getContactMessage/data.go b/iSolarCloud/WebIscmAppService/getContactMessage/data.go index 0a109a8c8..55ffd0b32 100644 --- a/iSolarCloud/WebIscmAppService/getContactMessage/data.go +++ b/iSolarCloud/WebIscmAppService/getContactMessage/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getCountryNew/data.go b/iSolarCloud/WebIscmAppService/getCountryNew/data.go index 8fd712fdd..67aa57e1c 100644 --- a/iSolarCloud/WebIscmAppService/getCountryNew/data.go +++ b/iSolarCloud/WebIscmAppService/getCountryNew/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getDefinitionIdByKey/data.go b/iSolarCloud/WebIscmAppService/getDefinitionIdByKey/data.go index 3131af0f1..96540d03f 100644 --- a/iSolarCloud/WebIscmAppService/getDefinitionIdByKey/data.go +++ b/iSolarCloud/WebIscmAppService/getDefinitionIdByKey/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getDeploymentList/data.go b/iSolarCloud/WebIscmAppService/getDeploymentList/data.go index a09f79f55..3071b2fd1 100644 --- a/iSolarCloud/WebIscmAppService/getDeploymentList/data.go +++ b/iSolarCloud/WebIscmAppService/getDeploymentList/data.go @@ -40,7 +40,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getDeviceFactoryListByIds/data.go b/iSolarCloud/WebIscmAppService/getDeviceFactoryListByIds/data.go index ee7d3ccae..69bca5696 100644 --- a/iSolarCloud/WebIscmAppService/getDeviceFactoryListByIds/data.go +++ b/iSolarCloud/WebIscmAppService/getDeviceFactoryListByIds/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getDeviceModel/data.go b/iSolarCloud/WebIscmAppService/getDeviceModel/data.go index 9ddc82b36..f0e311664 100644 --- a/iSolarCloud/WebIscmAppService/getDeviceModel/data.go +++ b/iSolarCloud/WebIscmAppService/getDeviceModel/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getDevicePro/data.go b/iSolarCloud/WebIscmAppService/getDevicePro/data.go index 1d507e6ae..dcedb88ff 100644 --- a/iSolarCloud/WebIscmAppService/getDevicePro/data.go +++ b/iSolarCloud/WebIscmAppService/getDevicePro/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getDeviceSubType/data.go b/iSolarCloud/WebIscmAppService/getDeviceSubType/data.go index 6828589c4..532e0da5b 100644 --- a/iSolarCloud/WebIscmAppService/getDeviceSubType/data.go +++ b/iSolarCloud/WebIscmAppService/getDeviceSubType/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getDeviceTechnical/data.go b/iSolarCloud/WebIscmAppService/getDeviceTechnical/data.go index d000cb961..4aa53aa4b 100644 --- a/iSolarCloud/WebIscmAppService/getDeviceTechnical/data.go +++ b/iSolarCloud/WebIscmAppService/getDeviceTechnical/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getDeviceType/data.go b/iSolarCloud/WebIscmAppService/getDeviceType/data.go index 0829ad2b0..4aedd64ac 100644 --- a/iSolarCloud/WebIscmAppService/getDeviceType/data.go +++ b/iSolarCloud/WebIscmAppService/getDeviceType/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getDeviceTypeInfoById/data.go b/iSolarCloud/WebIscmAppService/getDeviceTypeInfoById/data.go index c7590a79e..3dcf15006 100644 --- a/iSolarCloud/WebIscmAppService/getDeviceTypeInfoById/data.go +++ b/iSolarCloud/WebIscmAppService/getDeviceTypeInfoById/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getDutyUserList/data.go b/iSolarCloud/WebIscmAppService/getDutyUserList/data.go index 3b6517a60..e52b94325 100644 --- a/iSolarCloud/WebIscmAppService/getDutyUserList/data.go +++ b/iSolarCloud/WebIscmAppService/getDutyUserList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getFatherPrivileges/data.go b/iSolarCloud/WebIscmAppService/getFatherPrivileges/data.go index 58e8c3434..3c104145c 100644 --- a/iSolarCloud/WebIscmAppService/getFatherPrivileges/data.go +++ b/iSolarCloud/WebIscmAppService/getFatherPrivileges/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getGroupManSettings/data.go b/iSolarCloud/WebIscmAppService/getGroupManSettings/data.go index 31c8c868d..48b848c0c 100644 --- a/iSolarCloud/WebIscmAppService/getGroupManSettings/data.go +++ b/iSolarCloud/WebIscmAppService/getGroupManSettings/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getGroupManSettingsMembers/data.go b/iSolarCloud/WebIscmAppService/getGroupManSettingsMembers/data.go index 8f000ca7e..500794cbe 100644 --- a/iSolarCloud/WebIscmAppService/getGroupManSettingsMembers/data.go +++ b/iSolarCloud/WebIscmAppService/getGroupManSettingsMembers/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getMaterialByListId/data.go b/iSolarCloud/WebIscmAppService/getMaterialByListId/data.go index 78b916537..33647a616 100644 --- a/iSolarCloud/WebIscmAppService/getMaterialByListId/data.go +++ b/iSolarCloud/WebIscmAppService/getMaterialByListId/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getMaterialByType/data.go b/iSolarCloud/WebIscmAppService/getMaterialByType/data.go index 9746cb1f8..696855854 100644 --- a/iSolarCloud/WebIscmAppService/getMaterialByType/data.go +++ b/iSolarCloud/WebIscmAppService/getMaterialByType/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getMaterialList/data.go b/iSolarCloud/WebIscmAppService/getMaterialList/data.go index 04090eb9c..b23a0fb84 100644 --- a/iSolarCloud/WebIscmAppService/getMaterialList/data.go +++ b/iSolarCloud/WebIscmAppService/getMaterialList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getModelPoints/data.go b/iSolarCloud/WebIscmAppService/getModelPoints/data.go index 408f3aa03..4329f6855 100644 --- a/iSolarCloud/WebIscmAppService/getModelPoints/data.go +++ b/iSolarCloud/WebIscmAppService/getModelPoints/data.go @@ -40,7 +40,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getMoneyUnitList/data.go b/iSolarCloud/WebIscmAppService/getMoneyUnitList/data.go index 7f634e2a8..7e3905359 100644 --- a/iSolarCloud/WebIscmAppService/getMoneyUnitList/data.go +++ b/iSolarCloud/WebIscmAppService/getMoneyUnitList/data.go @@ -40,7 +40,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getNamecnNew/data.go b/iSolarCloud/WebIscmAppService/getNamecnNew/data.go index 37a5abbf0..fd02d698f 100644 --- a/iSolarCloud/WebIscmAppService/getNamecnNew/data.go +++ b/iSolarCloud/WebIscmAppService/getNamecnNew/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getNationList/data.go b/iSolarCloud/WebIscmAppService/getNationList/data.go index 7894296f8..81fb0b509 100644 --- a/iSolarCloud/WebIscmAppService/getNationList/data.go +++ b/iSolarCloud/WebIscmAppService/getNationList/data.go @@ -40,7 +40,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getOperationRecord/data.go b/iSolarCloud/WebIscmAppService/getOperationRecord/data.go index 6542ee76d..e1dbe951a 100644 --- a/iSolarCloud/WebIscmAppService/getOperationRecord/data.go +++ b/iSolarCloud/WebIscmAppService/getOperationRecord/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getOrgAndChildBasicInfoOptions/data.go b/iSolarCloud/WebIscmAppService/getOrgAndChildBasicInfoOptions/data.go index 292bb325c..52cd6b38b 100644 --- a/iSolarCloud/WebIscmAppService/getOrgAndChildBasicInfoOptions/data.go +++ b/iSolarCloud/WebIscmAppService/getOrgAndChildBasicInfoOptions/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getOrgAndStateAndCode/data.go b/iSolarCloud/WebIscmAppService/getOrgAndStateAndCode/data.go index 5ad86c2d7..b22c4df7f 100644 --- a/iSolarCloud/WebIscmAppService/getOrgAndStateAndCode/data.go +++ b/iSolarCloud/WebIscmAppService/getOrgAndStateAndCode/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getOrgForPs/data.go b/iSolarCloud/WebIscmAppService/getOrgForPs/data.go index ea2d379b7..f089c959a 100644 --- a/iSolarCloud/WebIscmAppService/getOrgForPs/data.go +++ b/iSolarCloud/WebIscmAppService/getOrgForPs/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getOrgList/data.go b/iSolarCloud/WebIscmAppService/getOrgList/data.go index 4c631e4fc..290507ef7 100644 --- a/iSolarCloud/WebIscmAppService/getOrgList/data.go +++ b/iSolarCloud/WebIscmAppService/getOrgList/data.go @@ -71,7 +71,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getOrgListForUser/data.go b/iSolarCloud/WebIscmAppService/getOrgListForUser/data.go index f91de63ee..47485fe8a 100644 --- a/iSolarCloud/WebIscmAppService/getOrgListForUser/data.go +++ b/iSolarCloud/WebIscmAppService/getOrgListForUser/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getOrgNodeInfo/data.go b/iSolarCloud/WebIscmAppService/getOrgNodeInfo/data.go index 713cc77e4..2c43e9188 100644 --- a/iSolarCloud/WebIscmAppService/getOrgNodeInfo/data.go +++ b/iSolarCloud/WebIscmAppService/getOrgNodeInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getOrgStationList/data.go b/iSolarCloud/WebIscmAppService/getOrgStationList/data.go index f4352c2ca..7bb9be781 100644 --- a/iSolarCloud/WebIscmAppService/getOrgStationList/data.go +++ b/iSolarCloud/WebIscmAppService/getOrgStationList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getOrgStationListByPage/data.go b/iSolarCloud/WebIscmAppService/getOrgStationListByPage/data.go index f9feb8ab8..57836b48d 100644 --- a/iSolarCloud/WebIscmAppService/getOrgStationListByPage/data.go +++ b/iSolarCloud/WebIscmAppService/getOrgStationListByPage/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getOrgUserList/data.go b/iSolarCloud/WebIscmAppService/getOrgUserList/data.go index d2a75c8b5..fb4dcdaed 100644 --- a/iSolarCloud/WebIscmAppService/getOrgUserList/data.go +++ b/iSolarCloud/WebIscmAppService/getOrgUserList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getOrgUserMapData/data.go b/iSolarCloud/WebIscmAppService/getOrgUserMapData/data.go index b9e4de86c..5483df2fa 100644 --- a/iSolarCloud/WebIscmAppService/getOrgUserMapData/data.go +++ b/iSolarCloud/WebIscmAppService/getOrgUserMapData/data.go @@ -62,7 +62,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getOrgZtree/data.go b/iSolarCloud/WebIscmAppService/getOrgZtree/data.go index 846c88df9..b2bd5b2c2 100644 --- a/iSolarCloud/WebIscmAppService/getOrgZtree/data.go +++ b/iSolarCloud/WebIscmAppService/getOrgZtree/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getOrgZtree4User/data.go b/iSolarCloud/WebIscmAppService/getOrgZtree4User/data.go index 4496ae576..75ed9c031 100644 --- a/iSolarCloud/WebIscmAppService/getOrgZtree4User/data.go +++ b/iSolarCloud/WebIscmAppService/getOrgZtree4User/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getOrgZtreeAsync/data.go b/iSolarCloud/WebIscmAppService/getOrgZtreeAsync/data.go index 3a3667fb7..c05b829b9 100644 --- a/iSolarCloud/WebIscmAppService/getOrgZtreeAsync/data.go +++ b/iSolarCloud/WebIscmAppService/getOrgZtreeAsync/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getOrgZtreeForUser/data.go b/iSolarCloud/WebIscmAppService/getOrgZtreeForUser/data.go index 0f9acc6a0..8212abc6c 100644 --- a/iSolarCloud/WebIscmAppService/getOrgZtreeForUser/data.go +++ b/iSolarCloud/WebIscmAppService/getOrgZtreeForUser/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getPictureList/data.go b/iSolarCloud/WebIscmAppService/getPictureList/data.go index e08ffbd94..44049a20c 100644 --- a/iSolarCloud/WebIscmAppService/getPictureList/data.go +++ b/iSolarCloud/WebIscmAppService/getPictureList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getPointInfo/data.go b/iSolarCloud/WebIscmAppService/getPointInfo/data.go index 01176c6c5..62620672d 100644 --- a/iSolarCloud/WebIscmAppService/getPointInfo/data.go +++ b/iSolarCloud/WebIscmAppService/getPointInfo/data.go @@ -61,7 +61,7 @@ func (e *EndPoint) GetData() api.DataMap { // pkg := reflection.GetName("", *e) // dt := valueTypes.NewDateTime(valueTypes.Now) // name := pkg // + "." + e.Request.PsId.String() - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getPointInfoPage/data.go b/iSolarCloud/WebIscmAppService/getPointInfoPage/data.go index aef9f0460..9445b484b 100644 --- a/iSolarCloud/WebIscmAppService/getPointInfoPage/data.go +++ b/iSolarCloud/WebIscmAppService/getPointInfoPage/data.go @@ -44,7 +44,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getPowerDevice/data.go b/iSolarCloud/WebIscmAppService/getPowerDevice/data.go index 976a03c41..dac8209e7 100644 --- a/iSolarCloud/WebIscmAppService/getPowerDevice/data.go +++ b/iSolarCloud/WebIscmAppService/getPowerDevice/data.go @@ -71,7 +71,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getPowerDeviceChannl/data.go b/iSolarCloud/WebIscmAppService/getPowerDeviceChannl/data.go index f35b4aad5..d334971c9 100644 --- a/iSolarCloud/WebIscmAppService/getPowerDeviceChannl/data.go +++ b/iSolarCloud/WebIscmAppService/getPowerDeviceChannl/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getPowerDeviceFactory/data.go b/iSolarCloud/WebIscmAppService/getPowerDeviceFactory/data.go index 2fbebed76..e3e2a9ee6 100644 --- a/iSolarCloud/WebIscmAppService/getPowerDeviceFactory/data.go +++ b/iSolarCloud/WebIscmAppService/getPowerDeviceFactory/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getPowerDeviceFactoryListCount/data.go b/iSolarCloud/WebIscmAppService/getPowerDeviceFactoryListCount/data.go index c3a7e10ff..bbcb9f054 100644 --- a/iSolarCloud/WebIscmAppService/getPowerDeviceFactoryListCount/data.go +++ b/iSolarCloud/WebIscmAppService/getPowerDeviceFactoryListCount/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getPowerDeviceInfo/data.go b/iSolarCloud/WebIscmAppService/getPowerDeviceInfo/data.go index 4180ad92c..a044d6718 100644 --- a/iSolarCloud/WebIscmAppService/getPowerDeviceInfo/data.go +++ b/iSolarCloud/WebIscmAppService/getPowerDeviceInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getPowerDeviceModelList/data.go b/iSolarCloud/WebIscmAppService/getPowerDeviceModelList/data.go index 16932f631..cfe7d0395 100644 --- a/iSolarCloud/WebIscmAppService/getPowerDeviceModelList/data.go +++ b/iSolarCloud/WebIscmAppService/getPowerDeviceModelList/data.go @@ -46,7 +46,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getPowerDeviceModelTechList/data.go b/iSolarCloud/WebIscmAppService/getPowerDeviceModelTechList/data.go index 2feff5b17..16a6f4f40 100644 --- a/iSolarCloud/WebIscmAppService/getPowerDeviceModelTechList/data.go +++ b/iSolarCloud/WebIscmAppService/getPowerDeviceModelTechList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getPowerDeviceTypeList/data.go b/iSolarCloud/WebIscmAppService/getPowerDeviceTypeList/data.go index c85708eb1..71354df11 100644 --- a/iSolarCloud/WebIscmAppService/getPowerDeviceTypeList/data.go +++ b/iSolarCloud/WebIscmAppService/getPowerDeviceTypeList/data.go @@ -65,7 +65,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getPowerPlanList/data.go b/iSolarCloud/WebIscmAppService/getPowerPlanList/data.go index fc1938106..2286ca580 100644 --- a/iSolarCloud/WebIscmAppService/getPowerPlanList/data.go +++ b/iSolarCloud/WebIscmAppService/getPowerPlanList/data.go @@ -50,7 +50,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getPowerStation/data.go b/iSolarCloud/WebIscmAppService/getPowerStation/data.go index c5d7c2540..4acf91b90 100644 --- a/iSolarCloud/WebIscmAppService/getPowerStation/data.go +++ b/iSolarCloud/WebIscmAppService/getPowerStation/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getPowerStationInfo/data.go b/iSolarCloud/WebIscmAppService/getPowerStationInfo/data.go index 001e2173f..226eba516 100644 --- a/iSolarCloud/WebIscmAppService/getPowerStationInfo/data.go +++ b/iSolarCloud/WebIscmAppService/getPowerStationInfo/data.go @@ -169,7 +169,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getPowerStationList/data.go b/iSolarCloud/WebIscmAppService/getPowerStationList/data.go index 9d6bf9b06..bd27395d2 100644 --- a/iSolarCloud/WebIscmAppService/getPowerStationList/data.go +++ b/iSolarCloud/WebIscmAppService/getPowerStationList/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getPowerStore/data.go b/iSolarCloud/WebIscmAppService/getPowerStore/data.go index 5198292f6..34d727a28 100644 --- a/iSolarCloud/WebIscmAppService/getPowerStore/data.go +++ b/iSolarCloud/WebIscmAppService/getPowerStore/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getProvcnNew/data.go b/iSolarCloud/WebIscmAppService/getProvcnNew/data.go index c1fd1394e..35ec1faf1 100644 --- a/iSolarCloud/WebIscmAppService/getProvcnNew/data.go +++ b/iSolarCloud/WebIscmAppService/getProvcnNew/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getPsTreeMenu/data.go b/iSolarCloud/WebIscmAppService/getPsTreeMenu/data.go index 797325bfe..5b999cdb1 100644 --- a/iSolarCloud/WebIscmAppService/getPsTreeMenu/data.go +++ b/iSolarCloud/WebIscmAppService/getPsTreeMenu/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getRoleByUserIds/data.go b/iSolarCloud/WebIscmAppService/getRoleByUserIds/data.go index 418ab5678..7a9ebbd60 100644 --- a/iSolarCloud/WebIscmAppService/getRoleByUserIds/data.go +++ b/iSolarCloud/WebIscmAppService/getRoleByUserIds/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getRootOrgInfoByUserId/data.go b/iSolarCloud/WebIscmAppService/getRootOrgInfoByUserId/data.go index 3001f8e6d..1f0751dff 100644 --- a/iSolarCloud/WebIscmAppService/getRootOrgInfoByUserId/data.go +++ b/iSolarCloud/WebIscmAppService/getRootOrgInfoByUserId/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getSettingUserMapData/data.go b/iSolarCloud/WebIscmAppService/getSettingUserMapData/data.go index eff2f14e5..ab07efbec 100644 --- a/iSolarCloud/WebIscmAppService/getSettingUserMapData/data.go +++ b/iSolarCloud/WebIscmAppService/getSettingUserMapData/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getStateNew/data.go b/iSolarCloud/WebIscmAppService/getStateNew/data.go index 7deb6d317..7c6853c3a 100644 --- a/iSolarCloud/WebIscmAppService/getStateNew/data.go +++ b/iSolarCloud/WebIscmAppService/getStateNew/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getSubTypeDevice/data.go b/iSolarCloud/WebIscmAppService/getSubTypeDevice/data.go index ede7ceb87..a3a66d8ce 100644 --- a/iSolarCloud/WebIscmAppService/getSubTypeDevice/data.go +++ b/iSolarCloud/WebIscmAppService/getSubTypeDevice/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getSysHomeList2/data.go b/iSolarCloud/WebIscmAppService/getSysHomeList2/data.go index 40d86eba6..15134ac2f 100644 --- a/iSolarCloud/WebIscmAppService/getSysHomeList2/data.go +++ b/iSolarCloud/WebIscmAppService/getSysHomeList2/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getSysMenu/data.go b/iSolarCloud/WebIscmAppService/getSysMenu/data.go index 9340ad6b0..c20549bcf 100644 --- a/iSolarCloud/WebIscmAppService/getSysMenu/data.go +++ b/iSolarCloud/WebIscmAppService/getSysMenu/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getSysOrgPro/data.go b/iSolarCloud/WebIscmAppService/getSysOrgPro/data.go index 80a542e5e..eebd5f356 100644 --- a/iSolarCloud/WebIscmAppService/getSysOrgPro/data.go +++ b/iSolarCloud/WebIscmAppService/getSysOrgPro/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getSysUser/data.go b/iSolarCloud/WebIscmAppService/getSysUser/data.go index cceb67e46..e1d602168 100644 --- a/iSolarCloud/WebIscmAppService/getSysUser/data.go +++ b/iSolarCloud/WebIscmAppService/getSysUser/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getSystemOrgInfo/data.go b/iSolarCloud/WebIscmAppService/getSystemOrgInfo/data.go index 3d6b62989..5935acc4d 100644 --- a/iSolarCloud/WebIscmAppService/getSystemOrgInfo/data.go +++ b/iSolarCloud/WebIscmAppService/getSystemOrgInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getSystemRoleInfo/data.go b/iSolarCloud/WebIscmAppService/getSystemRoleInfo/data.go index b6382cc75..5d7fb1863 100644 --- a/iSolarCloud/WebIscmAppService/getSystemRoleInfo/data.go +++ b/iSolarCloud/WebIscmAppService/getSystemRoleInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getSystemRoleList2/data.go b/iSolarCloud/WebIscmAppService/getSystemRoleList2/data.go index 38ba73ea2..3f369a1c8 100644 --- a/iSolarCloud/WebIscmAppService/getSystemRoleList2/data.go +++ b/iSolarCloud/WebIscmAppService/getSystemRoleList2/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getTownValueNew/data.go b/iSolarCloud/WebIscmAppService/getTownValueNew/data.go index dc775e9c4..d5ab0bf31 100644 --- a/iSolarCloud/WebIscmAppService/getTownValueNew/data.go +++ b/iSolarCloud/WebIscmAppService/getTownValueNew/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getUserMenuLs/data.go b/iSolarCloud/WebIscmAppService/getUserMenuLs/data.go index ae1ce1ca1..5606c755c 100644 --- a/iSolarCloud/WebIscmAppService/getUserMenuLs/data.go +++ b/iSolarCloud/WebIscmAppService/getUserMenuLs/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getUserOrgPage/data.go b/iSolarCloud/WebIscmAppService/getUserOrgPage/data.go index 65c30ca69..c7ab63e90 100644 --- a/iSolarCloud/WebIscmAppService/getUserOrgPage/data.go +++ b/iSolarCloud/WebIscmAppService/getUserOrgPage/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getVillageList/data.go b/iSolarCloud/WebIscmAppService/getVillageList/data.go index 23f862f96..839abe93a 100644 --- a/iSolarCloud/WebIscmAppService/getVillageList/data.go +++ b/iSolarCloud/WebIscmAppService/getVillageList/data.go @@ -39,7 +39,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getVillageListNew/data.go b/iSolarCloud/WebIscmAppService/getVillageListNew/data.go index c4cf67c21..7a430d1b8 100644 --- a/iSolarCloud/WebIscmAppService/getVillageListNew/data.go +++ b/iSolarCloud/WebIscmAppService/getVillageListNew/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getZtreeAsyncSysMenu/data.go b/iSolarCloud/WebIscmAppService/getZtreeAsyncSysMenu/data.go index 8a2b36d14..7ed61c147 100644 --- a/iSolarCloud/WebIscmAppService/getZtreeAsyncSysMenu/data.go +++ b/iSolarCloud/WebIscmAppService/getZtreeAsyncSysMenu/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getZtreeChildMenu/data.go b/iSolarCloud/WebIscmAppService/getZtreeChildMenu/data.go index a22ed8351..f043e1722 100644 --- a/iSolarCloud/WebIscmAppService/getZtreeChildMenu/data.go +++ b/iSolarCloud/WebIscmAppService/getZtreeChildMenu/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getZtreeMenu/data.go b/iSolarCloud/WebIscmAppService/getZtreeMenu/data.go index 1c92c2544..076cbc254 100644 --- a/iSolarCloud/WebIscmAppService/getZtreeMenu/data.go +++ b/iSolarCloud/WebIscmAppService/getZtreeMenu/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getZtreeSysMenu/data.go b/iSolarCloud/WebIscmAppService/getZtreeSysMenu/data.go index 0cd48eeb0..c79ec2429 100644 --- a/iSolarCloud/WebIscmAppService/getZtreeSysMenu/data.go +++ b/iSolarCloud/WebIscmAppService/getZtreeSysMenu/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/getZtreeSysMenu2/data.go b/iSolarCloud/WebIscmAppService/getZtreeSysMenu2/data.go index 199f7b9fb..cdcd8e169 100644 --- a/iSolarCloud/WebIscmAppService/getZtreeSysMenu2/data.go +++ b/iSolarCloud/WebIscmAppService/getZtreeSysMenu2/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/goToDevicePropertyPage/data.go b/iSolarCloud/WebIscmAppService/goToDevicePropertyPage/data.go index 195321bad..ee367a792 100644 --- a/iSolarCloud/WebIscmAppService/goToDevicePropertyPage/data.go +++ b/iSolarCloud/WebIscmAppService/goToDevicePropertyPage/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/isCanAddUser/data.go b/iSolarCloud/WebIscmAppService/isCanAddUser/data.go index 757d96298..96ae1c104 100644 --- a/iSolarCloud/WebIscmAppService/isCanAddUser/data.go +++ b/iSolarCloud/WebIscmAppService/isCanAddUser/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/isHasIrradiationData/data.go b/iSolarCloud/WebIscmAppService/isHasIrradiationData/data.go index f4be31d84..9bb8b0737 100644 --- a/iSolarCloud/WebIscmAppService/isHasIrradiationData/data.go +++ b/iSolarCloud/WebIscmAppService/isHasIrradiationData/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/isHasPlan/data.go b/iSolarCloud/WebIscmAppService/isHasPlan/data.go index 150430670..6cfd9b20e 100644 --- a/iSolarCloud/WebIscmAppService/isHasPlan/data.go +++ b/iSolarCloud/WebIscmAppService/isHasPlan/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/loadDevice/data.go b/iSolarCloud/WebIscmAppService/loadDevice/data.go index f51111c6d..0a9179cf9 100644 --- a/iSolarCloud/WebIscmAppService/loadDevice/data.go +++ b/iSolarCloud/WebIscmAppService/loadDevice/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/modelPointsPage/data.go b/iSolarCloud/WebIscmAppService/modelPointsPage/data.go index 68b945adb..1dc2f0dee 100644 --- a/iSolarCloud/WebIscmAppService/modelPointsPage/data.go +++ b/iSolarCloud/WebIscmAppService/modelPointsPage/data.go @@ -52,7 +52,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/modifyDevice/data.go b/iSolarCloud/WebIscmAppService/modifyDevice/data.go index 10d44f2a2..1d2f7fe1a 100644 --- a/iSolarCloud/WebIscmAppService/modifyDevice/data.go +++ b/iSolarCloud/WebIscmAppService/modifyDevice/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/modifyPowerDeviceChannl/data.go b/iSolarCloud/WebIscmAppService/modifyPowerDeviceChannl/data.go index 632f02edc..4963a8096 100644 --- a/iSolarCloud/WebIscmAppService/modifyPowerDeviceChannl/data.go +++ b/iSolarCloud/WebIscmAppService/modifyPowerDeviceChannl/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/modifySysOrg/data.go b/iSolarCloud/WebIscmAppService/modifySysOrg/data.go index e7dd67ffa..77a567aea 100644 --- a/iSolarCloud/WebIscmAppService/modifySysOrg/data.go +++ b/iSolarCloud/WebIscmAppService/modifySysOrg/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/modifySystemMenu/data.go b/iSolarCloud/WebIscmAppService/modifySystemMenu/data.go index 5c390dea6..9fb35980b 100644 --- a/iSolarCloud/WebIscmAppService/modifySystemMenu/data.go +++ b/iSolarCloud/WebIscmAppService/modifySystemMenu/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/modifySystemOrgNode/data.go b/iSolarCloud/WebIscmAppService/modifySystemOrgNode/data.go index a528df1d8..1f5d0a16c 100644 --- a/iSolarCloud/WebIscmAppService/modifySystemOrgNode/data.go +++ b/iSolarCloud/WebIscmAppService/modifySystemOrgNode/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/modifySystemRole/data.go b/iSolarCloud/WebIscmAppService/modifySystemRole/data.go index 0bd43299d..9f0be2795 100644 --- a/iSolarCloud/WebIscmAppService/modifySystemRole/data.go +++ b/iSolarCloud/WebIscmAppService/modifySystemRole/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/modifySystemUser/data.go b/iSolarCloud/WebIscmAppService/modifySystemUser/data.go index 3fabf2c6a..1bd2afa63 100644 --- a/iSolarCloud/WebIscmAppService/modifySystemUser/data.go +++ b/iSolarCloud/WebIscmAppService/modifySystemUser/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/publishNotice/data.go b/iSolarCloud/WebIscmAppService/publishNotice/data.go index 2dee03892..92abd6b79 100644 --- a/iSolarCloud/WebIscmAppService/publishNotice/data.go +++ b/iSolarCloud/WebIscmAppService/publishNotice/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/queryDeviceList/data.go b/iSolarCloud/WebIscmAppService/queryDeviceList/data.go index 41dfd2021..61adf41a8 100644 --- a/iSolarCloud/WebIscmAppService/queryDeviceList/data.go +++ b/iSolarCloud/WebIscmAppService/queryDeviceList/data.go @@ -65,7 +65,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/queryDutyType/data.go b/iSolarCloud/WebIscmAppService/queryDutyType/data.go index 5178a49de..85e110924 100644 --- a/iSolarCloud/WebIscmAppService/queryDutyType/data.go +++ b/iSolarCloud/WebIscmAppService/queryDutyType/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/queryReportDataById/data.go b/iSolarCloud/WebIscmAppService/queryReportDataById/data.go index 55e0c6dcf..ffd7e9128 100644 --- a/iSolarCloud/WebIscmAppService/queryReportDataById/data.go +++ b/iSolarCloud/WebIscmAppService/queryReportDataById/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/resetPasW/data.go b/iSolarCloud/WebIscmAppService/resetPasW/data.go index 27838e317..a0c6edf80 100644 --- a/iSolarCloud/WebIscmAppService/resetPasW/data.go +++ b/iSolarCloud/WebIscmAppService/resetPasW/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/saveAuthKey/data.go b/iSolarCloud/WebIscmAppService/saveAuthKey/data.go index ed6626af6..3a4f1573e 100644 --- a/iSolarCloud/WebIscmAppService/saveAuthKey/data.go +++ b/iSolarCloud/WebIscmAppService/saveAuthKey/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/saveDevice/data.go b/iSolarCloud/WebIscmAppService/saveDevice/data.go index da0739ec0..41f58f5b1 100644 --- a/iSolarCloud/WebIscmAppService/saveDevice/data.go +++ b/iSolarCloud/WebIscmAppService/saveDevice/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/saveDeviceFactory/data.go b/iSolarCloud/WebIscmAppService/saveDeviceFactory/data.go index 785220b51..7ccc01228 100644 --- a/iSolarCloud/WebIscmAppService/saveDeviceFactory/data.go +++ b/iSolarCloud/WebIscmAppService/saveDeviceFactory/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/saveDeviceType/data.go b/iSolarCloud/WebIscmAppService/saveDeviceType/data.go index 98aa31e88..4bef98066 100644 --- a/iSolarCloud/WebIscmAppService/saveDeviceType/data.go +++ b/iSolarCloud/WebIscmAppService/saveDeviceType/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/saveIrradiationData/data.go b/iSolarCloud/WebIscmAppService/saveIrradiationData/data.go index e2a152f75..d86f8faf0 100644 --- a/iSolarCloud/WebIscmAppService/saveIrradiationData/data.go +++ b/iSolarCloud/WebIscmAppService/saveIrradiationData/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/saveModelPoints/data.go b/iSolarCloud/WebIscmAppService/saveModelPoints/data.go index f8689078e..69b544cc4 100644 --- a/iSolarCloud/WebIscmAppService/saveModelPoints/data.go +++ b/iSolarCloud/WebIscmAppService/saveModelPoints/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/saveNewNotice/data.go b/iSolarCloud/WebIscmAppService/saveNewNotice/data.go index b0908a883..1ebd28c36 100644 --- a/iSolarCloud/WebIscmAppService/saveNewNotice/data.go +++ b/iSolarCloud/WebIscmAppService/saveNewNotice/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/saveOrUpdateReport/data.go b/iSolarCloud/WebIscmAppService/saveOrUpdateReport/data.go index 1c9e18607..b8f24c299 100644 --- a/iSolarCloud/WebIscmAppService/saveOrUpdateReport/data.go +++ b/iSolarCloud/WebIscmAppService/saveOrUpdateReport/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/saveOrgNode/data.go b/iSolarCloud/WebIscmAppService/saveOrgNode/data.go index a68fa31fe..cd1397211 100644 --- a/iSolarCloud/WebIscmAppService/saveOrgNode/data.go +++ b/iSolarCloud/WebIscmAppService/saveOrgNode/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/saveOrgUsers/data.go b/iSolarCloud/WebIscmAppService/saveOrgUsers/data.go index 5b2944096..b58f09dda 100644 --- a/iSolarCloud/WebIscmAppService/saveOrgUsers/data.go +++ b/iSolarCloud/WebIscmAppService/saveOrgUsers/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/savePicture/data.go b/iSolarCloud/WebIscmAppService/savePicture/data.go index d890a73fe..727f60eef 100644 --- a/iSolarCloud/WebIscmAppService/savePicture/data.go +++ b/iSolarCloud/WebIscmAppService/savePicture/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/savePointManage/data.go b/iSolarCloud/WebIscmAppService/savePointManage/data.go index f6f04433c..b15ffd6a4 100644 --- a/iSolarCloud/WebIscmAppService/savePointManage/data.go +++ b/iSolarCloud/WebIscmAppService/savePointManage/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/savePowerDeviceChannl/data.go b/iSolarCloud/WebIscmAppService/savePowerDeviceChannl/data.go index 032539a9e..4d60b99e2 100644 --- a/iSolarCloud/WebIscmAppService/savePowerDeviceChannl/data.go +++ b/iSolarCloud/WebIscmAppService/savePowerDeviceChannl/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/savePowerDeviceModel/data.go b/iSolarCloud/WebIscmAppService/savePowerDeviceModel/data.go index 37d0327f3..7d876b766 100644 --- a/iSolarCloud/WebIscmAppService/savePowerDeviceModel/data.go +++ b/iSolarCloud/WebIscmAppService/savePowerDeviceModel/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/savePowerDeviceParameterPage/data.go b/iSolarCloud/WebIscmAppService/savePowerDeviceParameterPage/data.go index cc6143d6e..f548f3554 100644 --- a/iSolarCloud/WebIscmAppService/savePowerDeviceParameterPage/data.go +++ b/iSolarCloud/WebIscmAppService/savePowerDeviceParameterPage/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/savePowerDeviceSubType/data.go b/iSolarCloud/WebIscmAppService/savePowerDeviceSubType/data.go index 411f48a96..c9ec8d0d2 100644 --- a/iSolarCloud/WebIscmAppService/savePowerDeviceSubType/data.go +++ b/iSolarCloud/WebIscmAppService/savePowerDeviceSubType/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/savePowerDeviceTechnical/data.go b/iSolarCloud/WebIscmAppService/savePowerDeviceTechnical/data.go index 620cee269..e67a815d2 100644 --- a/iSolarCloud/WebIscmAppService/savePowerDeviceTechnical/data.go +++ b/iSolarCloud/WebIscmAppService/savePowerDeviceTechnical/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/savePowerPlan/data.go b/iSolarCloud/WebIscmAppService/savePowerPlan/data.go index 5317d8b98..4e4a8c4fa 100644 --- a/iSolarCloud/WebIscmAppService/savePowerPlan/data.go +++ b/iSolarCloud/WebIscmAppService/savePowerPlan/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/savePowerStationByPowerStore/data.go b/iSolarCloud/WebIscmAppService/savePowerStationByPowerStore/data.go index 827d27577..8c02d61d6 100644 --- a/iSolarCloud/WebIscmAppService/savePowerStationByPowerStore/data.go +++ b/iSolarCloud/WebIscmAppService/savePowerStationByPowerStore/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/savePowerStore/data.go b/iSolarCloud/WebIscmAppService/savePowerStore/data.go index 06a13f3a7..a0db4d038 100644 --- a/iSolarCloud/WebIscmAppService/savePowerStore/data.go +++ b/iSolarCloud/WebIscmAppService/savePowerStore/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/savePsOrg/data.go b/iSolarCloud/WebIscmAppService/savePsOrg/data.go index 4ef01a6a1..5b11496dd 100644 --- a/iSolarCloud/WebIscmAppService/savePsOrg/data.go +++ b/iSolarCloud/WebIscmAppService/savePsOrg/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/saveRelDevice/data.go b/iSolarCloud/WebIscmAppService/saveRelDevice/data.go index 95aee9c8f..d27faebab 100644 --- a/iSolarCloud/WebIscmAppService/saveRelDevice/data.go +++ b/iSolarCloud/WebIscmAppService/saveRelDevice/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/saveRoleAssign/data.go b/iSolarCloud/WebIscmAppService/saveRoleAssign/data.go index 96f4966d4..a1244aea6 100644 --- a/iSolarCloud/WebIscmAppService/saveRoleAssign/data.go +++ b/iSolarCloud/WebIscmAppService/saveRoleAssign/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/saveSysMenu/data.go b/iSolarCloud/WebIscmAppService/saveSysMenu/data.go index 1832864be..044048189 100644 --- a/iSolarCloud/WebIscmAppService/saveSysMenu/data.go +++ b/iSolarCloud/WebIscmAppService/saveSysMenu/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/saveSysOrg/data.go b/iSolarCloud/WebIscmAppService/saveSysOrg/data.go index 9a53bdabf..0efceab9f 100644 --- a/iSolarCloud/WebIscmAppService/saveSysOrg/data.go +++ b/iSolarCloud/WebIscmAppService/saveSysOrg/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/saveSysRole/data.go b/iSolarCloud/WebIscmAppService/saveSysRole/data.go index 9b784f8f3..366ea2579 100644 --- a/iSolarCloud/WebIscmAppService/saveSysRole/data.go +++ b/iSolarCloud/WebIscmAppService/saveSysRole/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/saveSysUser/data.go b/iSolarCloud/WebIscmAppService/saveSysUser/data.go index 6e9e543c6..1bac33978 100644 --- a/iSolarCloud/WebIscmAppService/saveSysUser/data.go +++ b/iSolarCloud/WebIscmAppService/saveSysUser/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/saveUserNode/data.go b/iSolarCloud/WebIscmAppService/saveUserNode/data.go index 8f9c46eb9..9b279a0a7 100644 --- a/iSolarCloud/WebIscmAppService/saveUserNode/data.go +++ b/iSolarCloud/WebIscmAppService/saveUserNode/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/saveUserRole/data.go b/iSolarCloud/WebIscmAppService/saveUserRole/data.go index 324d31f33..e332c6014 100644 --- a/iSolarCloud/WebIscmAppService/saveUserRole/data.go +++ b/iSolarCloud/WebIscmAppService/saveUserRole/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/searchIrradiationData/data.go b/iSolarCloud/WebIscmAppService/searchIrradiationData/data.go index 4e679a62f..7f1c4e1ee 100644 --- a/iSolarCloud/WebIscmAppService/searchIrradiationData/data.go +++ b/iSolarCloud/WebIscmAppService/searchIrradiationData/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/searchTechnicalNums/data.go b/iSolarCloud/WebIscmAppService/searchTechnicalNums/data.go index a4fc96d7a..10ea5b600 100644 --- a/iSolarCloud/WebIscmAppService/searchTechnicalNums/data.go +++ b/iSolarCloud/WebIscmAppService/searchTechnicalNums/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/selectDeviceTypeByPsId/data.go b/iSolarCloud/WebIscmAppService/selectDeviceTypeByPsId/data.go index 67f1f0883..f120ddadb 100644 --- a/iSolarCloud/WebIscmAppService/selectDeviceTypeByPsId/data.go +++ b/iSolarCloud/WebIscmAppService/selectDeviceTypeByPsId/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/selectPowerDeviceTechnicals/data.go b/iSolarCloud/WebIscmAppService/selectPowerDeviceTechnicals/data.go index 921ab4561..9b53653cf 100644 --- a/iSolarCloud/WebIscmAppService/selectPowerDeviceTechnicals/data.go +++ b/iSolarCloud/WebIscmAppService/selectPowerDeviceTechnicals/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/selectPowerDeviceType/data.go b/iSolarCloud/WebIscmAppService/selectPowerDeviceType/data.go index a710f5054..f4bd5c759 100644 --- a/iSolarCloud/WebIscmAppService/selectPowerDeviceType/data.go +++ b/iSolarCloud/WebIscmAppService/selectPowerDeviceType/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/setupUserRole4AddUser/data.go b/iSolarCloud/WebIscmAppService/setupUserRole4AddUser/data.go index 4b70b6961..748f6cf68 100644 --- a/iSolarCloud/WebIscmAppService/setupUserRole4AddUser/data.go +++ b/iSolarCloud/WebIscmAppService/setupUserRole4AddUser/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/startWorkFlow/data.go b/iSolarCloud/WebIscmAppService/startWorkFlow/data.go index a00fae445..efb08c77a 100644 --- a/iSolarCloud/WebIscmAppService/startWorkFlow/data.go +++ b/iSolarCloud/WebIscmAppService/startWorkFlow/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/updateDevice/data.go b/iSolarCloud/WebIscmAppService/updateDevice/data.go index 588a8031a..9c78cf93e 100644 --- a/iSolarCloud/WebIscmAppService/updateDevice/data.go +++ b/iSolarCloud/WebIscmAppService/updateDevice/data.go @@ -4,8 +4,8 @@ import ( "GoSungrow/iSolarCloud/api" "GoSungrow/iSolarCloud/api/GoStruct" "GoSungrow/iSolarCloud/api/GoStruct/valueTypes" - "github.com/MickMake/GoUnify/Only" "fmt" + "github.com/MickMake/GoUnify/Only" ) const Url = "/v1/devService/updateDevice" @@ -34,30 +34,11 @@ func (e *ResultData) IsValid() error { return err } -//type DecodeResultData ResultData -// -//func (e *ResultData) UnmarshalJSON(data []byte) error { -// var err error -// -// for range Only.Once { -// if len(data) == 0 { -// break -// } -// var pd DecodeResultData -// -// // Store ResultData -// _ = json.Unmarshal(data, &pd) -// e.Dummy = pd.Dummy -// } -// -// return err -//} - func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/updateDeviceType/data.go b/iSolarCloud/WebIscmAppService/updateDeviceType/data.go index 6072e214d..0e1ba9bfd 100644 --- a/iSolarCloud/WebIscmAppService/updateDeviceType/data.go +++ b/iSolarCloud/WebIscmAppService/updateDeviceType/data.go @@ -38,7 +38,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/updateFaultLevel/data.go b/iSolarCloud/WebIscmAppService/updateFaultLevel/data.go index 49d99c8e1..71d0095b9 100644 --- a/iSolarCloud/WebIscmAppService/updateFaultLevel/data.go +++ b/iSolarCloud/WebIscmAppService/updateFaultLevel/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/updateNotice/data.go b/iSolarCloud/WebIscmAppService/updateNotice/data.go index d073a0a38..ea2618ede 100644 --- a/iSolarCloud/WebIscmAppService/updateNotice/data.go +++ b/iSolarCloud/WebIscmAppService/updateNotice/data.go @@ -38,7 +38,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/updatePointInfo/data.go b/iSolarCloud/WebIscmAppService/updatePointInfo/data.go index f7fd8da8e..78ea68b04 100644 --- a/iSolarCloud/WebIscmAppService/updatePointInfo/data.go +++ b/iSolarCloud/WebIscmAppService/updatePointInfo/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/updatePowerDeviceModel/data.go b/iSolarCloud/WebIscmAppService/updatePowerDeviceModel/data.go index 107b72d9c..fadfed68e 100644 --- a/iSolarCloud/WebIscmAppService/updatePowerDeviceModel/data.go +++ b/iSolarCloud/WebIscmAppService/updatePowerDeviceModel/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/updatePowerDeviceParameterPage/data.go b/iSolarCloud/WebIscmAppService/updatePowerDeviceParameterPage/data.go index da66e28aa..8d7afc20f 100644 --- a/iSolarCloud/WebIscmAppService/updatePowerDeviceParameterPage/data.go +++ b/iSolarCloud/WebIscmAppService/updatePowerDeviceParameterPage/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/updatePowerDeviceSubType/data.go b/iSolarCloud/WebIscmAppService/updatePowerDeviceSubType/data.go index 90695214f..3d8ba362e 100644 --- a/iSolarCloud/WebIscmAppService/updatePowerDeviceSubType/data.go +++ b/iSolarCloud/WebIscmAppService/updatePowerDeviceSubType/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/updatePowerDeviceTechnical/data.go b/iSolarCloud/WebIscmAppService/updatePowerDeviceTechnical/data.go index be1b37544..e9a9867b8 100644 --- a/iSolarCloud/WebIscmAppService/updatePowerDeviceTechnical/data.go +++ b/iSolarCloud/WebIscmAppService/updatePowerDeviceTechnical/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/updateProcessManage/data.go b/iSolarCloud/WebIscmAppService/updateProcessManage/data.go index 74e845e16..1920e4ffc 100644 --- a/iSolarCloud/WebIscmAppService/updateProcessManage/data.go +++ b/iSolarCloud/WebIscmAppService/updateProcessManage/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/updateSysOrgPro/data.go b/iSolarCloud/WebIscmAppService/updateSysOrgPro/data.go index ad1fd08a6..b2541fadb 100644 --- a/iSolarCloud/WebIscmAppService/updateSysOrgPro/data.go +++ b/iSolarCloud/WebIscmAppService/updateSysOrgPro/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/updateSysRoleValidFlag/data.go b/iSolarCloud/WebIscmAppService/updateSysRoleValidFlag/data.go index 9425e9a2f..75d652f17 100644 --- a/iSolarCloud/WebIscmAppService/updateSysRoleValidFlag/data.go +++ b/iSolarCloud/WebIscmAppService/updateSysRoleValidFlag/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/updateUserValidFlag/data.go b/iSolarCloud/WebIscmAppService/updateUserValidFlag/data.go index ecb835664..c6a253189 100644 --- a/iSolarCloud/WebIscmAppService/updateUserValidFlag/data.go +++ b/iSolarCloud/WebIscmAppService/updateUserValidFlag/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/updateValidFlag/data.go b/iSolarCloud/WebIscmAppService/updateValidFlag/data.go index 259aa50ae..1796f9c66 100644 --- a/iSolarCloud/WebIscmAppService/updateValidFlag/data.go +++ b/iSolarCloud/WebIscmAppService/updateValidFlag/data.go @@ -39,7 +39,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/viewDeviceModel/data.go b/iSolarCloud/WebIscmAppService/viewDeviceModel/data.go index 0a5e88e74..d0eb86e8c 100644 --- a/iSolarCloud/WebIscmAppService/viewDeviceModel/data.go +++ b/iSolarCloud/WebIscmAppService/viewDeviceModel/data.go @@ -73,7 +73,7 @@ func (e *EndPoint) GetData() api.DataMap { // pkg := reflection.GetName("", *e) // dt := valueTypes.NewDateTime(valueTypes.Now) // name := pkg + "." + e.Request.PsId.String() - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/viewDeviceParameter/data.go b/iSolarCloud/WebIscmAppService/viewDeviceParameter/data.go index 639b7c465..bc9a17ab3 100644 --- a/iSolarCloud/WebIscmAppService/viewDeviceParameter/data.go +++ b/iSolarCloud/WebIscmAppService/viewDeviceParameter/data.go @@ -82,7 +82,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/workFlowImplementStep/data.go b/iSolarCloud/WebIscmAppService/workFlowImplementStep/data.go index 9419284f6..25049fac3 100644 --- a/iSolarCloud/WebIscmAppService/workFlowImplementStep/data.go +++ b/iSolarCloud/WebIscmAppService/workFlowImplementStep/data.go @@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/workFlowIsStart/data.go b/iSolarCloud/WebIscmAppService/workFlowIsStart/data.go index ca43fabc7..5469ac602 100644 --- a/iSolarCloud/WebIscmAppService/workFlowIsStart/data.go +++ b/iSolarCloud/WebIscmAppService/workFlowIsStart/data.go @@ -38,7 +38,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/WebIscmAppService/workFlowTransferStep/data.go b/iSolarCloud/WebIscmAppService/workFlowTransferStep/data.go index 666eeaa5c..8d83dbd82 100644 --- a/iSolarCloud/WebIscmAppService/workFlowTransferStep/data.go +++ b/iSolarCloud/WebIscmAppService/workFlowTransferStep/data.go @@ -38,7 +38,7 @@ func (e *EndPoint) GetData() api.DataMap { entries := api.NewDataMap() for range Only.Once { - entries.StructToDataMap(*e, "system", nil) + entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{}) } return entries diff --git a/iSolarCloud/api/GoStruct/output/struct_table.go b/iSolarCloud/api/GoStruct/output/struct_table.go index 5bfd41a4b..b1fe7d97b 100644 --- a/iSolarCloud/api/GoStruct/output/struct_table.go +++ b/iSolarCloud/api/GoStruct/output/struct_table.go @@ -51,7 +51,7 @@ func (t *Table) String() string { break } - ret = t.table.Tabular("grid").String() + ret = t.table.Tabular("condensed").String() } return ret } @@ -232,6 +232,7 @@ func (t *Table) WriteTable() error { if t.saveAsFile { t.Error = t.writeFile(t.filePrefix+"-table.txt", t.String(), DefaultFileMode) + break } fmt.Printf("# %s\n", t.title) fmt.Print(t.String()) @@ -247,6 +248,7 @@ func (t *Table) WriteList() error { if t.saveAsFile { t.Error = t.writeFile(t.filePrefix+".txt", t.String(), DefaultFileMode) + break } fmt.Printf("# %s\n", t.title) fmt.Print(t.String()) @@ -274,6 +276,10 @@ func (t *Table) GetCsv() string { func (t *Table) WriteCsv() error { for range Only.Once { + if t.IsNotValid() { + break + } + if t.saveAsFile { t.Error = t.writeFile(t.filePrefix+".csv", t.GetCsv(), DefaultFileMode) break @@ -303,6 +309,10 @@ func (t *Table) GetXml() string { func (t *Table) WriteXml() error { for range Only.Once { + if t.IsNotValid() { + break + } + if t.saveAsFile { t.Error = t.writeFile(t.filePrefix+".xml", t.GetXml(), DefaultFileMode) break @@ -319,6 +329,10 @@ func (t *Table) GetJson() string { func (t *Table) WriteJson() error { for range Only.Once { + if t.IsNotValid() { + break + } + if t.saveAsFile { t.Error = t.writeFile(t.filePrefix + ".json", string(t.json), DefaultFileMode) break @@ -339,6 +353,10 @@ func (t *Table) GetRawBytes() []byte { func (t *Table) WriteRaw() error { for range Only.Once { + // if t.IsNotValid() { + // break + // } + if t.saveAsFile { t.Error = t.writeFile(t.filePrefix+".raw", string(t.raw), DefaultFileMode) break diff --git a/iSolarCloud/api/GoStruct/struct_data.go b/iSolarCloud/api/GoStruct/struct_data.go index ef2d01343..fc5789aca 100644 --- a/iSolarCloud/api/GoStruct/struct_data.go +++ b/iSolarCloud/api/GoStruct/struct_data.go @@ -137,7 +137,7 @@ func (ds *DataStructure) Set(parent interface{}, current interface{}, fieldTo re pointNameDateFormat := fieldTo.Tag.Get(PointNameDateFormat) if pointNameDateFormat == "" { - pointNameDateFormat = valueTypes.DateTimeAltLayout + pointNameDateFormat = valueTypes.DateTimeLayout } pointUpdateFreq := fieldTo.Tag.Get(PointUpdateFreq) @@ -258,13 +258,13 @@ func (dss *DataStructures) GetPointTags(Parent *Reflect, Current *Reflect, name _, _ = fmt.Fprintf(os.Stderr,"GetPointTags() Current: %s\n", Current) } - name = dss.PointNameAppend(Parent, Current, name) + dss.PointNameAppend(Current) - if dss.PointIgnoreZero(Parent, Current, name) { + if dss.PointIgnoreZero(Parent, Current) { break } - if dss.PointIgnoreIfNilFromChild(Parent, Current, name) { + if dss.PointIgnoreIfNilFromChild(Parent, Current) { break } @@ -387,13 +387,18 @@ func (dss *DataStructures) ProcessSlice(Parent *Reflect, Current *Reflect, name for si := 0; si < Current.Length; si++ { var Child Reflect - Child.SetByIndex(*Parent, *Current, si, reflect.Value{}, name) + Child.SetByIndex(*Parent, *Current, si, reflect.Value{}) + // Child.DataStructure.Endpoint = name.Copy() if dss.Debug { _, _ = fmt.Fprintf(os.Stderr,"SetByIndex() Child: %s\n", Child) } name2 := Child.DataStructure.Endpoint.Copy() if Current.DataStructure.PointNameFromChild != "" { - name2 = Current.PointNameFromChild(Child, name) + name2 = Current.PointNameFromChild(&Child) + } + + if dss.PointArrayFlatten(Parent, Current, name) { + break } if Child.IsUnknown() { @@ -401,7 +406,7 @@ func (dss *DataStructures) ProcessSlice(Parent *Reflect, Current *Reflect, name continue } - if dss.PointSplitOn(Current, &Child, name2) { + if dss.PointSplitOn(Current, &Child) { continue } @@ -412,16 +417,21 @@ func (dss *DataStructures) ProcessSlice(Parent *Reflect, Current *Reflect, name func (dss *DataStructures) ProcessStruct(Parent *Reflect, Current *Reflect, name EndPointPath) { for range Only.Once { + if dss.PointArrayFlatten(Parent, Current, name) { + break + } + // Iterate over all available fields and read the tag value for si := 0; si < Current.Length; si++ { var Child Reflect - Child.SetByIndex(*Parent, *Current, si, reflect.Value{}, name) + Child.SetByIndex(*Parent, *Current, si, reflect.Value{}) + // Child.DataStructure.Endpoint = Current.DataStructure.Endpoint.Append(Child.DataStructure.PointId) if dss.Debug { _, _ = fmt.Fprintf(os.Stderr,"SetByIndex() Child: %s\n", Child) } name2 := Child.DataStructure.Endpoint.Copy() if Current.DataStructure.PointNameFromChild != "" { - name2 = Current.PointNameFromChild(Child, name) + name2 = Current.PointNameFromChild(&Child) } if !Child.IsExported { @@ -429,7 +439,11 @@ func (dss *DataStructures) ProcessStruct(Parent *Reflect, Current *Reflect, name continue } - if dss.GoStructOptions(Parent, Current, &Child, name) { + if dss.PointArrayFlatten(Parent, Current, name) { + break + } + + if dss.GoStructOptions(Parent, Current, &Child) { continue } @@ -438,7 +452,7 @@ func (dss *DataStructures) ProcessStruct(Parent *Reflect, Current *Reflect, name continue } - if dss.PointSplitOn(Current, &Child, name2) { + if dss.PointSplitOn(Current, &Child) { continue } @@ -450,17 +464,26 @@ func (dss *DataStructures) ProcessStruct(Parent *Reflect, Current *Reflect, name func (dss *DataStructures) ProcessMap(Parent *Reflect, Current *Reflect, name EndPointPath) { for range Only.Once { + if dss.PointArrayFlatten(Parent, Current, name) { + break + } + for si, sm := range Current.FieldVo.MapKeys() { // @TODO - Implement pointNameFromChild / pointNameFromParent. // @TODO - Need to look at other types, besides known types. var Child Reflect - Child.SetByIndex(*Parent, *Current, si, sm, name) + Child.SetByIndex(*Parent, *Current, si, sm) + // Child.DataStructure.Endpoint = name.Copy() if dss.Debug { _, _ = fmt.Fprintf(os.Stderr,"SetByIndex() Child: %s\n", Child) } name2 := Child.DataStructure.Endpoint.Copy() if Current.DataStructure.PointNameFromChild != "" { - name2 = Current.PointNameFromChild(Child, name) + name2 = Current.PointNameFromChild(&Child) + } + + if dss.PointArrayFlatten(Parent, Current, name) { + break } if Child.IsUnknown() { @@ -468,7 +491,7 @@ func (dss *DataStructures) ProcessMap(Parent *Reflect, Current *Reflect, name En continue } - if dss.PointSplitOn(Current, &Child, name2) { + if dss.PointSplitOn(Current, &Child) { continue } @@ -478,22 +501,38 @@ func (dss *DataStructures) ProcessMap(Parent *Reflect, Current *Reflect, name En } } -func (dss *DataStructures) PointNameAppend(_ *Reflect, Current *Reflect, name EndPointPath) EndPointPath { +func (dss *DataStructures) PointNameAppend(Current *Reflect) EndPointPath { for range Only.Once { if Current.DataStructure.PointNameAppend == false { - if len(name) == 0 { + if Current.DataStructure.Endpoint.IsZero() { break } - name = name.PopLast() + Current.DataStructure.Endpoint.PopLast() } } - return name + return Current.DataStructure.Endpoint } -func (dss *DataStructures) PointArrayFlatten(_ *Reflect, Current *Reflect, name EndPointPath) bool { +func (dss *DataStructures) PointArrayFlatten(Parent *Reflect, Current *Reflect, name EndPointPath) bool { var yes bool for range Only.Once { - if Current.DataStructure.PointArrayFlatten == true { + if Parent.DataStructure.DataTable { + // Flatten a child if the parent is a table. + Current.DataStructure.PointArrayFlatten = true + if Current.DataStructure.PointUnit == "" { + Current.DataStructure.PointUnit = "--" + } + if Current.DataStructure.PointValueType == "" { + Current.DataStructure.PointValueType = "Table" + } + if Current.DataStructure.ValueType == "" { + Current.DataStructure.ValueType = "Table" + } + // @TODO - Consider standardizing points to a known format. + // queryUserCurveTemplateData is a good example of the structure. + } + + if Current.DataStructure.PointArrayFlatten { // We want to flatten a slice down to EG "[1, 2, 3]" Current.DataStructure.Value = valueTypes.AnyToValueString(Current.FieldVo.Interface(), 0, "") Current.DataStructure.Endpoint = name.Copy() @@ -504,7 +543,7 @@ func (dss *DataStructures) PointArrayFlatten(_ *Reflect, Current *Reflect, name return yes } -func (dss *DataStructures) PointIgnoreZero(_ *Reflect, Current *Reflect, _ EndPointPath) bool { +func (dss *DataStructures) PointIgnoreZero(_ *Reflect, Current *Reflect) bool { var yes bool for range Only.Once { if !Current.DataStructure.PointIgnoreZero { @@ -523,7 +562,7 @@ func (dss *DataStructures) PointIgnoreZero(_ *Reflect, Current *Reflect, _ EndPo return yes } -func (dss *DataStructures) PointIgnoreIfNilFromChild(Parent *Reflect, Current *Reflect, _ EndPointPath) bool { +func (dss *DataStructures) PointIgnoreIfNilFromChild(Parent *Reflect, Current *Reflect) bool { var yes bool for range Only.Once { if Parent.DataStructure.PointIgnoreIfNilFromChild == "" { @@ -544,7 +583,7 @@ func (dss *DataStructures) PointIgnoreIfNilFromChild(Parent *Reflect, Current *R return yes } -func (dss *DataStructures) PointSplitOn(_ *Reflect, Current *Reflect, _ EndPointPath) bool { +func (dss *DataStructures) PointSplitOn(_ *Reflect, Current *Reflect) bool { var yes bool for range Only.Once { if Current.DataStructure.PointSplitOn == "" { @@ -553,11 +592,12 @@ func (dss *DataStructures) PointSplitOn(_ *Reflect, Current *Reflect, _ EndPoint // We want to split a string into separate points - currently only handles string types. // @TODO - Fix this up! - Use PointSplitType to define a particular type. soVal := valueTypes.AnyToValueString(Current.FieldVo.Interface(), 0, "") - soEP := Current.DataStructure.Endpoint + soEP := Current.DataStructure.Endpoint.Copy() soSplit := strings.Split(soVal, Current.DataStructure.PointSplitOn) for soI, soV := range soSplit { Current.DataStructure.Value = strings.ReplaceAll(soV, "&", ".p") - Current.DataStructure.Endpoint = append(soEP, valueTypes.PrintInt(2, soI)) + Current.DataStructure.Endpoint = soEP.Copy() + Current.DataStructure.Endpoint.Append(valueTypes.PrintInt(2, soI)) dss.Add(Current.DataStructure) } yes = true @@ -565,7 +605,7 @@ func (dss *DataStructures) PointSplitOn(_ *Reflect, Current *Reflect, _ EndPoint return yes } -func (dss *DataStructures) GoStructOptions(Parent *Reflect, Current *Reflect, Child *Reflect, _ EndPointPath) bool { +func (dss *DataStructures) GoStructOptions(Parent *Reflect, Current *Reflect, Child *Reflect) bool { var yes bool for range Only.Once { if Child.FieldName != NameGoStruct { diff --git a/iSolarCloud/api/GoStruct/struct_epp.go b/iSolarCloud/api/GoStruct/struct_epp.go index 0e8933ce9..b30be3180 100644 --- a/iSolarCloud/api/GoStruct/struct_epp.go +++ b/iSolarCloud/api/GoStruct/struct_epp.go @@ -3,35 +3,60 @@ package GoStruct import "strings" -type EndPointPath []string +type EndPointPath struct { + path []string +} func NewEndPointPath(path ...string) EndPointPath { var epp EndPointPath - return epp.Append(path...) -} - -func (e *EndPointPath) Copy() EndPointPath { - ret := make(EndPointPath, len(*e)) - copy(ret, *e) - return ret -} - -func (e *EndPointPath) Append(path ...string) EndPointPath { - ret := make(EndPointPath, len(*e)) - copy(ret, *e) - for _, p := range path { - ret = append(ret, p) - } - return ret -} - -func (e *EndPointPath) PopLast() EndPointPath { - if len(*e) == 0 { - return *e - } - return (*e)[:len(*e) - 1] + epp.Append(path...) + return epp } func (e EndPointPath) String() string { - return strings.Join(e, ".") + return strings.Join(e.path, ".") +} + +func (e *EndPointPath) Strings() []string { + return e.path +} + +func (e *EndPointPath) Index(index int) string { + if index > len(e.path) { + return "" + } + return e.path[index] +} + +func (e *EndPointPath) IsZero() bool { + if len(e.path) == 0 { + return true + } + return false +} + +func (e *EndPointPath) Copy() EndPointPath { + ret := make([]string, len(e.path)) + copy(ret, e.path) + return EndPointPath { path:ret } +} + +func (e *EndPointPath) Append(path ...string) { + // ret := make([]string, len(e.path)) + // copy(ret, e.path) + // for _, p := range path { + // ret = append(ret, p) + // } + // return EndPointPath { path:ret } + e.path = append(e.path, path...) +} + +func (e *EndPointPath) PopLast() { + if len(e.path) == 0 { + return + // return *e + } + e.path = e.path[:len(e.path) - 1] + return + // return (*e)[:len(*e) - 1] } diff --git a/iSolarCloud/api/GoStruct/struct_reflect.go b/iSolarCloud/api/GoStruct/struct_reflect.go index 7adc8a554..67d84d796 100644 --- a/iSolarCloud/api/GoStruct/struct_reflect.go +++ b/iSolarCloud/api/GoStruct/struct_reflect.go @@ -47,7 +47,7 @@ func (r Reflect) String() string { fallthrough case reflect.Slice: ret = fmt.Sprintf("%s (%s)\tFieldName:%s Kind:%s Length:%d (IsNil:%v IsUnknown:%v IsExported:%v)", - strings.Join(r.DataStructure.Endpoint, "."), + r.DataStructure.Endpoint.String(), r.DataStructure.PointId, fn, r.Kind.String(), @@ -57,7 +57,7 @@ func (r Reflect) String() string { default: ret = fmt.Sprintf("%s (%s)\tFieldName:%s Kind:%s (IsNil:%v IsUnknown:%v IsExported:%v)", - strings.Join(r.DataStructure.Endpoint, "."), + r.DataStructure.Endpoint.String(), r.DataStructure.PointId, fn, r.Kind.String(), @@ -124,7 +124,8 @@ func (r *Reflect) SetByFieldName(parent interface{}, current interface{}, name s } } -func (r *Reflect) SetByIndex(parent Reflect, current Reflect, index int, indexName reflect.Value, name EndPointPath) { +func (r *Reflect) SetByIndex(parent Reflect, current Reflect, index int, indexName reflect.Value) { +// func (r *Reflect) SetByIndex(parent Reflect, current Reflect, index int, indexName reflect.Value, name EndPointPath) { for range Only.Once { // Get child interface from parent. // pt := current.TypeOf @@ -181,8 +182,8 @@ func (r *Reflect) SetByIndex(parent Reflect, current Reflect, index int, indexNa r.FieldName = r.FieldTo.Name r.DataStructure = r.DataStructure.Set(parent.Interface, current.Interface, r.FieldTo, r.FieldVo) - r.DataStructure.Endpoint = name.Copy() - r.DataStructure.Endpoint = append(r.DataStructure.Endpoint, r.DataStructure.PointId) + r.DataStructure.Endpoint = current.DataStructure.Endpoint.Copy() // name.Copy() + r.DataStructure.Endpoint.Append(r.DataStructure.PointId) break } @@ -205,8 +206,8 @@ func (r *Reflect) SetByIndex(parent Reflect, current Reflect, index int, indexNa } f = fmt.Sprintf(f, index) - r.DataStructure.Endpoint = name.Copy() - r.DataStructure.Endpoint = append(r.DataStructure.Endpoint, f) + r.DataStructure.Endpoint = current.DataStructure.Endpoint.Copy() // name.Copy() + r.DataStructure.Endpoint.Append(f) if r.isUnknown { r.DataStructure.Json = current.DataStructure.PointId @@ -239,15 +240,15 @@ func (r *Reflect) SetByIndex(parent Reflect, current Reflect, index int, indexNa // r.DataStructure.Json = r.FieldVo.String() // r.DataStructure.PointId = r.FieldVo.String() - r.DataStructure.Endpoint = name.Copy() - r.DataStructure.Endpoint = append(r.DataStructure.Endpoint, r.DataStructure.PointId) + r.DataStructure.Endpoint = current.DataStructure.Endpoint.Copy() // name.Copy() + r.DataStructure.Endpoint.Append(r.DataStructure.PointId) break } } } // setPointName - Are we using an index number for name or field key value? -func (r *Reflect) setPointName(parent Reflect, current Reflect, name []string, index int) []string { +func (r *Reflect) setPointName(parent Reflect, current Reflect, name EndPointPath, index int) EndPointPath { for range Only.Once { var pn string var intSize int @@ -273,41 +274,51 @@ func (r *Reflect) setPointName(parent Reflect, current Reflect, name []string, i // PointNameFromChild - In this case points to a field within a CHILD struct. pn = reflection.GetPointNameFrom(current.Interface, r.DataStructure.PointNameFromChild, intSize, r.DataStructure.PointNameDateFormat) if r.DataStructure.PointNameAppend == false { - name = append(name[:len(name) - 1], pn) + // name = append(name[:len(name) - 1], pn) + name.PopLast() } else { - name = append(name, pn) + // name = append(name, pn) } + name.Append(pn) case r.DataStructure.PointNameFromParent != "": // PointNameFromChild - In this case points to a field within a CHILD struct. pn = reflection.GetPointNameFrom(parent.Interface, r.DataStructure.PointNameFromParent, intSize, r.DataStructure.PointNameDateFormat) if r.DataStructure.PointNameAppend == false { - name = append(name[:len(name) - 1], pn) + // name = append(name[:len(name) - 1], pn) + name.PopLast() } else { - name = append(name, pn) + // name = append(name, pn) } + name.Append(pn) default: if r.DataStructure.PointNameAppend == false { - name = append(name[:len(name) - 1], pn) + // name = append(name[:len(name) - 1], pn) + name.PopLast() } else { - name = append(name, pn) + // name = append(name, pn) } + name.Append(pn) } } return name } -func (r *Reflect) PointNameFromChild(child Reflect, name EndPointPath) []string { +func (r *Reflect) PointNameFromChild(child *Reflect) EndPointPath { for range Only.Once { if r.DataStructure.PointNameFromChild != "" { // PointNameFromChild - In this case points to a field within a CHILD struct. pn := reflection.GetPointNameFrom(child.Interface, r.DataStructure.PointNameFromChild, 0, r.DataStructure.PointNameDateFormat) - name = append(name, pn) + // child.DataStructure.Endpoint.Append(pn) + // if child.DataStructure.PointNameAppend == false { + child.DataStructure.Endpoint.PopLast() + // } + child.DataStructure.Endpoint.Append(pn) } } - return name + return child.DataStructure.Endpoint } @@ -337,12 +348,12 @@ func FindStart(fieldName string, Parent Reflect, Current Reflect, name EndPointP // Iterate over all available fields and read the tag value for si := 0; si < Current.Length; si++ { var Child Reflect - Child.SetByIndex(Parent, Current, si, reflect.Value{}, name) + Child.SetByIndex(Parent, Current, si, reflect.Value{}) if Child.FieldName == fieldName { // if !Child.DataStructure.PointNameAppend { // Child.DataStructure.Endpoint = Child.DataStructure.Endpoint.PopLast() // } - name = name.Append(Child.DataStructure.PointId) + // Child.DataStructure.Endpoint = name.Append(Child.DataStructure.PointId) ret = Child break } @@ -369,12 +380,12 @@ func FindStart(fieldName string, Parent Reflect, Current Reflect, name EndPointP // Iterate over all available fields and read the tag value for si := 0; si < Current.Length; si++ { var Child Reflect - Child.SetByIndex(Parent, Current, si, reflect.Value{}, name) + Child.SetByIndex(Parent, Current, si, reflect.Value{}) if Child.FieldName == fieldName { // if !Child.DataStructure.PointNameAppend { // Child.DataStructure.Endpoint = Child.DataStructure.Endpoint.PopLast() // } - name = name.Append(Child.DataStructure.PointId) + // Child.DataStructure.Endpoint = name.Append(Child.DataStructure.PointId) ret = Child break } @@ -388,11 +399,6 @@ func FindStart(fieldName string, Parent Reflect, Current Reflect, name EndPointP } Child = *FindStart(fieldName, Current, Child, name) - // if Child.FieldName == fieldName { - // name = name.Append(Child.DataStructure.PointId) - // ret = Child - // break - // } } break } @@ -420,7 +426,7 @@ func GetStructFields(ref interface{}) map[string]string { // Iterate over all available fields and read the tag value for i := 0; i < Ref.Length; i++ { var Child Reflect - Child.SetByIndex(Ref, Ref, i, reflect.Value{}, EndPointPath{}) + Child.SetByIndex(Ref, Ref, i, reflect.Value{}) if !Child.IsExported { continue @@ -452,7 +458,7 @@ func GetStructFieldsAsArray(ref interface{}) []string { // Iterate over all available fields and read the tag value for i := 0; i < Ref.Length; i++ { var Child Reflect - Child.SetByIndex(Ref, Ref, i, reflect.Value{}, EndPointPath{}) + Child.SetByIndex(Ref, Ref, i, reflect.Value{}) if !Child.IsExported { continue @@ -483,7 +489,7 @@ func GetStructValuesAsArray(ref interface{}) []string { // Iterate over all available fields and read the tag value for i := 0; i < Ref.Length; i++ { var Child Reflect - Child.SetByIndex(Ref, Ref, i, reflect.Value{}, EndPointPath{}) + Child.SetByIndex(Ref, Ref, i, reflect.Value{}) if !Child.IsExported { continue diff --git a/iSolarCloud/api/GoStruct/struct_table.go b/iSolarCloud/api/GoStruct/struct_table.go index e59968fd1..0ed10735e 100644 --- a/iSolarCloud/api/GoStruct/struct_table.go +++ b/iSolarCloud/api/GoStruct/struct_table.go @@ -50,7 +50,6 @@ func (dts *DataTables) GetDataMergedTables(timestamp valueTypes.DateTime, parent headers = append(headers, "Date/Time", "Index") } - // var names []string var name string for _, f := range dts.Get() { if f == nil { @@ -60,8 +59,6 @@ func (dts *DataTables) GetDataMergedTables(timestamp valueTypes.DateTime, parent continue } - // names = append(names, f.Name) - dt := f.GetTable() for index := range dt.Headers { headers = append(headers, dt.Headers[index]) @@ -85,7 +82,6 @@ func (dts *DataTables) GetDataMergedTables(timestamp valueTypes.DateTime, parent data = append(data, d) continue } - // data[rowIndex] = append(data[rowIndex], uvs[0].String()) data[rowIndex] = append(data[rowIndex], value[0].String()) } } @@ -236,7 +232,7 @@ func (dt *DataTable) GetTable() DataTable { // Handle slices here. for row := 0; row < dt.Reflect.Length; row++ { var Child Reflect - Child.SetByIndex(*dt.Reflect, *dt.Reflect, row, reflect.Value{}, EndPointPath{}) + Child.SetByIndex(*dt.Reflect, *dt.Reflect, row, reflect.Value{}) if Child.IsKnown() { if row == 0 { @@ -280,7 +276,7 @@ func (dt *DataTable) GetTable() DataTable { // Handle slices here. for row := 0; row < dt.Reflect.Length; row++ { var Child Reflect - Child.SetByIndex(*dt.Reflect, *dt.Reflect, row, reflect.Value{}, EndPointPath{}) + Child.SetByIndex(*dt.Reflect, *dt.Reflect, row, reflect.Value{}) if Child.IsKnown() { if row == 0 { @@ -324,7 +320,7 @@ func (dt *DataTable) GetTable() DataTable { // Handle maps here. for row, rowMap := range dt.Reflect.FieldVo.MapKeys() { var Child Reflect - Child.SetByIndex(*dt.Reflect, *dt.Reflect, row, rowMap, EndPointPath{}) + Child.SetByIndex(*dt.Reflect, *dt.Reflect, row, rowMap) if Child.IsKnown() { if row == 0 { @@ -383,7 +379,7 @@ func (dt *DataTable) GetTableMap2(Parent *Reflect, Child *Reflect) (bool, []*Ref ok = true for col, colMap := range dt.Reflect.FieldVo.MapKeys() { var ChildStruct Reflect - ChildStruct.SetByIndex(*dt.Reflect, *Child, col, colMap, EndPointPath{}) + ChildStruct.SetByIndex(*dt.Reflect, *Child, col, colMap) if dt.GoStructOptions(Parent, Child, &ChildStruct) { continue @@ -415,7 +411,7 @@ func (dt *DataTable) GetTableSlice2(Parent *Reflect, Child *Reflect) (bool, []*R ok = true for col := 0; col < Child.Length; col++ { var ChildStruct Reflect - ChildStruct.SetByIndex(*dt.Reflect, *Child, col, reflect.Value{}, EndPointPath{}) + ChildStruct.SetByIndex(*dt.Reflect, *Child, col, reflect.Value{}) if dt.GoStructOptions(Parent, Child, &ChildStruct) { continue @@ -447,7 +443,7 @@ func (dt *DataTable) GetTableStruct2(Parent *Reflect, Child *Reflect) (bool, []* ok = true for col := 0; col < Child.Length; col++ { var ChildStruct Reflect - ChildStruct.SetByIndex(*dt.Reflect, *Child, col, reflect.Value{}, EndPointPath{}) + ChildStruct.SetByIndex(*dt.Reflect, *Child, col, reflect.Value{}) if dt.GoStructOptions(Parent, Child, &ChildStruct) { continue diff --git a/iSolarCloud/api/GoStruct/valueTypes/datetime.go b/iSolarCloud/api/GoStruct/valueTypes/datetime.go index 65e3f5cd5..89067b9f1 100644 --- a/iSolarCloud/api/GoStruct/valueTypes/datetime.go +++ b/iSolarCloud/api/GoStruct/valueTypes/datetime.go @@ -112,6 +112,9 @@ func (dt DateTime) Value() time.Time { func (dt DateTime) String() string { // return dt.Original() + if dt.IsZero() { + return "--" + } return dt.Time.Format(DateTimeLayout) } diff --git a/iSolarCloud/api/GoStruct/valueTypes/point.go b/iSolarCloud/api/GoStruct/valueTypes/point.go index ac1bf35fb..3583fa946 100644 --- a/iSolarCloud/api/GoStruct/valueTypes/point.go +++ b/iSolarCloud/api/GoStruct/valueTypes/point.go @@ -9,6 +9,26 @@ import ( ) +// @TODO - Consider standardizing points to a known format. +// @TODO - queryUserCurveTemplateData is a good example of the structure. +// type Point struct { +// PointId valueTypes.PointId `json:"point_id"` +// PointName valueTypes.String `json:"point_name"` +// PsId valueTypes.PsId `json:"ps_id"` +// PsKey valueTypes.PsKey `json:"ps_key"` +// Color valueTypes.String `json:"color"` +// DetailId valueTypes.String `json:"detail_id"` +// PsName valueTypes.String `json:"ps_name"` +// Statistics valueTypes.String `json:"statistics"` +// Style valueTypes.String `json:"style"` +// Unit valueTypes.String `json:"unit"` +// DataList []struct { +// TimeStamp valueTypes.String `json:"time_stamp"` +// Value valueTypes.String `json:"value"` +// } `json:"data_list" PointArrayFlatten:"false"` +// } + + type PointId struct { string `json:"string,omitempty"` int64 `json:"integer,omitempty"` diff --git a/iSolarCloud/api/GoStruct/valueTypes/types.go b/iSolarCloud/api/GoStruct/valueTypes/types.go index 8bb7918f7..1107b3b98 100644 --- a/iSolarCloud/api/GoStruct/valueTypes/types.go +++ b/iSolarCloud/api/GoStruct/valueTypes/types.go @@ -677,6 +677,11 @@ func AnyToValueString(ref interface{}, intSize int, dateFormat string) string { ret = string(v) default: + v , err := json.Marshal(ref) + if err != nil { + break + } + ret = string(v) } } return ret diff --git a/iSolarCloud/api/struct_data.go b/iSolarCloud/api/struct_data.go index 70a0b7a9d..1729de596 100644 --- a/iSolarCloud/api/struct_data.go +++ b/iSolarCloud/api/struct_data.go @@ -31,13 +31,15 @@ func NewDataMap() DataMap { func (dm *DataMap) StructToDataMap(endpoint EndPoint, parentDeviceId string, name GoStruct.EndPointPath) DataMap { for range Only.Once { epName := GoStruct.NewEndPointPath(reflection.GetName("", endpoint)) - name = epName.Append(name...) + epName.Append(name.Strings()...) + name = epName.Copy() timestamp := valueTypes.SetDateTimeValue(time.Now().Round(5 * time.Minute)) // Iterate over all available fields and read the tag values var Parent GoStruct.Reflect - Parent.SetByFieldName(endpoint.ResponseRef(), endpoint.ResponseRef(), name[0]) + Parent.SetByFieldName(endpoint.ResponseRef(), endpoint.ResponseRef(), name.Index(0)) + Parent.DataStructure.Endpoint = name.Copy() Current := GoStruct.FindStart("ResultData", Parent, Parent, name) name = Current.DataStructure.Endpoint.Copy() @@ -81,7 +83,7 @@ func (dm *DataMap) StructToDataMap(endpoint EndPoint, parentDeviceId string, nam } var point Point - p := GetPoint(strings.Join(f.Endpoint, ".") + "." + f.PointId) + p := GetPoint(f.Endpoint.String() + "." + f.PointId) if p == nil { // No point found. Create one. point = CreatePoint(parentDeviceId, valueTypes.SetPointIdString(f.PointId), f.PointName, f.PointGroupName, uvs.Unit(), uvs.Type(), f.PointUpdateFreq) @@ -105,11 +107,11 @@ func (dm *DataMap) StructToDataMap(endpoint EndPoint, parentDeviceId string, nam fmt.Printf("OOOPS - UVS is nil for %s\n", f.PointId) continue } - dm.AddPointUnitValue(strings.Join(f.Endpoint, "."), f.PointParentId, point, when, uvs[0]) + dm.AddPointUnitValue(f.Endpoint.String(), f.PointParentId, point, when, uvs[0]) if f.PointAliasTo != "" { f.PointId = f.PointAliasTo - dm.AddPointUnitValue(strings.Join(f.Endpoint, "."), f.PointParentId, point, when, uvs[0]) + dm.AddPointUnitValue(f.Endpoint.String(), f.PointParentId, point, when, uvs[0]) } } @@ -123,8 +125,6 @@ func (dm *DataMap) StructToDataMap(endpoint EndPoint, parentDeviceId string, nam dm.DataTables = output.NewTables() dm.DataTables = tp.DataTables.GetDataMergedTables(timestamp, parentDeviceId) dm.DataTables = tp.DataTables.GetDataTables() - // dm.GetDataMergedTables(endpoint, tp.DataTables, timestamp, parentDeviceId) - // dm.GetDataTables(endpoint, tp.DataTables) } return *dm } @@ -263,8 +263,12 @@ func (dm *DataMap) Print() { "Parent Codes", ) - for i, k := range dm.Order { + // dm.Order - Produces double the amount of entries for some reason. + i := 0 + for k := range dm.Map { for _, v := range dm.Map[k].Entries { + i++ + table.AddRowItems( i, v.EndPoint, diff --git a/iSolarCloud/api/struct_point.go b/iSolarCloud/api/struct_point.go index ec09618bb..8ef644b85 100644 --- a/iSolarCloud/api/struct_point.go +++ b/iSolarCloud/api/struct_point.go @@ -24,7 +24,10 @@ type Point struct { func (p *Point) FixUnitType() Point { - p.ValueType = valueTypes.UnitValueType(p.Unit) + vt := valueTypes.UnitValueType(p.Unit) + if vt != "" { + p.ValueType = vt + } return *p } diff --git a/iSolarCloud/data.go b/iSolarCloud/data.go index ae34f9d57..ad9eb2e75 100644 --- a/iSolarCloud/data.go +++ b/iSolarCloud/data.go @@ -233,7 +233,7 @@ func (sgd *SunGrowData) GetData() error { result.EndPointName = ep.GetName() result.EndPoint = ep result.Response = sgd.CallEndpoint(ep, result.Request) - sgd.results[result.EndPointName.String()] = result + sgd.results[result.EndPointName.String() + "/" + psId.String()] = result } } } @@ -249,21 +249,6 @@ func (sgd *SunGrowData) GetOutput() error { } for _, result := range sgd.results { sgd.Error = result.Response.GetOutput(sgd.sunGrow.OutputType, sgd.sunGrow.SaveAsFile) - - // if result.Response.Data.Table.OutputType.IsTable() { - // for _, t := range result.Response.Data.DataTables { - // t.OutputType = sgd.sunGrow.OutputType - // t.SetSaveFile(sgd.sunGrow.SaveAsFile) - // sgd.Error = t.Output() - // if sgd.Error != nil { - // break - // } - // } - // continue - // } - // - // ok = true - // sgd.Error = result.Response.Data.Table.Output() } } @@ -274,20 +259,6 @@ func (sgd *SunGrowData) GetResults() SunGrowDataResults { return sgd.results } -// func (sgd *SunGrowData) GetByEndPointName(endpoint string) SunGrowDataResponse { -// var response SunGrowDataResponse -// response.Data.Table = output.NewTable() -// for range Only.Once { -// ep := sgd.sunGrow.GetEndpoint(endpoint) -// sgd.sunGrow.Error = ep.GetError() -// if sgd.sunGrow.Error != nil { -// break -// } -// response = sgd.GetEndpoint(ep) -// } -// return response -// } - func (sgd *SunGrowData) CallEndpoint(endpoint api.EndPoint, request SunGrowDataRequest) SunGrowDataResponse { var response SunGrowDataResponse for range Only.Once {