Skip to content

Commit f6ce6e1

Browse files
committed
【fix】修复API 修复地址匹配测试的逻辑 review by liqian
1 parent 195eba3 commit f6ce6e1

26 files changed

+971
-942
lines changed

dist/classic/iclient-classic-es6.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17091,11 +17091,10 @@ SuperMap.CommonServiceBase = CommonServiceBase_CommonServiceBase;
1709117091
* @param {Object} [options.headers] - 请求头。
1709217092
*/
1709317093
class AddressMatchService_AddressMatchService extends CommonServiceBase_CommonServiceBase {
17094-
1709517094
constructor(url, options) {
1709617095
super(url, options);
17097-
this.options = options || {}
17098-
this.CLASS_NAME = "SuperMap.AddressMatchService";
17096+
this.options = options || {};
17097+
this.CLASS_NAME = 'SuperMap.AddressMatchService';
1709917098
}
1710017099

1710117100
/**
@@ -17139,7 +17138,7 @@ class AddressMatchService_AddressMatchService extends CommonServiceBase_CommonSe
1713917138

1714017139
processAsync(url, params) {
1714117140
this.request({
17142-
method: "GET",
17141+
method: 'GET',
1714317142
url,
1714417143
params,
1714517144
scope: this,
@@ -17154,6 +17153,9 @@ class AddressMatchService_AddressMatchService extends CommonServiceBase_CommonSe
1715417153
* @description 服务流程是否完成
1715517154
*/
1715617155
serviceProcessCompleted(result) {
17156+
if (result.succeed) {
17157+
delete result.succeed;
17158+
}
1715717159
super.serviceProcessCompleted(result);
1715817160
}
1715917161

@@ -17168,6 +17170,7 @@ class AddressMatchService_AddressMatchService extends CommonServiceBase_CommonSe
1716817170
}
1716917171

1717017172
SuperMap.AddressMatchService = AddressMatchService_AddressMatchService;
17173+
1717117174
// CONCATENATED MODULE: ./src/common/iServer/AggQueryBuilderParameter.js
1717217175
/* Copyright© 2000 - 2020 SuperMap Software Co.Ltd. All rights reserved.
1717317176
* This program are made available under the terms of the Apache License, Version 2.0

dist/classic/iclient-classic-es6.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/classic/iclient-classic.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19504,7 +19504,7 @@ function (_CommonServiceBase) {
1950419504

1950519505
_this = AddressMatchService_possibleConstructorReturn(this, AddressMatchService_getPrototypeOf(AddressMatchService).call(this, url, options));
1950619506
_this.options = options || {};
19507-
_this.CLASS_NAME = "SuperMap.AddressMatchService";
19507+
_this.CLASS_NAME = 'SuperMap.AddressMatchService';
1950819508
return _this;
1950919509
}
1951019510
/**
@@ -19559,7 +19559,7 @@ function (_CommonServiceBase) {
1955919559
key: "processAsync",
1956019560
value: function processAsync(url, params) {
1956119561
this.request({
19562-
method: "GET",
19562+
method: 'GET',
1956319563
url: url,
1956419564
params: params,
1956519565
scope: this,
@@ -19576,6 +19576,10 @@ function (_CommonServiceBase) {
1957619576
}, {
1957719577
key: "serviceProcessCompleted",
1957819578
value: function serviceProcessCompleted(result) {
19579+
if (result.succeed) {
19580+
delete result.succeed;
19581+
}
19582+
1957919583
AddressMatchService_get(AddressMatchService_getPrototypeOf(AddressMatchService.prototype), "serviceProcessCompleted", this).call(this, result);
1958019584
}
1958119585
/**

dist/classic/iclient-classic.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/leaflet/iclient-leaflet-es6.js

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16746,11 +16746,10 @@ SuperMap.GeoDecodingParameter = GeoDecodingParameter_GeoDecodingParameter;
1674616746
* @param {Object} [options.headers] - 请求头。
1674716747
*/
1674816748
class AddressMatchService_AddressMatchService extends CommonServiceBase_CommonServiceBase {
16749-
1675016749
constructor(url, options) {
1675116750
super(url, options);
16752-
this.options = options || {}
16753-
this.CLASS_NAME = "SuperMap.AddressMatchService";
16751+
this.options = options || {};
16752+
this.CLASS_NAME = 'SuperMap.AddressMatchService';
1675416753
}
1675516754

1675616755
/**
@@ -16794,7 +16793,7 @@ class AddressMatchService_AddressMatchService extends CommonServiceBase_CommonSe
1679416793

1679516794
processAsync(url, params) {
1679616795
this.request({
16797-
method: "GET",
16796+
method: 'GET',
1679816797
url,
1679916798
params,
1680016799
scope: this,
@@ -16809,6 +16808,9 @@ class AddressMatchService_AddressMatchService extends CommonServiceBase_CommonSe
1680916808
* @description 服务流程是否完成
1681016809
*/
1681116810
serviceProcessCompleted(result) {
16811+
if (result.succeed) {
16812+
delete result.succeed;
16813+
}
1681216814
super.serviceProcessCompleted(result);
1681316815
}
1681416816

@@ -16823,6 +16825,7 @@ class AddressMatchService_AddressMatchService extends CommonServiceBase_CommonSe
1682316825
}
1682416826

1682516827
SuperMap.AddressMatchService = AddressMatchService_AddressMatchService;
16828+
1682616829
// CONCATENATED MODULE: ./src/common/iServer/AggQueryBuilderParameter.js
1682716830
/* Copyright© 2000 - 2020 SuperMap Software Co.Ltd. All rights reserved.
1682816831
* This program are made available under the terms of the Apache License, Version 2.0
@@ -88519,7 +88522,7 @@ external_L_default.a.supermap.turfLayer = TurfLayer_turfLayer;
8851988522
* @param {number} [options.radius=50] - 热点渲染的最大半径(热点像素半径),单位为 px,当 useGeoUnit 参数 为 true 时,单位使用当前图层地理坐标单位。热点显示的时候以精确点为中心点开始往四周辐射衰减,其衰减半径和权重值成比列。
8852088523
* @param {number} [options.opacity=1] - 图层透明度。
8852188524
* @param {boolean} [options.useGeoUnit=false] - 使用地理单位,即默认热点半径默认使用像素单位。 当设置为 true 时,热点半径和图层地理坐标保持一致。
88522-
* @param {boolean} [options.blur] - 模糊量,默认值为半径的二分之一。
88525+
* @param {number} [options.blur] - 模糊量,,单位为 px。默认值为半径的二分之一。
8852388526
* @param {string} [options.attribution='Map Data <span>© <a href='http://support.supermap.com.cn/product/iServer.aspx' title='SuperMap iServer' target='_blank'>SuperMap iServer</a></span>'] - 版权信息。
8852488527
*
8852588528
* @extends {L.Layer}

dist/leaflet/iclient-leaflet-es6.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/leaflet/iclient-leaflet.css

Lines changed: 847 additions & 847 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/leaflet/iclient-leaflet.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18908,7 +18908,7 @@ function (_CommonServiceBase) {
1890818908

1890918909
_this = AddressMatchService_possibleConstructorReturn(this, AddressMatchService_getPrototypeOf(AddressMatchService).call(this, url, options));
1891018910
_this.options = options || {};
18911-
_this.CLASS_NAME = "SuperMap.AddressMatchService";
18911+
_this.CLASS_NAME = 'SuperMap.AddressMatchService';
1891218912
return _this;
1891318913
}
1891418914
/**
@@ -18963,7 +18963,7 @@ function (_CommonServiceBase) {
1896318963
key: "processAsync",
1896418964
value: function processAsync(url, params) {
1896518965
this.request({
18966-
method: "GET",
18966+
method: 'GET',
1896718967
url: url,
1896818968
params: params,
1896918969
scope: this,
@@ -18980,6 +18980,10 @@ function (_CommonServiceBase) {
1898018980
}, {
1898118981
key: "serviceProcessCompleted",
1898218982
value: function serviceProcessCompleted(result) {
18983+
if (result.succeed) {
18984+
delete result.succeed;
18985+
}
18986+
1898318987
AddressMatchService_get(AddressMatchService_getPrototypeOf(AddressMatchService.prototype), "serviceProcessCompleted", this).call(this, result);
1898418988
}
1898518989
/**
@@ -100850,7 +100854,7 @@ external_L_default.a.supermap.turfLayer = TurfLayer_turfLayer;
100850100854
* @param {number} [options.radius=50] - 热点渲染的最大半径(热点像素半径),单位为 px,当 useGeoUnit 参数 为 true 时,单位使用当前图层地理坐标单位。热点显示的时候以精确点为中心点开始往四周辐射衰减,其衰减半径和权重值成比列。
100851100855
* @param {number} [options.opacity=1] - 图层透明度。
100852100856
* @param {boolean} [options.useGeoUnit=false] - 使用地理单位,即默认热点半径默认使用像素单位。 当设置为 true 时,热点半径和图层地理坐标保持一致。
100853-
* @param {boolean} [options.blur] - 模糊量,默认值为半径的二分之一。
100857+
* @param {number} [options.blur] - 模糊量,,单位为 px。默认值为半径的二分之一。
100854100858
* @param {string} [options.attribution='Map Data <span>© <a href='http://support.supermap.com.cn/product/iServer.aspx' title='SuperMap iServer' target='_blank'>SuperMap iServer</a></span>'] - 版权信息。
100855100859
*
100856100860
* @extends {L.Layer}

dist/leaflet/iclient-leaflet.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy