Is it okay to log in using wx.getUserInfo?

after the wx.getUserInfo of Mini Program api is successfully obtained, the official encryptedData, document is returned to show that the decrypted data of encryptedData is

.
{
    "openId": "OPENID",
    "nickName": "NICKNAME",
    "gender": GENDER,
    "city": "CITY",
    "province": "PROVINCE",
    "country": "COUNTRY",
    "avatarUrl": "AVATARURL",
    "unionId": "UNIONID",
    "watermark":
    {
        "appid":"APPID",
    "timestamp":TIMESTAMP
    }
}

can you get openid, so that you don"t need to use wx.login ()


the document is clearly written https://developers.weixin.qq.


you have to wx.login ()

first.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b9b62e-3763a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b9b62e-3763a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?