浏览代码

2023-12-28

zoie 11 月之前
父节点
当前提交
4396709f3b
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 2 2
      conf/app.conf
  2. 1 1
      models/Account/User.go

+ 2 - 2
conf/app.conf

@@ -5,8 +5,8 @@ Graceful = true
 EnableDocs = true
 copyrequestbody = true
 
-NatsServer_Url = "127.0.0.1:4222"
-NatsSubj_Prefix = ""
+NatsServer_Url = "127.0.0.1:4223"
+NatsSubj_Prefix = "Test_"
 # Mysql 线上
 MysqlServer_UrlPort = "127.0.0.1:3316"
 MysqlServer_Database = "erp_user_test"

+ 1 - 1
models/Account/User.go

@@ -277,7 +277,7 @@ func Read_User_List_ByT_uuid(T_name string, T_uuid_list []string, page, page_z i
 
 	// 过滤
 	cond := orm.NewCondition()
-	cond1 := cond.And("T_State", 1) //.And("T_State", 1) .AndNot("status__in", 1).Or("profile__age__gt", 2000)
+	cond1 := cond.And("T_State__gt", 0) //.And("T_State", 1) .AndNot("status__in", 1).Or("profile__age__gt", 2000)
 
 	if len(T_name) > 0 {
 		//cond1.AndCond(cond.And("T_class", class))