cloudcc-cli 1.6.0 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,11 @@
1
- # ReleaseV2.0.0
1
+ # ReleaseV1.6.1
2
+ #### 发布日期:2023-4-24
3
+ #### 发布范围:全量
4
+ #### 发布内容
5
+ * 优化
6
+ * 修复获取baseurl逻辑
7
+
8
+ # ReleaseV1.6.0
2
9
  #### 发布日期:2023-3-26
3
10
  #### 发布范围:全量
4
11
  #### 发布内容
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloudcc-cli",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "cloudcc-cli",
5
5
  "keywords": [
6
6
  "cloudcc",
@@ -61,7 +61,7 @@ class Builder {
61
61
  * @returns token
62
62
  */
63
63
  async getToken(devConsoleConfig) {
64
- let res = await post(this.options.devConsoleConfig.baseUrl || BaseUrl + "/sysconfig/auth/pc/1.0/post/tokenInfo", devConsoleConfig);
64
+ let res = await post((this.options.devConsoleConfig.baseUrl || BaseUrl) + "/sysconfig/auth/pc/1.0/post/tokenInfo", devConsoleConfig);
65
65
  if (res.returnCode == 200) {
66
66
  return res.data.accessToken;
67
67
  } else {