From 3369456ac6de01e8703a9b38537406ec7c550bc5 Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期五, 25 八月 2023 11:05:45 +0800
Subject: [PATCH] fix
---
model/region.go | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/model/region.go b/model/region.go
index 320c11d..097d201 100644
--- a/model/region.go
+++ b/model/region.go
@@ -77,6 +77,11 @@
return slf
}
+func (slf *RegionSearch) SetCityId(cityId int) *RegionSearch {
+ slf.CityId = cityId
+ return slf
+}
+
func (slf *RegionSearch) First() (*Region, error) {
var db = slf.build()
var record Region
--
Gitblit v1.8.0