diff --git a/components/configureDevice_2/configureDevice_2.js b/components/configureDevice_2/configureDevice_2.js index 936346b..0cdd0b6 100644 --- a/components/configureDevice_2/configureDevice_2.js +++ b/components/configureDevice_2/configureDevice_2.js @@ -238,7 +238,7 @@ Component({ title: res.message }) app.globalData.ppScale.activeProtocol.dataSyncUserInfo({ - userID: res_.result.id, + userID: res_.result.userId, userName: res_.result.realname, memberID: "", age: this.getAge(res_.result.birthday), // diff --git a/pages/userInfo/userInfo.js b/pages/userInfo/userInfo.js index fac6863..1b42953 100644 --- a/pages/userInfo/userInfo.js +++ b/pages/userInfo/userInfo.js @@ -216,7 +216,7 @@ Page({ title: res.message }) app.globalData.ppScale.activeProtocol.dataSyncUserInfo({ - userID: res_.result.id, + userID: res_.result.userId, userName: res_.result.realname, memberID: "", age: this.getAge(res_.result.birthday), //