Commit b7006e3e19b0d22ab7ea362e016b1bc32faf1d16

Authored by ww
1 parent fade1aca

fix: update api interface

@@ -40,7 +40,7 @@ class ConfigurationNodeApi { @@ -40,7 +40,7 @@ class ConfigurationNodeApi {
40 * @returns {Promise<*>} 40 * @returns {Promise<*>}
41 */ 41 */
42 static getDeviceUnderTheOrg(deviceType, orgId) { 42 static getDeviceUnderTheOrg(deviceType, orgId) {
43 - return defHttp.get(`/yt/device/list/${deviceType}?organizationId=${orgId}`) 43 + return defHttp.get(`/yt/device/list?deviceType=${deviceType}&organizationId=${orgId}`)
44 } 44 }
45 45
46 /** 46 /**