企业列表出来了
parent
816a123b54
commit
1af76cdc0c
|
@ -5,6 +5,10 @@
|
||||||
</component>
|
</component>
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="72651396-d9d2-4022-b080-e21d75d1bedb" name="更改" comment="企业列表出来了">
|
<list default="true" id="72651396-d9d2-4022-b080-e21d75d1bedb" name="更改" comment="企业列表出来了">
|
||||||
|
<change afterPath="$PROJECT_DIR$/logs/cloud-system/error.2024-09-02.log" afterDir="false" />
|
||||||
|
<change afterPath="$PROJECT_DIR$/logs/cloud-system/error.2024-09-03.log" afterDir="false" />
|
||||||
|
<change afterPath="$PROJECT_DIR$/logs/cloud-system/info.2024-09-02.log" afterDir="false" />
|
||||||
|
<change afterPath="$PROJECT_DIR$/logs/cloud-system/info.2024-09-03.log" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/logs/cloud-system/error.log" beforeDir="false" afterPath="$PROJECT_DIR$/logs/cloud-system/error.log" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/logs/cloud-system/error.log" beforeDir="false" afterPath="$PROJECT_DIR$/logs/cloud-system/error.log" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/logs/cloud-system/info.log" beforeDir="false" afterPath="$PROJECT_DIR$/logs/cloud-system/info.log" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/logs/cloud-system/info.log" beforeDir="false" afterPath="$PROJECT_DIR$/logs/cloud-system/info.log" afterDir="false" />
|
||||||
|
@ -74,7 +78,7 @@
|
||||||
"node.js.selected.package.eslint": "(autodetect)",
|
"node.js.selected.package.eslint": "(autodetect)",
|
||||||
"node.js.selected.package.tslint": "(autodetect)",
|
"node.js.selected.package.tslint": "(autodetect)",
|
||||||
"nodejs_package_manager_path": "npm",
|
"nodejs_package_manager_path": "npm",
|
||||||
"settings.editor.selected.configurable": "MavenSettings",
|
"settings.editor.selected.configurable": "reference.settings.project.maven.repository.indices",
|
||||||
"spring.configuration.checksum": "647853898192e405c7aff8ecac5564ea",
|
"spring.configuration.checksum": "647853898192e405c7aff8ecac5564ea",
|
||||||
"vue.rearranger.settings.migration": "true"
|
"vue.rearranger.settings.migration": "true"
|
||||||
}
|
}
|
||||||
|
@ -96,6 +100,7 @@
|
||||||
<recent name="E:\桌面\cloud-modules-market\cloud-market-server\src\main\java\com\muyu" />
|
<recent name="E:\桌面\cloud-modules-market\cloud-market-server\src\main\java\com\muyu" />
|
||||||
</key>
|
</key>
|
||||||
<key name="CopyClassDialog.RECENTS_KEY">
|
<key name="CopyClassDialog.RECENTS_KEY">
|
||||||
|
<recent name="com.muyu.market.config" />
|
||||||
<recent name="com.muyu.market" />
|
<recent name="com.muyu.market" />
|
||||||
<recent name="com.muyu.market.domain" />
|
<recent name="com.muyu.market.domain" />
|
||||||
<recent name="com.muyu" />
|
<recent name="com.muyu" />
|
||||||
|
@ -169,7 +174,12 @@
|
||||||
<workItem from="1725258712426" duration="3588000" />
|
<workItem from="1725258712426" duration="3588000" />
|
||||||
<workItem from="1725382242808" duration="955000" />
|
<workItem from="1725382242808" duration="955000" />
|
||||||
<workItem from="1725383441201" duration="397000" />
|
<workItem from="1725383441201" duration="397000" />
|
||||||
<workItem from="1725410973845" duration="2494000" />
|
<workItem from="1725410973845" duration="16604000" />
|
||||||
|
<workItem from="1725467330297" duration="44000" />
|
||||||
|
<workItem from="1725498730144" duration="839000" />
|
||||||
|
<workItem from="1725517357652" duration="1395000" />
|
||||||
|
<workItem from="1725528983357" duration="20000" />
|
||||||
|
<workItem from="1725534330399" duration="6000" />
|
||||||
</task>
|
</task>
|
||||||
<task id="LOCAL-00001" summary="初始化">
|
<task id="LOCAL-00001" summary="初始化">
|
||||||
<created>1724047244829</created>
|
<created>1724047244829</created>
|
||||||
|
@ -360,7 +370,21 @@
|
||||||
<option name="project" value="LOCAL" />
|
<option name="project" value="LOCAL" />
|
||||||
<updated>1725412228813</updated>
|
<updated>1725412228813</updated>
|
||||||
</task>
|
</task>
|
||||||
<option name="localTasksCounter" value="28" />
|
<task id="LOCAL-00028" summary="企业列表出来了">
|
||||||
|
<created>1725434075951</created>
|
||||||
|
<option name="number" value="00028" />
|
||||||
|
<option name="presentableId" value="LOCAL-00028" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1725434075951</updated>
|
||||||
|
</task>
|
||||||
|
<task id="LOCAL-00029" summary="企业列表出来了">
|
||||||
|
<created>1725441635174</created>
|
||||||
|
<option name="number" value="00029" />
|
||||||
|
<option name="presentableId" value="LOCAL-00029" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1725441635174</updated>
|
||||||
|
</task>
|
||||||
|
<option name="localTasksCounter" value="30" />
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
<component name="TypeScriptGeneratedFilesManager">
|
<component name="TypeScriptGeneratedFilesManager">
|
||||||
|
|
|
@ -31,7 +31,7 @@ public class MobileLocationConfig {
|
||||||
params.put("phone", mobile);
|
params.put("phone", mobile);
|
||||||
params.put("key", API_KEY);
|
params.put("key", API_KEY);
|
||||||
String queryParams = urlencode(params);
|
String queryParams = urlencode(params);
|
||||||
|
String msg = null;
|
||||||
String response = doGet(API_URL, queryParams);
|
String response = doGet(API_URL, queryParams);
|
||||||
try {
|
try {
|
||||||
JSONObject jsonObject = JSONObject.fromObject(response);
|
JSONObject jsonObject = JSONObject.fromObject(response);
|
||||||
|
@ -47,13 +47,14 @@ public class MobileLocationConfig {
|
||||||
System.out.printf("邮编:%s%n" , result.getString("zip"));
|
System.out.printf("邮编:%s%n" , result.getString("zip"));
|
||||||
System.out.printf("运营商:%s%n", result.getString("company"));
|
System.out.printf("运营商:%s%n", result.getString("company"));
|
||||||
|
|
||||||
|
msg = jsonObject.getString("reason");
|
||||||
} else {
|
} else {
|
||||||
System.out.println("调用接口失败:" + jsonObject.getString("reason"));
|
System.out.println("调用接口失败:" + jsonObject.getString("reason"));
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
return response;
|
return msg;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue