Skip to content

Commit 9a3d790

Browse files
committed
fix iportal相关错误注释
1 parent 8553e24 commit 9a3d790

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

src/common/iPortal/iPortalServiceBase.js

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,10 @@ export default class IPortalServiceBase {
2323
/**
2424
* @function SuperMap.iPortalServiceBase.prototype.request
2525
* @description 子类统一通过该方法发送请求
26-
* @param url -{String} 服务器域名+端口,如:http://localhost:8092
27-
* @param method -{INT}
28-
* @param requestOptions -{Object}
29-
* @param param -{Object}
30-
* @description 获取返回参数的json数组
26+
* @param method -{INT} 请求类型
27+
* @param url -{String} 服务地址
28+
* @param param -{Object} 请求参数
29+
* @param requestOptions -{Object} fetch请求配置项
3130
*
3231
*/
3332

@@ -39,12 +38,11 @@ export default class IPortalServiceBase {
3938
}
4039

4140

42-
4341
/**
4442
* @function SuperMap.iPortalServiceBase.prototype.createCredentialUrl
4543
* @description 追加授权信息
46-
* @param url -{String} 服务器域名+端口,如:http://localhost:8092
47-
* @return {string} 新地址
44+
* @param url -{String} url
45+
* @return {string} 携带带token或key的新地址
4846
*/
4947

5048
createCredentialUrl(url) {

0 commit comments

Comments
 (0)