From 1c31be2807831c4545e86e98143d3073c22fc2e1 Mon Sep 17 00:00:00 2001 From: hoteas Date: Sat, 18 Dec 2021 00:07:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=B3=BB=E7=BB=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/app/produce.go | 2 +- example/config/config.json | 2 +- example/tpt/index.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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/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 @@
\ No newline at end of file + }
\ No newline at end of file