Skip to content

Commit b334daf

Browse files
committed
【api】更新API version review by huangqh
1 parent 8462f90 commit b334daf

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

src/common/iPortal/iPortalUser.js

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export class IPortalUser extends IPortalServiceBase {
4343
/**
4444
* @function SuperMap.iPortalUser.prototype.addMap
4545
* @description 添加地图。
46-
* @version 10.0.1
46+
* @version 10.1.0
4747
* @param {SuperMap.iPortalAddResourceParam} addMapParams - 添加地图的参数。
4848
* @returns {Promise} 返回包含添加地图结果的 Promise 对象。
4949
*/
@@ -65,7 +65,7 @@ export class IPortalUser extends IPortalServiceBase {
6565
/**
6666
* @function SuperMap.iPortalUser.prototype.addScene
6767
* @description 添加场景。
68-
* @version 10.0.1
68+
* @version 10.1.0
6969
* @param {SuperMap.iPortalAddResourceParam} addSceneParams - 添加场景的参数。
7070
* @returns {Promise} 返回包含添加场景结果的 Promise 对象。
7171
*/
@@ -87,7 +87,7 @@ export class IPortalUser extends IPortalServiceBase {
8787
/**
8888
* @function SuperMap.iPortalUser.prototype.registerService
8989
* @description 注册服务。
90-
* @version 10.0.1
90+
* @version 10.1.0
9191
* @param {SuperMap.iPortalRegisterServiceParam} registerParams - 注册服务的参数。
9292
* @returns {Promise} 返回包含注册服务结果的 Promise 对象。
9393
*/
@@ -112,7 +112,7 @@ export class IPortalUser extends IPortalServiceBase {
112112
/**
113113
* @function SuperMap.iPortalUser.prototype.getErrMsgPromise
114114
* @description 获取包含错误信息的Promise对象。
115-
* @version 10.0.1
115+
* @version 10.1.0
116116
* @param {String} errMsg - 传入的错误信息。
117117
* @returns {Promise} 返回包含错误信息的 Promise 对象。
118118
*/
@@ -125,6 +125,7 @@ export class IPortalUser extends IPortalServiceBase {
125125
/**
126126
* @function SuperMap.iPortalUser.prototype.uploadDataRequest
127127
* @description 上传数据。
128+
* @version 10.1.0
128129
* @param {number} id - 上传数据的资源id。
129130
* @param {Object} formData - 请求体为文本数据流。
130131
* @returns {Promise} 返回包含上传数据操作的 Promise 对象。
@@ -137,6 +138,7 @@ export class IPortalUser extends IPortalServiceBase {
137138
/**
138139
* @function SuperMap.iPortalUser.prototype.addData
139140
* @description 上传/注册数据。
141+
* @version 10.1.0
140142
* @param {SuperMap.iPortalAddDataParam} params - 上传/注册数据所需的参数。
141143
* @param {Object} [formData] - 请求体为文本数据流(上传数据时传入)。
142144
* @returns {Promise} 返回上传/注册数据的 Promise 对象。
@@ -217,6 +219,7 @@ export class IPortalUser extends IPortalServiceBase {
217219
/**
218220
* @function SuperMap.iPortalUser.prototype.publishOrUnpublish
219221
* @description 发布/取消发布。
222+
* @version 10.1.0
220223
* @param {object} options - 发布/取消发布数据服务所需的参数。
221224
* @param {object} options.dataId - 数据项id。
222225
* @param {object} options.serviceType - 发布的服务类型,目前支持发布的服务类型包括:RESTDATA, RESTMAP, RESTREALSPACE, RESTSPATIALANALYST。
@@ -254,6 +257,7 @@ export class IPortalUser extends IPortalServiceBase {
254257
/**
255258
* @function SuperMap.iPortalUser.prototype.getDataPublishedStatus
256259
* @description 查询服务状态,发起服务状态查询。
260+
* @version 10.1.0
257261
* @param {number} dataId - 查询服务状态的数据项id。
258262
* @param {string} dataServiceId - 发布的服务id。
259263
* @returns {Promise} 返回查询服务状态的 Promise 对象。
@@ -266,6 +270,7 @@ export class IPortalUser extends IPortalServiceBase {
266270
/**
267271
* @function SuperMap.iPortalUser.prototype.unPublishedDataService
268272
* @description 取消发布。
273+
* @version 10.1.0
269274
* @param {object} options - 取消发布服务具体参数。
270275
* @param {object} options.dataId - 数据项id。
271276
* @param {object} options.serviceType - 发布的服务类型,目前支持发布的服务类型包括:RESTDATA, RESTMAP, RESTREALSPACE, RESTSPATIALANALYST。
@@ -279,6 +284,7 @@ export class IPortalUser extends IPortalServiceBase {
279284
/**
280285
* @function SuperMap.iPortalUser.prototype.publishedDataService
281286
* @description 发布数据服务。
287+
* @version 10.1.0
282288
* @param {object} options - 发布数据服务具体参数。
283289
* @param {object} options.dataId - 数据项id。
284290
* @param {object} options.serviceType - 发布的服务类型,目前支持发布的服务类型包括:RESTDATA, RESTMAP, RESTREALSPACE, RESTSPATIALANALYST。

0 commit comments

Comments
 (0)