Mini Program's problem of creating user table after login

Mini Program backend requests Wechat server to return whether the openid, user"s first login is based on openid to build the user data table. The client login successfully requests that the user data be sent to the server. The server receives the 3rd_session to separate the openid, and then goes to the database to find the user data?

The unique identity of the

user is openid or uid. You are right to distinguish in this way.

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