Beego model 增删改查
摘要:插入 o := orm.NewOrm() user := UserInfo{Username: "zhangsan1", Password: "123456"} id, err := o.Insert(&user) c.Ctx.WriteString(fmt.Sprintf("操作数据库id=%d
阅读全文
posted @ 2020-10-15 20:10
posted @ 2020-10-15 20:10
posted @ 2020-10-15 11:51