From f5e2c16e70ef2fa62ba2daa1addefe7720dadf13 Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期四, 17 八月 2023 20:06:58 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 model/courierCompany.go |   20 ++++++++++++--------
 1 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/model/courierCompany.go b/model/courierCompany.go
index e78f481..2744a76 100644
--- a/model/courierCompany.go
+++ b/model/courierCompany.go
@@ -12,18 +12,18 @@
 	// CourierCompany 鐗╂祦鍏徃
 	CourierCompany struct {
 		Id   int    `json:"id" gorm:"column:id;primary_key;AUTO_INCREMENT"`
-		Name   string    `json:"name" gorm:"column:name"`
+		Name string `json:"name" gorm:"column:name"`
 	}
 
 	// CourierCompanySearch 鐗╂祦鍏徃鎼滅储鏉′欢
 	CourierCompanySearch struct {
 		CourierCompany
-		Orm *gorm.DB
-        QueryClass  constvar.CourierCompanyQueryClass
-        KeywordType constvar.CourierCompanyKeywordType
-        Keyword     string
-        PageNum  int
-        PageSize int
+		Orm         *gorm.DB
+		QueryClass  constvar.CourierCompanyQueryClass
+		KeywordType constvar.CourierCompanyKeywordType
+		Keyword     string
+		PageNum     int
+		PageSize    int
 	}
 )
 
@@ -135,6 +135,10 @@
 	if total != 0 {
 		return nil
 	}
-	records := []*CourierCompany{}
+	records := []*CourierCompany{
+		{1, "椤轰赴"},
+		{2, "寰烽偊"},
+		{3, "涓繙娴疯繍"},
+	}
 	return slf.CreateBatch(records)
 }

--
Gitblit v1.8.0