cloudcc-cli 2.1.8 → 2.1.9

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,3 +1,10 @@
1
+ # ReleaseV2.1.9
2
+ #### Release Date: 2025-9-1
3
+ #### Release Scope: Full
4
+ #### Release Content
5
+ * Optimization
6
+ * getBaseUrl change orgId.
7
+
1
8
  # ReleaseV2.1.8
2
9
  #### Release Date: 2025-7-30
3
10
  #### Release Scope: Full
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloudcc-cli",
3
- "version": "2.1.8",
3
+ "version": "2.1.9",
4
4
  "description": "cloudcc-cli",
5
5
  "keywords": [
6
6
  "cloudcc",
package/utils/utils.js CHANGED
@@ -24,7 +24,7 @@ async function getBaseUrl(config) {
24
24
  if (config.baseUrl) {
25
25
  config.apiSvc = config.baseUrl + (config.apiSvcPrefix || "/apisvc")
26
26
  config.setupSvc = config.baseUrl + (config.setupSvcPrefix || "/setup")
27
- } else {
27
+ } else if (config.orgId) {
28
28
  let u = "https://developer.apis.cloudcc.cn/oauth/apidomain?scope=cloudccCRM&orgId=" + config.orgId
29
29
  let res = await axios({
30
30
  url: u,