// import {} from '../util/common';
const mysql = require('../util/database.js')
const common_user = require('../common/user.js');
const util = require('../util/password.js');
const author=require('../util/author.js')
const uuid_ = require('node-uuid');
const status=require('../util/status')
// const { checkout } = require('../routes/index.js');
/**
*
*
* 校验手机号方式
* 0 数代表长度
* 1 则是代表手机号格式校验
* @param {*} phone
*/
let getUSer=(req,res)=>{
let {name}=req.query;
res.send({
name:"name"
})
}
let loginUser = async (req, res) => {
var uuid=uuid_.v1();
let { phone, username } = req.query;