npm i mint-ui@1 -S
CDN 目前可以通过 unpkg.com/mint-ui@1 获取到最新版本的资源,在页面上引入 js 和 css 文件即可开始使用。
<!...不能获取前台传过来post的数据
原因是 Content-Type类型设置为payload了
浅谈php接收POST数据的三种方式
在Web开发中,当用户使用浏览器向服务器POST提交数据时,
我们使用...,
msg: "提示语"
}
修改后request请求
{
date: string 日期,
userid: int 用户id,
editid: int 编辑id,
token: string...验证,
}
修改后reponse响应
{
userid: int 用户id,
editid: int 编辑id,
code: int 0表示成功,其他表示失败,
msg:"提示语",
}...}
reponse 响应
{
userid: int 用户id,
id: int 日记id,
code: int 0表示成功,其他表示失败,
msg: "提示语"
}
学习了一下mint-ui