Why can't WeChat Mini Programs call Wechat server directly to get user information?

just started the development of Mini Program to see Mini Program login process, why do you need Mini Program to obtain code, through wx.login and then give code to the server, and let the server request Wechat server through code to get openid and other information? Why can"t Mini Program call Wechat server directly to get user information?


encryption algorithm is required for the security of user data

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-1b3a66a-2c219.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-1b3a66a-2c219.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?