You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const users =` create table if not exists users( id INT NOT NULL AUTO_INCREMENT, username VARCHAR(100) NOT NULL COMMENT '用户名', password VARCHAR(100) NOT NULL COMMENT '用户密码', mobile VARCHAR(100) NOT NULL COMMENT '手机号', avatar VARCHAR(100) NOT NULL COMMENT '用户头像', create_at VARCHAR(100) NOT NULL COMMENT '用户创建时间', PRIMARY KEY(id) ) character set = utf8;;`
// 用户注册exports.insterUserData=(val)=>{console.log('val',val)const_sql="insert into users set username=?,password=?,mobile=?,avatar=?,create_at=?;"returnquery(_sql,val)}
初始化数据库
The text was updated successfully, but these errors were encountered: