From d4534efecd76c0dc29b2d580d8fbd155f37b0501 Mon Sep 17 00:00:00 2001 From: RIceWqy <1840169763@qq.com> Date: Sun, 24 Dec 2023 17:08:44 +0800 Subject: [PATCH] init --- module/{Coupon => coupon}/Coupon.go | 0 module/goods/Goods.go | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) rename module/{Coupon => coupon}/Coupon.go (100%) diff --git a/module/Coupon/Coupon.go b/module/coupon/Coupon.go similarity index 100% rename from module/Coupon/Coupon.go rename to module/coupon/Coupon.go diff --git a/module/goods/Goods.go b/module/goods/Goods.go index a086edb..0b7f782 100644 --- a/module/goods/Goods.go +++ b/module/goods/Goods.go @@ -2,6 +2,7 @@ package goods import service "src/module/service" import skuPrice "src/module/skuPrice" +import coupon "src/module/coupon" func (Goods) TableName() string { return "goods" @@ -42,5 +43,5 @@ type Goods struct { DispatchTypeArr []string `json:"dispatch_type_arr"` // 派送类型数组 Service []service.Service `json:"service"` // 服务列表 SKU []string `json:"sku"` // SKU列表 - Coupons []Coupon `json:"coupons"` // 优惠券列表 + Coupons []coupon.Coupon `json:"coupons"` // 优惠券列表 }