Commit e08b5621 by 任晓松

核名

parent 83d4ac51
...@@ -10,7 +10,7 @@ class Tool extends APIBase { ...@@ -10,7 +10,7 @@ class Tool extends APIBase {
} }
async icname(params, req) { async icname(params, req) {
let url = settings.icNameUrl() + 'api/icName/CheckName'; let url = settings.icNameUrl() + 'openPlatform/ic/match';
if (!params.cityName) { if (!params.cityName) {
return system.getResult(-1, 'cityName 不能为空!'); return system.getResult(-1, 'cityName 不能为空!');
} }
......
...@@ -316,9 +316,9 @@ var settings = { ...@@ -316,9 +316,9 @@ var settings = {
}, },
icNameUrl: function () { icNameUrl: function () {
if (this.env == "dev") { if (this.env == "dev") {
return "https://icname.gongsibao.com/" return "https://fq.gongsibao.com/"
} else { } else {
return "https://icname.gongsibao.com/" return "https://fq.gongsibao.com/"
} }
}, },
apiconfig: { apiconfig: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment