diff --git a/example/app/produce.go b/example/app/produce.go index 5b740d8..acf3964 100644 --- a/example/app/produce.go +++ b/example/app/produce.go @@ -192,7 +192,7 @@ var produceCtr = Ctr{ } columnStr := "produce.id,produce.sn,produce.name,produce.state,produce.product_id,product.name AS product_name" - where := Map{"produce.state": 0, "ORDER": "produce.modify_time DESC"} + where := Map{"produce.state[!]": 0, "ORDER": "produce.modify_time DESC"} reData := that.Db.Select("produce", Map{"[>]product": "produce.product_id=product.id"}, columnStr, where) diff --git a/example/config/config.json b/example/config/config.json index ecb3ab6..a17fdc9 100644 --- a/example/config/config.json +++ b/example/config/config.json @@ -20,7 +20,7 @@ "rule": "config/rule.json" } }, - "crossDomain": "auto", + "crossDomain": "", "db": { "mysql": { "host": "192.168.6.253", diff --git a/example/myhs.exe b/example/myhs.exe index 3e96066..911de22 100644 Binary files a/example/myhs.exe and b/example/myhs.exe differ diff --git a/example/tpt/index.html b/example/tpt/index.html index 568bcda..bec9c55 100644 --- a/example/tpt/index.html +++ b/example/tpt/index.html @@ -1,3 +1,3 @@