diff --git a/generator/main.go b/generator/main.go index aec33eae..b5915fa8 100644 --- a/generator/main.go +++ b/generator/main.go @@ -115,7 +115,7 @@ func GenFromPath(mdir string, cols []Column, tableName string, tableComment stri // 匹配到主键定义 - fcontent := "package model\n" + fcontent := "package gmodel\n" structstr := "// %s %s\ntype %s struct {%s\n}\n" @@ -210,7 +210,7 @@ func GenFromPath(mdir string, cols []Column, tableName string, tableComment stri panic(err) } - fcontent = "package model\n// TODO: 使用model的属性做你想做的" + fcontent = "package gmodel\n// TODO: 使用model的属性做你想做的" genGoLogicFileName := fmt.Sprintf("%s/%s_logic.go", mdir, tableName) // 使用 os.Stat 函数获取文件信息 diff --git a/goctl_template/mongo/err.tpl b/goctl_template/mongo/err.tpl index 27d92449..418c875f 100644 --- a/goctl_template/mongo/err.tpl +++ b/goctl_template/mongo/err.tpl @@ -1,4 +1,4 @@ -package model +package gmodel import ( "errors" diff --git a/goctl_template/mongo/model.tpl b/goctl_template/mongo/model.tpl index 287125d9..9c2d94ce 100644 --- a/goctl_template/mongo/model.tpl +++ b/goctl_template/mongo/model.tpl @@ -1,5 +1,5 @@ // Code generated by goctl. DO NOT EDIT. -package model +package gmodel import ( "context" diff --git a/goctl_template/mongo/model_custom.tpl b/goctl_template/mongo/model_custom.tpl index 31fa8653..c75bdcd9 100644 --- a/goctl_template/mongo/model_custom.tpl +++ b/goctl_template/mongo/model_custom.tpl @@ -1,4 +1,4 @@ -package model +package gmodel {{if .Cache}}import ( "github.com/zeromicro/go-zero/core/stores/cache" diff --git a/goctl_template/mongo/model_types.tpl b/goctl_template/mongo/model_types.tpl index 8da006f4..523de08a 100644 --- a/goctl_template/mongo/model_types.tpl +++ b/goctl_template/mongo/model_types.tpl @@ -1,4 +1,4 @@ -package model +package gmodel import ( "time" diff --git a/model/fsaddressmodel.go b/model/fsaddressmodel.go index 45370818..e4d40fcd 100755 --- a/model/fsaddressmodel.go +++ b/model/fsaddressmodel.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "context" diff --git a/model/fsaddressmodel_gen.go b/model/fsaddressmodel_gen.go index 4830c9c2..5aedfde8 100755 --- a/model/fsaddressmodel_gen.go +++ b/model/fsaddressmodel_gen.go @@ -1,6 +1,6 @@ // Code generated by goctl. DO NOT EDIT. -package model +package gmodel import ( "context" diff --git a/model/fscanteenproductmodel.go b/model/fscanteenproductmodel.go index 839cf956..b5b62db4 100755 --- a/model/fscanteenproductmodel.go +++ b/model/fscanteenproductmodel.go @@ -1,8 +1,9 @@ -package model +package gmodel import ( "context" "fmt" + "github.com/zeromicro/go-zero/core/stores/sqlx" ) diff --git a/model/fscanteenproductmodel_gen.go b/model/fscanteenproductmodel_gen.go index dc30d4dc..957a7f41 100755 --- a/model/fscanteenproductmodel_gen.go +++ b/model/fscanteenproductmodel_gen.go @@ -1,6 +1,6 @@ // Code generated by goctl. DO NOT EDIT. -package model +package gmodel import ( "context" diff --git a/model/fscanteentypemodel.go b/model/fscanteentypemodel.go index 6932ead8..6bd55715 100755 --- a/model/fscanteentypemodel.go +++ b/model/fscanteentypemodel.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "context" diff --git a/model/fscanteentypemodel_gen.go b/model/fscanteentypemodel_gen.go index 1c44ca2b..cff1f456 100755 --- a/model/fscanteentypemodel_gen.go +++ b/model/fscanteentypemodel_gen.go @@ -1,6 +1,6 @@ // Code generated by goctl. DO NOT EDIT. -package model +package gmodel import ( "context" diff --git a/model/fscartmodel.go b/model/fscartmodel.go index 7b008f3f..d71c77b3 100755 --- a/model/fscartmodel.go +++ b/model/fscartmodel.go @@ -1,4 +1,4 @@ -package model +package gmodel import "github.com/zeromicro/go-zero/core/stores/sqlx" diff --git a/model/fscartmodel_gen.go b/model/fscartmodel_gen.go index fa2a9c52..2493ab0b 100755 --- a/model/fscartmodel_gen.go +++ b/model/fscartmodel_gen.go @@ -1,6 +1,6 @@ // Code generated by goctl. DO NOT EDIT. -package model +package gmodel import ( "context" diff --git a/model/fsfaqmodel.go b/model/fsfaqmodel.go index f0651d9e..bd5a58a7 100755 --- a/model/fsfaqmodel.go +++ b/model/fsfaqmodel.go @@ -1,4 +1,4 @@ -package model +package gmodel import "github.com/zeromicro/go-zero/core/stores/sqlx" diff --git a/model/fsfaqmodel_gen.go b/model/fsfaqmodel_gen.go index 9a4c53dd..eec49a39 100755 --- a/model/fsfaqmodel_gen.go +++ b/model/fsfaqmodel_gen.go @@ -1,6 +1,6 @@ // Code generated by goctl. DO NOT EDIT. -package model +package gmodel import ( "context" diff --git a/model/fsfontmodel.go b/model/fsfontmodel.go index 3e168c7d..b0e4995e 100755 --- a/model/fsfontmodel.go +++ b/model/fsfontmodel.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "context" diff --git a/model/fsfontmodel_gen.go b/model/fsfontmodel_gen.go index 69ddeaec..3824f222 100755 --- a/model/fsfontmodel_gen.go +++ b/model/fsfontmodel_gen.go @@ -1,6 +1,6 @@ // Code generated by goctl. DO NOT EDIT. -package model +package gmodel import ( "context" diff --git a/model/fsguestmodel.go b/model/fsguestmodel.go index f3f3dc68..f65c5297 100755 --- a/model/fsguestmodel.go +++ b/model/fsguestmodel.go @@ -1,4 +1,4 @@ -package model +package gmodel import "github.com/zeromicro/go-zero/core/stores/sqlx" diff --git a/model/fsguestmodel_gen.go b/model/fsguestmodel_gen.go index 71e7497c..73ab0905 100755 --- a/model/fsguestmodel_gen.go +++ b/model/fsguestmodel_gen.go @@ -1,6 +1,6 @@ // Code generated by goctl. DO NOT EDIT. -package model +package gmodel import ( "context" diff --git a/model/fsmaplibrarymodel.go b/model/fsmaplibrarymodel.go index c3c7d0e7..65ac3286 100755 --- a/model/fsmaplibrarymodel.go +++ b/model/fsmaplibrarymodel.go @@ -1,4 +1,4 @@ -package model +package gmodel import "github.com/zeromicro/go-zero/core/stores/sqlx" diff --git a/model/fsmaplibrarymodel_gen.go b/model/fsmaplibrarymodel_gen.go index 2b662b7f..ff718cab 100755 --- a/model/fsmaplibrarymodel_gen.go +++ b/model/fsmaplibrarymodel_gen.go @@ -1,6 +1,6 @@ // Code generated by goctl. DO NOT EDIT. -package model +package gmodel import ( "context" diff --git a/model/fsorderdetailmodel.go b/model/fsorderdetailmodel.go index 4947ef9b..2f478196 100755 --- a/model/fsorderdetailmodel.go +++ b/model/fsorderdetailmodel.go @@ -1,4 +1,4 @@ -package model +package gmodel import "github.com/zeromicro/go-zero/core/stores/sqlx" diff --git a/model/fsorderdetailmodel_gen.go b/model/fsorderdetailmodel_gen.go index 6bca48b4..c9580443 100755 --- a/model/fsorderdetailmodel_gen.go +++ b/model/fsorderdetailmodel_gen.go @@ -1,6 +1,6 @@ // Code generated by goctl. DO NOT EDIT. -package model +package gmodel import ( "context" diff --git a/model/fsorderdetailtemplatemodel.go b/model/fsorderdetailtemplatemodel.go index 02fc08a6..5581de7a 100755 --- a/model/fsorderdetailtemplatemodel.go +++ b/model/fsorderdetailtemplatemodel.go @@ -1,4 +1,4 @@ -package model +package gmodel import "github.com/zeromicro/go-zero/core/stores/sqlx" diff --git a/model/fsorderdetailtemplatemodel_gen.go b/model/fsorderdetailtemplatemodel_gen.go index 10f4604e..92560056 100755 --- a/model/fsorderdetailtemplatemodel_gen.go +++ b/model/fsorderdetailtemplatemodel_gen.go @@ -1,6 +1,6 @@ // Code generated by goctl. DO NOT EDIT. -package model +package gmodel import ( "context" diff --git a/model/fsordermodel.go b/model/fsordermodel.go index e4e99c20..3fa53b5c 100755 --- a/model/fsordermodel.go +++ b/model/fsordermodel.go @@ -1,4 +1,4 @@ -package model +package gmodel import "github.com/zeromicro/go-zero/core/stores/sqlx" diff --git a/model/fsordermodel_gen.go b/model/fsordermodel_gen.go index e892bd9f..a24ca87c 100755 --- a/model/fsordermodel_gen.go +++ b/model/fsordermodel_gen.go @@ -1,6 +1,6 @@ // Code generated by goctl. DO NOT EDIT. -package model +package gmodel import ( "context" diff --git a/model/fsproductdesignmodel.go b/model/fsproductdesignmodel.go index 3cc29f6a..bde55439 100755 --- a/model/fsproductdesignmodel.go +++ b/model/fsproductdesignmodel.go @@ -1,4 +1,4 @@ -package model +package gmodel import "github.com/zeromicro/go-zero/core/stores/sqlx" diff --git a/model/fsproductdesignmodel_gen.go b/model/fsproductdesignmodel_gen.go index 60aa26ec..7fb5863d 100755 --- a/model/fsproductdesignmodel_gen.go +++ b/model/fsproductdesignmodel_gen.go @@ -1,6 +1,6 @@ // Code generated by goctl. DO NOT EDIT. -package model +package gmodel import ( "context" diff --git a/model/fsproductmodel.go b/model/fsproductmodel.go index 3db3ba48..6256ad7e 100755 --- a/model/fsproductmodel.go +++ b/model/fsproductmodel.go @@ -1,10 +1,11 @@ -package model +package gmodel import ( "context" "fmt" - "github.com/zeromicro/go-zero/core/stores/sqlx" "strings" + + "github.com/zeromicro/go-zero/core/stores/sqlx" ) var _ FsProductModel = (*customFsProductModel)(nil) diff --git a/model/fsproductmodel3dlightmodel.go b/model/fsproductmodel3dlightmodel.go index 17c41e36..7ad86b0e 100755 --- a/model/fsproductmodel3dlightmodel.go +++ b/model/fsproductmodel3dlightmodel.go @@ -1,10 +1,11 @@ -package model +package gmodel import ( "context" "fmt" - "github.com/zeromicro/go-zero/core/stores/sqlx" "strings" + + "github.com/zeromicro/go-zero/core/stores/sqlx" ) var _ FsProductModel3dLightModel = (*customFsProductModel3dLightModel)(nil) diff --git a/model/fsproductmodel3dlightmodel_gen.go b/model/fsproductmodel3dlightmodel_gen.go index d334c55d..bbdb42bf 100755 --- a/model/fsproductmodel3dlightmodel_gen.go +++ b/model/fsproductmodel3dlightmodel_gen.go @@ -1,6 +1,6 @@ // Code generated by goctl. DO NOT EDIT. -package model +package gmodel import ( "context" diff --git a/model/fsproductmodel3dmodel.go b/model/fsproductmodel3dmodel.go index 9dfb051e..d68ab648 100755 --- a/model/fsproductmodel3dmodel.go +++ b/model/fsproductmodel3dmodel.go @@ -1,10 +1,11 @@ -package model +package gmodel import ( "context" "fmt" - "github.com/zeromicro/go-zero/core/stores/sqlx" "strings" + + "github.com/zeromicro/go-zero/core/stores/sqlx" ) var _ FsProductModel3dModel = (*customFsProductModel3dModel)(nil) diff --git a/model/fsproductmodel3dmodel_gen.go b/model/fsproductmodel3dmodel_gen.go index e45126c7..adbe7cb9 100755 --- a/model/fsproductmodel3dmodel_gen.go +++ b/model/fsproductmodel3dmodel_gen.go @@ -1,6 +1,6 @@ // Code generated by goctl. DO NOT EDIT. -package model +package gmodel import ( "context" diff --git a/model/fsproductmodel_gen.go b/model/fsproductmodel_gen.go index bff1a42e..60510d71 100755 --- a/model/fsproductmodel_gen.go +++ b/model/fsproductmodel_gen.go @@ -1,6 +1,6 @@ // Code generated by goctl. DO NOT EDIT. -package model +package gmodel import ( "context" diff --git a/model/fsproductpricemodel.go b/model/fsproductpricemodel.go index 0a6379dc..5a8739bc 100755 --- a/model/fsproductpricemodel.go +++ b/model/fsproductpricemodel.go @@ -1,11 +1,12 @@ -package model +package gmodel import ( "context" "fmt" + "strings" + "github.com/zeromicro/go-zero/core/stores/sqlc" "github.com/zeromicro/go-zero/core/stores/sqlx" - "strings" ) var _ FsProductPriceModel = (*customFsProductPriceModel)(nil) diff --git a/model/fsproductpricemodel_gen.go b/model/fsproductpricemodel_gen.go index a49bf071..a0f32e13 100755 --- a/model/fsproductpricemodel_gen.go +++ b/model/fsproductpricemodel_gen.go @@ -1,6 +1,6 @@ // Code generated by goctl. DO NOT EDIT. -package model +package gmodel import ( "context" diff --git a/model/fsproductsizemodel.go b/model/fsproductsizemodel.go index ac45e108..291f8afe 100755 --- a/model/fsproductsizemodel.go +++ b/model/fsproductsizemodel.go @@ -1,10 +1,11 @@ -package model +package gmodel import ( "context" "fmt" - "github.com/zeromicro/go-zero/core/stores/sqlx" "strings" + + "github.com/zeromicro/go-zero/core/stores/sqlx" ) var _ FsProductSizeModel = (*customFsProductSizeModel)(nil) diff --git a/model/fsproductsizemodel_gen.go b/model/fsproductsizemodel_gen.go index 7b94b329..49042c2c 100755 --- a/model/fsproductsizemodel_gen.go +++ b/model/fsproductsizemodel_gen.go @@ -1,6 +1,6 @@ // Code generated by goctl. DO NOT EDIT. -package model +package gmodel import ( "context" diff --git a/model/fsproducttemplatetagsmodel.go b/model/fsproducttemplatetagsmodel.go index a9462148..26103d6b 100755 --- a/model/fsproducttemplatetagsmodel.go +++ b/model/fsproducttemplatetagsmodel.go @@ -1,8 +1,9 @@ -package model +package gmodel import ( "context" "fmt" + "github.com/zeromicro/go-zero/core/stores/sqlx" ) diff --git a/model/fsproducttemplatetagsmodel_gen.go b/model/fsproducttemplatetagsmodel_gen.go index 90a484c9..1cfc8d47 100755 --- a/model/fsproducttemplatetagsmodel_gen.go +++ b/model/fsproducttemplatetagsmodel_gen.go @@ -1,6 +1,6 @@ // Code generated by goctl. DO NOT EDIT. -package model +package gmodel import ( "context" diff --git a/model/fsproducttemplatev2model.go b/model/fsproducttemplatev2model.go index bf4220c8..99177b02 100755 --- a/model/fsproducttemplatev2model.go +++ b/model/fsproducttemplatev2model.go @@ -1,10 +1,11 @@ -package model +package gmodel import ( "context" "fmt" - "github.com/zeromicro/go-zero/core/stores/sqlx" "strings" + + "github.com/zeromicro/go-zero/core/stores/sqlx" ) var _ FsProductTemplateV2Model = (*customFsProductTemplateV2Model)(nil) diff --git a/model/fsproducttemplatev2model_gen.go b/model/fsproducttemplatev2model_gen.go index ddeff507..a93cada9 100755 --- a/model/fsproducttemplatev2model_gen.go +++ b/model/fsproducttemplatev2model_gen.go @@ -1,6 +1,6 @@ // Code generated by goctl. DO NOT EDIT. -package model +package gmodel import ( "context" diff --git a/model/fsqrcodesetmodel.go b/model/fsqrcodesetmodel.go index 88567ee7..88d9f1d8 100755 --- a/model/fsqrcodesetmodel.go +++ b/model/fsqrcodesetmodel.go @@ -1,8 +1,9 @@ -package model +package gmodel import ( "context" "fmt" + "github.com/zeromicro/go-zero/core/stores/sqlx" ) diff --git a/model/fsqrcodesetmodel_gen.go b/model/fsqrcodesetmodel_gen.go index cbeb3ade..8587b3fd 100755 --- a/model/fsqrcodesetmodel_gen.go +++ b/model/fsqrcodesetmodel_gen.go @@ -1,6 +1,6 @@ // Code generated by goctl. DO NOT EDIT. -package model +package gmodel import ( "context" diff --git a/model/fsstandardlogomodel.go b/model/fsstandardlogomodel.go index 6a6c05b8..1595b0d0 100755 --- a/model/fsstandardlogomodel.go +++ b/model/fsstandardlogomodel.go @@ -1,8 +1,9 @@ -package model +package gmodel import ( "context" "fmt" + "github.com/zeromicro/go-zero/core/stores/sqlx" ) diff --git a/model/fsstandardlogomodel_gen.go b/model/fsstandardlogomodel_gen.go index df8aaecd..2613219f 100755 --- a/model/fsstandardlogomodel_gen.go +++ b/model/fsstandardlogomodel_gen.go @@ -1,6 +1,6 @@ // Code generated by goctl. DO NOT EDIT. -package model +package gmodel import ( "context" diff --git a/model/fstagsmodel.go b/model/fstagsmodel.go index ab53637c..106ac67b 100755 --- a/model/fstagsmodel.go +++ b/model/fstagsmodel.go @@ -1,10 +1,11 @@ -package model +package gmodel import ( "context" "fmt" - "github.com/zeromicro/go-zero/core/stores/sqlx" "strings" + + "github.com/zeromicro/go-zero/core/stores/sqlx" ) var _ FsTagsModel = (*customFsTagsModel)(nil) diff --git a/model/fstagsmodel_gen.go b/model/fstagsmodel_gen.go index 7f3e7455..37c549b1 100755 --- a/model/fstagsmodel_gen.go +++ b/model/fstagsmodel_gen.go @@ -1,6 +1,6 @@ // Code generated by goctl. DO NOT EDIT. -package model +package gmodel import ( "context" diff --git a/model/fsusermodel.go b/model/fsusermodel.go index ad370750..0b785145 100755 --- a/model/fsusermodel.go +++ b/model/fsusermodel.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "context" diff --git a/model/fsusermodel_gen.go b/model/fsusermodel_gen.go index f8c8f646..6163da66 100755 --- a/model/fsusermodel_gen.go +++ b/model/fsusermodel_gen.go @@ -1,6 +1,6 @@ // Code generated by goctl. DO NOT EDIT. -package model +package gmodel import ( "context" diff --git a/model/gmodel/fs_address_logic.go b/model/gmodel/fs_address_logic.go index c8bf6600..818a2df3 100755 --- a/model/gmodel/fs_address_logic.go +++ b/model/gmodel/fs_address_logic.go @@ -3,6 +3,7 @@ package gmodel import ( "context" "errors" + "gorm.io/gorm" ) diff --git a/model/gmodel/fs_guest_logic.go b/model/gmodel/fs_guest_logic.go index 5ecaedd0..43d194a9 100755 --- a/model/gmodel/fs_guest_logic.go +++ b/model/gmodel/fs_guest_logic.go @@ -3,9 +3,10 @@ package gmodel import ( "context" "fusenapi/utils/auth" + "time" + "github.com/zeromicro/go-zero/core/logx" "gorm.io/gorm" - "time" ) func (m *FsGuestModel) GenerateGuestID(ctx context.Context, AccessSecret *string) (authKey string, err error) { diff --git a/model/gmodel/fs_order_logic.go b/model/gmodel/fs_order_logic.go index 967dc122..ed30cc0c 100755 --- a/model/gmodel/fs_order_logic.go +++ b/model/gmodel/fs_order_logic.go @@ -3,6 +3,7 @@ package gmodel import ( "context" "errors" + "gorm.io/gorm" ) diff --git a/model/gmodel/fs_product_design_logic.go b/model/gmodel/fs_product_design_logic.go index 819c0074..a428e14a 100755 --- a/model/gmodel/fs_product_design_logic.go +++ b/model/gmodel/fs_product_design_logic.go @@ -3,6 +3,7 @@ package gmodel import ( "context" "errors" + "gorm.io/gorm" ) diff --git a/model/gmodel/fs_product_price_logic.go b/model/gmodel/fs_product_price_logic.go index b36a7790..f890b324 100755 --- a/model/gmodel/fs_product_price_logic.go +++ b/model/gmodel/fs_product_price_logic.go @@ -3,6 +3,7 @@ package gmodel import ( "context" "errors" + "gorm.io/gorm" ) diff --git a/model/gmodel/fs_qrcode_set_logic.go b/model/gmodel/fs_qrcode_set_logic.go index efad4008..47744fa6 100755 --- a/model/gmodel/fs_qrcode_set_logic.go +++ b/model/gmodel/fs_qrcode_set_logic.go @@ -3,6 +3,7 @@ package gmodel import ( "context" "errors" + "gorm.io/gorm" ) diff --git a/model/gmodel/fs_tags_logic.go b/model/gmodel/fs_tags_logic.go index 5cdf6c55..edcc9e4b 100755 --- a/model/gmodel/fs_tags_logic.go +++ b/model/gmodel/fs_tags_logic.go @@ -3,6 +3,7 @@ package gmodel import ( "context" "errors" + "gorm.io/gorm" ) diff --git a/model/gmodel_gen/fs_address_gen.go b/model/gmodel_gen/fs_address_gen.go index c7e7d94e..3d46b345 100644 --- a/model/gmodel_gen/fs_address_gen.go +++ b/model/gmodel_gen/fs_address_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_address_logic.go b/model/gmodel_gen/fs_address_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_address_logic.go +++ b/model/gmodel_gen/fs_address_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_auth_assignment_gen.go b/model/gmodel_gen/fs_auth_assignment_gen.go index 74e938dd..ca758122 100644 --- a/model/gmodel_gen/fs_auth_assignment_gen.go +++ b/model/gmodel_gen/fs_auth_assignment_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_auth_assignment_logic.go b/model/gmodel_gen/fs_auth_assignment_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_auth_assignment_logic.go +++ b/model/gmodel_gen/fs_auth_assignment_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_auth_item_child_gen.go b/model/gmodel_gen/fs_auth_item_child_gen.go index 2dba08c4..a1bb0a22 100644 --- a/model/gmodel_gen/fs_auth_item_child_gen.go +++ b/model/gmodel_gen/fs_auth_item_child_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_auth_item_child_logic.go b/model/gmodel_gen/fs_auth_item_child_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_auth_item_child_logic.go +++ b/model/gmodel_gen/fs_auth_item_child_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_auth_item_gen.go b/model/gmodel_gen/fs_auth_item_gen.go index 67abc7bb..825782cb 100644 --- a/model/gmodel_gen/fs_auth_item_gen.go +++ b/model/gmodel_gen/fs_auth_item_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_auth_item_logic.go b/model/gmodel_gen/fs_auth_item_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_auth_item_logic.go +++ b/model/gmodel_gen/fs_auth_item_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_auth_rule_gen.go b/model/gmodel_gen/fs_auth_rule_gen.go index f31805a0..f19b43b0 100644 --- a/model/gmodel_gen/fs_auth_rule_gen.go +++ b/model/gmodel_gen/fs_auth_rule_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_auth_rule_logic.go b/model/gmodel_gen/fs_auth_rule_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_auth_rule_logic.go +++ b/model/gmodel_gen/fs_auth_rule_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_canteen_product_gen.go b/model/gmodel_gen/fs_canteen_product_gen.go index 85f3651f..1a0a2cc2 100644 --- a/model/gmodel_gen/fs_canteen_product_gen.go +++ b/model/gmodel_gen/fs_canteen_product_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_canteen_product_logic.go b/model/gmodel_gen/fs_canteen_product_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_canteen_product_logic.go +++ b/model/gmodel_gen/fs_canteen_product_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_canteen_type_gen.go b/model/gmodel_gen/fs_canteen_type_gen.go index 9ee941d5..f9bc7146 100644 --- a/model/gmodel_gen/fs_canteen_type_gen.go +++ b/model/gmodel_gen/fs_canteen_type_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_canteen_type_logic.go b/model/gmodel_gen/fs_canteen_type_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_canteen_type_logic.go +++ b/model/gmodel_gen/fs_canteen_type_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_card_gen.go b/model/gmodel_gen/fs_card_gen.go index c428b4ee..76c3ee35 100644 --- a/model/gmodel_gen/fs_card_gen.go +++ b/model/gmodel_gen/fs_card_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_card_group_gen.go b/model/gmodel_gen/fs_card_group_gen.go index f7a5ef74..55423d7b 100644 --- a/model/gmodel_gen/fs_card_group_gen.go +++ b/model/gmodel_gen/fs_card_group_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_card_group_logic.go b/model/gmodel_gen/fs_card_group_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_card_group_logic.go +++ b/model/gmodel_gen/fs_card_group_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_card_logic.go b/model/gmodel_gen/fs_card_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_card_logic.go +++ b/model/gmodel_gen/fs_card_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_cart_gen.go b/model/gmodel_gen/fs_cart_gen.go index 13a002b7..9858de1d 100644 --- a/model/gmodel_gen/fs_cart_gen.go +++ b/model/gmodel_gen/fs_cart_gen.go @@ -1,8 +1,9 @@ -package model +package gmodel import ( - "gorm.io/gorm" "time" + + "gorm.io/gorm" ) // fs_cart 购物车 diff --git a/model/gmodel_gen/fs_cart_logic.go b/model/gmodel_gen/fs_cart_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_cart_logic.go +++ b/model/gmodel_gen/fs_cart_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_change_code_gen.go b/model/gmodel_gen/fs_change_code_gen.go index 2a1ada5a..efa3cd89 100644 --- a/model/gmodel_gen/fs_change_code_gen.go +++ b/model/gmodel_gen/fs_change_code_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_change_code_logic.go b/model/gmodel_gen/fs_change_code_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_change_code_logic.go +++ b/model/gmodel_gen/fs_change_code_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_cloud_deliver_every_tmp_gen.go b/model/gmodel_gen/fs_cloud_deliver_every_tmp_gen.go index 983d1b11..74e415c8 100644 --- a/model/gmodel_gen/fs_cloud_deliver_every_tmp_gen.go +++ b/model/gmodel_gen/fs_cloud_deliver_every_tmp_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_cloud_deliver_every_tmp_logic.go b/model/gmodel_gen/fs_cloud_deliver_every_tmp_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_cloud_deliver_every_tmp_logic.go +++ b/model/gmodel_gen/fs_cloud_deliver_every_tmp_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_cloud_deliver_tmp_gen.go b/model/gmodel_gen/fs_cloud_deliver_tmp_gen.go index da7cf6a6..f4913741 100644 --- a/model/gmodel_gen/fs_cloud_deliver_tmp_gen.go +++ b/model/gmodel_gen/fs_cloud_deliver_tmp_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_cloud_deliver_tmp_logic.go b/model/gmodel_gen/fs_cloud_deliver_tmp_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_cloud_deliver_tmp_logic.go +++ b/model/gmodel_gen/fs_cloud_deliver_tmp_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_cloud_gen.go b/model/gmodel_gen/fs_cloud_gen.go index 48402f65..11a4a93c 100644 --- a/model/gmodel_gen/fs_cloud_gen.go +++ b/model/gmodel_gen/fs_cloud_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_cloud_logic.go b/model/gmodel_gen/fs_cloud_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_cloud_logic.go +++ b/model/gmodel_gen/fs_cloud_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_cloud_pick_up_detail_gen.go b/model/gmodel_gen/fs_cloud_pick_up_detail_gen.go index f5dabb55..cd29f6b4 100644 --- a/model/gmodel_gen/fs_cloud_pick_up_detail_gen.go +++ b/model/gmodel_gen/fs_cloud_pick_up_detail_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_cloud_pick_up_detail_logic.go b/model/gmodel_gen/fs_cloud_pick_up_detail_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_cloud_pick_up_detail_logic.go +++ b/model/gmodel_gen/fs_cloud_pick_up_detail_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_cloud_pick_up_gen.go b/model/gmodel_gen/fs_cloud_pick_up_gen.go index 4e7c0673..b7130476 100644 --- a/model/gmodel_gen/fs_cloud_pick_up_gen.go +++ b/model/gmodel_gen/fs_cloud_pick_up_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_cloud_pick_up_logic.go b/model/gmodel_gen/fs_cloud_pick_up_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_cloud_pick_up_logic.go +++ b/model/gmodel_gen/fs_cloud_pick_up_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_cloud_receive_every_gen.go b/model/gmodel_gen/fs_cloud_receive_every_gen.go index 2963cf67..03c1494f 100644 --- a/model/gmodel_gen/fs_cloud_receive_every_gen.go +++ b/model/gmodel_gen/fs_cloud_receive_every_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_cloud_receive_every_logic.go b/model/gmodel_gen/fs_cloud_receive_every_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_cloud_receive_every_logic.go +++ b/model/gmodel_gen/fs_cloud_receive_every_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_cloud_receive_gen.go b/model/gmodel_gen/fs_cloud_receive_gen.go index a169e1ab..632502d4 100644 --- a/model/gmodel_gen/fs_cloud_receive_gen.go +++ b/model/gmodel_gen/fs_cloud_receive_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_cloud_receive_logic.go b/model/gmodel_gen/fs_cloud_receive_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_cloud_receive_logic.go +++ b/model/gmodel_gen/fs_cloud_receive_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_cloud_render_log_gen.go b/model/gmodel_gen/fs_cloud_render_log_gen.go index a0a38170..56f1965e 100644 --- a/model/gmodel_gen/fs_cloud_render_log_gen.go +++ b/model/gmodel_gen/fs_cloud_render_log_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_cloud_render_log_logic.go b/model/gmodel_gen/fs_cloud_render_log_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_cloud_render_log_logic.go +++ b/model/gmodel_gen/fs_cloud_render_log_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_cloud_user_apply_back_gen.go b/model/gmodel_gen/fs_cloud_user_apply_back_gen.go index 9db1f271..16ac1039 100644 --- a/model/gmodel_gen/fs_cloud_user_apply_back_gen.go +++ b/model/gmodel_gen/fs_cloud_user_apply_back_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_cloud_user_apply_back_logic.go b/model/gmodel_gen/fs_cloud_user_apply_back_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_cloud_user_apply_back_logic.go +++ b/model/gmodel_gen/fs_cloud_user_apply_back_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_contact_gen.go b/model/gmodel_gen/fs_contact_gen.go index 91420bb5..70a7ebc0 100644 --- a/model/gmodel_gen/fs_contact_gen.go +++ b/model/gmodel_gen/fs_contact_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_contact_logic.go b/model/gmodel_gen/fs_contact_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_contact_logic.go +++ b/model/gmodel_gen/fs_contact_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_contact_service_gen.go b/model/gmodel_gen/fs_contact_service_gen.go index fefb4bee..ed4c79cd 100644 --- a/model/gmodel_gen/fs_contact_service_gen.go +++ b/model/gmodel_gen/fs_contact_service_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_contact_service_logic.go b/model/gmodel_gen/fs_contact_service_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_contact_service_logic.go +++ b/model/gmodel_gen/fs_contact_service_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_coupon_gen.go b/model/gmodel_gen/fs_coupon_gen.go index 37478ae8..6a6ceb02 100644 --- a/model/gmodel_gen/fs_coupon_gen.go +++ b/model/gmodel_gen/fs_coupon_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_coupon_logic.go b/model/gmodel_gen/fs_coupon_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_coupon_logic.go +++ b/model/gmodel_gen/fs_coupon_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_deliver_every_gen.go b/model/gmodel_gen/fs_deliver_every_gen.go index 7a5eba72..bb66e5f0 100644 --- a/model/gmodel_gen/fs_deliver_every_gen.go +++ b/model/gmodel_gen/fs_deliver_every_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_deliver_every_logic.go b/model/gmodel_gen/fs_deliver_every_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_deliver_every_logic.go +++ b/model/gmodel_gen/fs_deliver_every_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_deliver_gen.go b/model/gmodel_gen/fs_deliver_gen.go index 83329e98..022d4e48 100644 --- a/model/gmodel_gen/fs_deliver_gen.go +++ b/model/gmodel_gen/fs_deliver_gen.go @@ -1,8 +1,9 @@ -package model +package gmodel import ( - "gorm.io/gorm" "time" + + "gorm.io/gorm" ) // fs_deliver 发货表 云仓 直发 通用(已废弃) diff --git a/model/gmodel_gen/fs_deliver_logic.go b/model/gmodel_gen/fs_deliver_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_deliver_logic.go +++ b/model/gmodel_gen/fs_deliver_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_department_gen.go b/model/gmodel_gen/fs_department_gen.go index cd917ca6..49c969fe 100644 --- a/model/gmodel_gen/fs_department_gen.go +++ b/model/gmodel_gen/fs_department_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_department_logic.go b/model/gmodel_gen/fs_department_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_department_logic.go +++ b/model/gmodel_gen/fs_department_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_email_logs_gen.go b/model/gmodel_gen/fs_email_logs_gen.go index d122627d..ad46cce5 100644 --- a/model/gmodel_gen/fs_email_logs_gen.go +++ b/model/gmodel_gen/fs_email_logs_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_email_logs_logic.go b/model/gmodel_gen/fs_email_logs_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_email_logs_logic.go +++ b/model/gmodel_gen/fs_email_logs_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_email_template_gen.go b/model/gmodel_gen/fs_email_template_gen.go index d3543ec3..35f10981 100644 --- a/model/gmodel_gen/fs_email_template_gen.go +++ b/model/gmodel_gen/fs_email_template_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_email_template_logic.go b/model/gmodel_gen/fs_email_template_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_email_template_logic.go +++ b/model/gmodel_gen/fs_email_template_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_factory_deliver_every_gen.go b/model/gmodel_gen/fs_factory_deliver_every_gen.go index b84c9e57..1649a2a6 100644 --- a/model/gmodel_gen/fs_factory_deliver_every_gen.go +++ b/model/gmodel_gen/fs_factory_deliver_every_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_factory_deliver_every_logic.go b/model/gmodel_gen/fs_factory_deliver_every_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_factory_deliver_every_logic.go +++ b/model/gmodel_gen/fs_factory_deliver_every_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_factory_deliver_gen.go b/model/gmodel_gen/fs_factory_deliver_gen.go index 3619fced..def536db 100644 --- a/model/gmodel_gen/fs_factory_deliver_gen.go +++ b/model/gmodel_gen/fs_factory_deliver_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_factory_deliver_logic.go b/model/gmodel_gen/fs_factory_deliver_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_factory_deliver_logic.go +++ b/model/gmodel_gen/fs_factory_deliver_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_factory_gen.go b/model/gmodel_gen/fs_factory_gen.go index d4a4e15b..a8e0a150 100644 --- a/model/gmodel_gen/fs_factory_gen.go +++ b/model/gmodel_gen/fs_factory_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_factory_logic.go b/model/gmodel_gen/fs_factory_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_factory_logic.go +++ b/model/gmodel_gen/fs_factory_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_factory_product_gen.go b/model/gmodel_gen/fs_factory_product_gen.go index bbfd25e8..94c35c5e 100644 --- a/model/gmodel_gen/fs_factory_product_gen.go +++ b/model/gmodel_gen/fs_factory_product_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_factory_product_logic.go b/model/gmodel_gen/fs_factory_product_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_factory_product_logic.go +++ b/model/gmodel_gen/fs_factory_product_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_factory_ship_tmp_gen.go b/model/gmodel_gen/fs_factory_ship_tmp_gen.go index 884b4466..98317fee 100644 --- a/model/gmodel_gen/fs_factory_ship_tmp_gen.go +++ b/model/gmodel_gen/fs_factory_ship_tmp_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_factory_ship_tmp_logic.go b/model/gmodel_gen/fs_factory_ship_tmp_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_factory_ship_tmp_logic.go +++ b/model/gmodel_gen/fs_factory_ship_tmp_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_faq_gen.go b/model/gmodel_gen/fs_faq_gen.go index a320ecf9..34544097 100644 --- a/model/gmodel_gen/fs_faq_gen.go +++ b/model/gmodel_gen/fs_faq_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_faq_logic.go b/model/gmodel_gen/fs_faq_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_faq_logic.go +++ b/model/gmodel_gen/fs_faq_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_font_gen.go b/model/gmodel_gen/fs_font_gen.go index 9a384e56..699027bc 100644 --- a/model/gmodel_gen/fs_font_gen.go +++ b/model/gmodel_gen/fs_font_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_font_logic.go b/model/gmodel_gen/fs_font_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_font_logic.go +++ b/model/gmodel_gen/fs_font_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_gerent_gen.go b/model/gmodel_gen/fs_gerent_gen.go index 4a216478..f2961c31 100644 --- a/model/gmodel_gen/fs_gerent_gen.go +++ b/model/gmodel_gen/fs_gerent_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_gerent_logic.go b/model/gmodel_gen/fs_gerent_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_gerent_logic.go +++ b/model/gmodel_gen/fs_gerent_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_guest_gen.go b/model/gmodel_gen/fs_guest_gen.go index d6308479..44a119a4 100644 --- a/model/gmodel_gen/fs_guest_gen.go +++ b/model/gmodel_gen/fs_guest_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_guest_logic.go b/model/gmodel_gen/fs_guest_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_guest_logic.go +++ b/model/gmodel_gen/fs_guest_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_log_gen.go b/model/gmodel_gen/fs_log_gen.go index 79643877..1d556787 100644 --- a/model/gmodel_gen/fs_log_gen.go +++ b/model/gmodel_gen/fs_log_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_log_logic.go b/model/gmodel_gen/fs_log_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_log_logic.go +++ b/model/gmodel_gen/fs_log_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_map_library_gen.go b/model/gmodel_gen/fs_map_library_gen.go index ca7d0b07..c787ab3e 100644 --- a/model/gmodel_gen/fs_map_library_gen.go +++ b/model/gmodel_gen/fs_map_library_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_map_library_logic.go b/model/gmodel_gen/fs_map_library_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_map_library_logic.go +++ b/model/gmodel_gen/fs_map_library_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_menu_gen.go b/model/gmodel_gen/fs_menu_gen.go index d93bd60d..8d2a5529 100644 --- a/model/gmodel_gen/fs_menu_gen.go +++ b/model/gmodel_gen/fs_menu_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_menu_logic.go b/model/gmodel_gen/fs_menu_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_menu_logic.go +++ b/model/gmodel_gen/fs_menu_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_migration_gen.go b/model/gmodel_gen/fs_migration_gen.go index 0b486900..cc081485 100644 --- a/model/gmodel_gen/fs_migration_gen.go +++ b/model/gmodel_gen/fs_migration_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_migration_logic.go b/model/gmodel_gen/fs_migration_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_migration_logic.go +++ b/model/gmodel_gen/fs_migration_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_order_affiliate_gen.go b/model/gmodel_gen/fs_order_affiliate_gen.go index 7aec8632..398e819f 100644 --- a/model/gmodel_gen/fs_order_affiliate_gen.go +++ b/model/gmodel_gen/fs_order_affiliate_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_order_affiliate_logic.go b/model/gmodel_gen/fs_order_affiliate_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_order_affiliate_logic.go +++ b/model/gmodel_gen/fs_order_affiliate_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_order_detail_gen.go b/model/gmodel_gen/fs_order_detail_gen.go index c6c5a75f..400d04b8 100644 --- a/model/gmodel_gen/fs_order_detail_gen.go +++ b/model/gmodel_gen/fs_order_detail_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_order_detail_logic.go b/model/gmodel_gen/fs_order_detail_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_order_detail_logic.go +++ b/model/gmodel_gen/fs_order_detail_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_order_detail_template_gen.go b/model/gmodel_gen/fs_order_detail_template_gen.go index ca1839c2..0ad70e33 100644 --- a/model/gmodel_gen/fs_order_detail_template_gen.go +++ b/model/gmodel_gen/fs_order_detail_template_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_order_detail_template_logic.go b/model/gmodel_gen/fs_order_detail_template_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_order_detail_template_logic.go +++ b/model/gmodel_gen/fs_order_detail_template_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_order_gen.go b/model/gmodel_gen/fs_order_gen.go index 0042987d..562dc0d4 100644 --- a/model/gmodel_gen/fs_order_gen.go +++ b/model/gmodel_gen/fs_order_gen.go @@ -1,8 +1,9 @@ -package model +package gmodel import ( - "gorm.io/gorm" "time" + + "gorm.io/gorm" ) // fs_order diff --git a/model/gmodel_gen/fs_order_logic.go b/model/gmodel_gen/fs_order_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_order_logic.go +++ b/model/gmodel_gen/fs_order_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_order_remark_gen.go b/model/gmodel_gen/fs_order_remark_gen.go index 1acaf57c..47f13d27 100644 --- a/model/gmodel_gen/fs_order_remark_gen.go +++ b/model/gmodel_gen/fs_order_remark_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_order_remark_logic.go b/model/gmodel_gen/fs_order_remark_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_order_remark_logic.go +++ b/model/gmodel_gen/fs_order_remark_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_pay_gen.go b/model/gmodel_gen/fs_pay_gen.go index 55ff9e8d..36bcb0b1 100644 --- a/model/gmodel_gen/fs_pay_gen.go +++ b/model/gmodel_gen/fs_pay_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_pay_logic.go b/model/gmodel_gen/fs_pay_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_pay_logic.go +++ b/model/gmodel_gen/fs_pay_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_product_copy1_gen.go b/model/gmodel_gen/fs_product_copy1_gen.go index b1a8ee71..f18a8332 100644 --- a/model/gmodel_gen/fs_product_copy1_gen.go +++ b/model/gmodel_gen/fs_product_copy1_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_product_copy1_logic.go b/model/gmodel_gen/fs_product_copy1_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_product_copy1_logic.go +++ b/model/gmodel_gen/fs_product_copy1_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_product_design_gather_gen.go b/model/gmodel_gen/fs_product_design_gather_gen.go index 0f350ef0..dbe10aa8 100644 --- a/model/gmodel_gen/fs_product_design_gather_gen.go +++ b/model/gmodel_gen/fs_product_design_gather_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_product_design_gather_logic.go b/model/gmodel_gen/fs_product_design_gather_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_product_design_gather_logic.go +++ b/model/gmodel_gen/fs_product_design_gather_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_product_design_gen.go b/model/gmodel_gen/fs_product_design_gen.go index 5129c235..288f401e 100644 --- a/model/gmodel_gen/fs_product_design_gen.go +++ b/model/gmodel_gen/fs_product_design_gen.go @@ -1,8 +1,9 @@ -package model +package gmodel import ( - "gorm.io/gorm" "time" + + "gorm.io/gorm" ) // fs_product_design 产品设计表 diff --git a/model/gmodel_gen/fs_product_design_logic.go b/model/gmodel_gen/fs_product_design_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_product_design_logic.go +++ b/model/gmodel_gen/fs_product_design_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_product_gen.go b/model/gmodel_gen/fs_product_gen.go index 18e29b25..fe94fbfe 100644 --- a/model/gmodel_gen/fs_product_gen.go +++ b/model/gmodel_gen/fs_product_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_product_logic.go b/model/gmodel_gen/fs_product_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_product_logic.go +++ b/model/gmodel_gen/fs_product_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_product_model3d_gen.go b/model/gmodel_gen/fs_product_model3d_gen.go index d6014ac1..35f7518a 100644 --- a/model/gmodel_gen/fs_product_model3d_gen.go +++ b/model/gmodel_gen/fs_product_model3d_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_product_model3d_light_gen.go b/model/gmodel_gen/fs_product_model3d_light_gen.go index fd4a24ae..10830e49 100644 --- a/model/gmodel_gen/fs_product_model3d_light_gen.go +++ b/model/gmodel_gen/fs_product_model3d_light_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_product_model3d_light_logic.go b/model/gmodel_gen/fs_product_model3d_light_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_product_model3d_light_logic.go +++ b/model/gmodel_gen/fs_product_model3d_light_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_product_model3d_logic.go b/model/gmodel_gen/fs_product_model3d_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_product_model3d_logic.go +++ b/model/gmodel_gen/fs_product_model3d_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_product_option_gen.go b/model/gmodel_gen/fs_product_option_gen.go index f79e5de7..40162f06 100644 --- a/model/gmodel_gen/fs_product_option_gen.go +++ b/model/gmodel_gen/fs_product_option_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_product_option_logic.go b/model/gmodel_gen/fs_product_option_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_product_option_logic.go +++ b/model/gmodel_gen/fs_product_option_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_product_price_gen.go b/model/gmodel_gen/fs_product_price_gen.go index 56cfe87b..5c9a42d2 100644 --- a/model/gmodel_gen/fs_product_price_gen.go +++ b/model/gmodel_gen/fs_product_price_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_product_price_logic.go b/model/gmodel_gen/fs_product_price_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_product_price_logic.go +++ b/model/gmodel_gen/fs_product_price_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_product_render_design_gen.go b/model/gmodel_gen/fs_product_render_design_gen.go index f9feafb9..c7958d1e 100644 --- a/model/gmodel_gen/fs_product_render_design_gen.go +++ b/model/gmodel_gen/fs_product_render_design_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_product_render_design_logic.go b/model/gmodel_gen/fs_product_render_design_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_product_render_design_logic.go +++ b/model/gmodel_gen/fs_product_render_design_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_product_scene_gen.go b/model/gmodel_gen/fs_product_scene_gen.go index 0796fac3..323f5d11 100644 --- a/model/gmodel_gen/fs_product_scene_gen.go +++ b/model/gmodel_gen/fs_product_scene_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_product_scene_logic.go b/model/gmodel_gen/fs_product_scene_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_product_scene_logic.go +++ b/model/gmodel_gen/fs_product_scene_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_product_size_gen.go b/model/gmodel_gen/fs_product_size_gen.go index 7dbc8006..e0d12cba 100644 --- a/model/gmodel_gen/fs_product_size_gen.go +++ b/model/gmodel_gen/fs_product_size_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_product_size_logic.go b/model/gmodel_gen/fs_product_size_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_product_size_logic.go +++ b/model/gmodel_gen/fs_product_size_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_product_template_basemap_gen.go b/model/gmodel_gen/fs_product_template_basemap_gen.go index 11c84a36..f128357c 100644 --- a/model/gmodel_gen/fs_product_template_basemap_gen.go +++ b/model/gmodel_gen/fs_product_template_basemap_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_product_template_basemap_logic.go b/model/gmodel_gen/fs_product_template_basemap_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_product_template_basemap_logic.go +++ b/model/gmodel_gen/fs_product_template_basemap_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_product_template_element_gen.go b/model/gmodel_gen/fs_product_template_element_gen.go index dc1179ea..a14b15d9 100644 --- a/model/gmodel_gen/fs_product_template_element_gen.go +++ b/model/gmodel_gen/fs_product_template_element_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_product_template_element_logic.go b/model/gmodel_gen/fs_product_template_element_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_product_template_element_logic.go +++ b/model/gmodel_gen/fs_product_template_element_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_product_template_gen.go b/model/gmodel_gen/fs_product_template_gen.go index 579aa022..c14c96b3 100644 --- a/model/gmodel_gen/fs_product_template_gen.go +++ b/model/gmodel_gen/fs_product_template_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_product_template_logic.go b/model/gmodel_gen/fs_product_template_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_product_template_logic.go +++ b/model/gmodel_gen/fs_product_template_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_product_template_tags_gen.go b/model/gmodel_gen/fs_product_template_tags_gen.go index 796e7f92..ffd68afc 100644 --- a/model/gmodel_gen/fs_product_template_tags_gen.go +++ b/model/gmodel_gen/fs_product_template_tags_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_product_template_tags_logic.go b/model/gmodel_gen/fs_product_template_tags_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_product_template_tags_logic.go +++ b/model/gmodel_gen/fs_product_template_tags_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_product_template_v2_gen.go b/model/gmodel_gen/fs_product_template_v2_gen.go index f05bc728..8585de1c 100644 --- a/model/gmodel_gen/fs_product_template_v2_gen.go +++ b/model/gmodel_gen/fs_product_template_v2_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_product_template_v2_logic.go b/model/gmodel_gen/fs_product_template_v2_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_product_template_v2_logic.go +++ b/model/gmodel_gen/fs_product_template_v2_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_product_v2_tmp_gen.go b/model/gmodel_gen/fs_product_v2_tmp_gen.go index 7f56cfa7..2bfd9df1 100644 --- a/model/gmodel_gen/fs_product_v2_tmp_gen.go +++ b/model/gmodel_gen/fs_product_v2_tmp_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_product_v2_tmp_logic.go b/model/gmodel_gen/fs_product_v2_tmp_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_product_v2_tmp_logic.go +++ b/model/gmodel_gen/fs_product_v2_tmp_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_qrcode_gen.go b/model/gmodel_gen/fs_qrcode_gen.go index 86200a08..79144590 100644 --- a/model/gmodel_gen/fs_qrcode_gen.go +++ b/model/gmodel_gen/fs_qrcode_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_qrcode_log_gen.go b/model/gmodel_gen/fs_qrcode_log_gen.go index f1959e0f..d51f8e08 100644 --- a/model/gmodel_gen/fs_qrcode_log_gen.go +++ b/model/gmodel_gen/fs_qrcode_log_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_qrcode_log_logic.go b/model/gmodel_gen/fs_qrcode_log_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_qrcode_log_logic.go +++ b/model/gmodel_gen/fs_qrcode_log_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_qrcode_logic.go b/model/gmodel_gen/fs_qrcode_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_qrcode_logic.go +++ b/model/gmodel_gen/fs_qrcode_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_qrcode_set_gen.go b/model/gmodel_gen/fs_qrcode_set_gen.go index 680264f5..dad6b182 100644 --- a/model/gmodel_gen/fs_qrcode_set_gen.go +++ b/model/gmodel_gen/fs_qrcode_set_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_qrcode_set_logic.go b/model/gmodel_gen/fs_qrcode_set_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_qrcode_set_logic.go +++ b/model/gmodel_gen/fs_qrcode_set_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_qrcode_user_gen.go b/model/gmodel_gen/fs_qrcode_user_gen.go index 64e74c47..9cb1e9b0 100644 --- a/model/gmodel_gen/fs_qrcode_user_gen.go +++ b/model/gmodel_gen/fs_qrcode_user_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_qrcode_user_logic.go b/model/gmodel_gen/fs_qrcode_user_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_qrcode_user_logic.go +++ b/model/gmodel_gen/fs_qrcode_user_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_quotation_gen.go b/model/gmodel_gen/fs_quotation_gen.go index 0467b797..32d122ca 100644 --- a/model/gmodel_gen/fs_quotation_gen.go +++ b/model/gmodel_gen/fs_quotation_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_quotation_logic.go b/model/gmodel_gen/fs_quotation_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_quotation_logic.go +++ b/model/gmodel_gen/fs_quotation_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_quotation_product_gen.go b/model/gmodel_gen/fs_quotation_product_gen.go index 51c1b8a5..e21a7abb 100644 --- a/model/gmodel_gen/fs_quotation_product_gen.go +++ b/model/gmodel_gen/fs_quotation_product_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_quotation_product_logic.go b/model/gmodel_gen/fs_quotation_product_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_quotation_product_logic.go +++ b/model/gmodel_gen/fs_quotation_product_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_quotation_remark_template_gen.go b/model/gmodel_gen/fs_quotation_remark_template_gen.go index b10aa18d..7b44a692 100644 --- a/model/gmodel_gen/fs_quotation_remark_template_gen.go +++ b/model/gmodel_gen/fs_quotation_remark_template_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_quotation_remark_template_logic.go b/model/gmodel_gen/fs_quotation_remark_template_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_quotation_remark_template_logic.go +++ b/model/gmodel_gen/fs_quotation_remark_template_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_quotation_saler_gen.go b/model/gmodel_gen/fs_quotation_saler_gen.go index 0e678fb6..54d52f4d 100644 --- a/model/gmodel_gen/fs_quotation_saler_gen.go +++ b/model/gmodel_gen/fs_quotation_saler_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_quotation_saler_logic.go b/model/gmodel_gen/fs_quotation_saler_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_quotation_saler_logic.go +++ b/model/gmodel_gen/fs_quotation_saler_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_refund_reason_gen.go b/model/gmodel_gen/fs_refund_reason_gen.go index 143827c3..4a34b699 100644 --- a/model/gmodel_gen/fs_refund_reason_gen.go +++ b/model/gmodel_gen/fs_refund_reason_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_refund_reason_logic.go b/model/gmodel_gen/fs_refund_reason_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_refund_reason_logic.go +++ b/model/gmodel_gen/fs_refund_reason_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_standard_logo_gen.go b/model/gmodel_gen/fs_standard_logo_gen.go index 2d5f9aa5..cc77079a 100644 --- a/model/gmodel_gen/fs_standard_logo_gen.go +++ b/model/gmodel_gen/fs_standard_logo_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_standard_logo_logic.go b/model/gmodel_gen/fs_standard_logo_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_standard_logo_logic.go +++ b/model/gmodel_gen/fs_standard_logo_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_tags_gen.go b/model/gmodel_gen/fs_tags_gen.go index 57678ff2..9207c07b 100644 --- a/model/gmodel_gen/fs_tags_gen.go +++ b/model/gmodel_gen/fs_tags_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_tags_logic.go b/model/gmodel_gen/fs_tags_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_tags_logic.go +++ b/model/gmodel_gen/fs_tags_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_tool_logs_gen.go b/model/gmodel_gen/fs_tool_logs_gen.go index 456d61e7..57601e55 100644 --- a/model/gmodel_gen/fs_tool_logs_gen.go +++ b/model/gmodel_gen/fs_tool_logs_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_tool_logs_logic.go b/model/gmodel_gen/fs_tool_logs_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_tool_logs_logic.go +++ b/model/gmodel_gen/fs_tool_logs_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_tool_template_gen.go b/model/gmodel_gen/fs_tool_template_gen.go index a68b2fe0..c56cccb0 100644 --- a/model/gmodel_gen/fs_tool_template_gen.go +++ b/model/gmodel_gen/fs_tool_template_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_tool_template_logic.go b/model/gmodel_gen/fs_tool_template_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_tool_template_logic.go +++ b/model/gmodel_gen/fs_tool_template_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_tool_user_gen.go b/model/gmodel_gen/fs_tool_user_gen.go index 2b4dcd18..9936359d 100644 --- a/model/gmodel_gen/fs_tool_user_gen.go +++ b/model/gmodel_gen/fs_tool_user_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_tool_user_logic.go b/model/gmodel_gen/fs_tool_user_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_tool_user_logic.go +++ b/model/gmodel_gen/fs_tool_user_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_trade_gen.go b/model/gmodel_gen/fs_trade_gen.go index 83e2326a..ae0f2d0b 100644 --- a/model/gmodel_gen/fs_trade_gen.go +++ b/model/gmodel_gen/fs_trade_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_trade_logic.go b/model/gmodel_gen/fs_trade_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_trade_logic.go +++ b/model/gmodel_gen/fs_trade_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_user_design_gen.go b/model/gmodel_gen/fs_user_design_gen.go index 52d0201c..1c424c2a 100644 --- a/model/gmodel_gen/fs_user_design_gen.go +++ b/model/gmodel_gen/fs_user_design_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_user_design_logic.go b/model/gmodel_gen/fs_user_design_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_user_design_logic.go +++ b/model/gmodel_gen/fs_user_design_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_user_gen.go b/model/gmodel_gen/fs_user_gen.go index 3723626c..b4cf10b1 100644 --- a/model/gmodel_gen/fs_user_gen.go +++ b/model/gmodel_gen/fs_user_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_user_logic.go b/model/gmodel_gen/fs_user_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_user_logic.go +++ b/model/gmodel_gen/fs_user_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_user_stock_gen.go b/model/gmodel_gen/fs_user_stock_gen.go index bf036d10..9d5bf7e8 100644 --- a/model/gmodel_gen/fs_user_stock_gen.go +++ b/model/gmodel_gen/fs_user_stock_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_user_stock_logic.go b/model/gmodel_gen/fs_user_stock_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_user_stock_logic.go +++ b/model/gmodel_gen/fs_user_stock_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/gmodel_gen/fs_web_set_gen.go b/model/gmodel_gen/fs_web_set_gen.go index af02f47b..3f82fad1 100644 --- a/model/gmodel_gen/fs_web_set_gen.go +++ b/model/gmodel_gen/fs_web_set_gen.go @@ -1,4 +1,4 @@ -package model +package gmodel import ( "gorm.io/gorm" diff --git a/model/gmodel_gen/fs_web_set_logic.go b/model/gmodel_gen/fs_web_set_logic.go index 0c571c94..35237a04 100644 --- a/model/gmodel_gen/fs_web_set_logic.go +++ b/model/gmodel_gen/fs_web_set_logic.go @@ -1,2 +1,3 @@ -package model -// TODO: 使用model的属性做你想做的 \ No newline at end of file +package gmodel + +// TODO: 使用model的属性做你想做的 diff --git a/model/vars.go b/model/vars.go index 69ca814e..4a9c20d6 100644 --- a/model/vars.go +++ b/model/vars.go @@ -1,4 +1,4 @@ -package model +package gmodel import "github.com/zeromicro/go-zero/core/stores/sqlx"