zoie 11 ay önce
ebeveyn
işleme
4396709f3b
2 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  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))