This commit is contained in:
eson
2023-09-22 15:42:09 +08:00
parent 6fd3bc8a3b
commit b3ed5703a8
3 changed files with 19 additions and 34 deletions

View File

@@ -8,13 +8,7 @@ import (
)
func TestCase1(t *testing.T) {
u := gmodel.UserProfileBase{
Base: struct {
FirstName string "json:\"first_name\""
LastName string "json:\"last_name\""
Resetaurant string "json:\"resetaurant\""
}{},
}
u := gmodel.UserProfile{}
conn := initalize.InitMysql("fsreaderwriter:XErSYmLELKMnf3Dh@tcp(fusen.cdmigcvz3rle.us-east-2.rds.amazonaws.com:3306)/fusen")
err := fssql.MetadataModulePATCH(conn, "profile", gmodel.FsUserInfo{}, u, "id = ?", 90)