diff --git a/internal/dao/internal/coupon.go b/internal/dao/internal/coupon.go index 3ee02c4..90ea96c 100644 --- a/internal/dao/internal/coupon.go +++ b/internal/dao/internal/coupon.go @@ -26,7 +26,7 @@ type CouponColumns struct { ImgUrl string // 放大看全图 StartTime string // 有效期起始 EndTime string // 有效期截止 - Type string // 类型(1:卡券 2:二维码) + Type string // 类型(1:普通 2:二维码) Deleted string // 是否删除? CreatedAt string // 创建时间 UpdatedAt string // 更新时间 diff --git a/internal/model/do/coupon.go b/internal/model/do/coupon.go index 41cb8d2..38c2313 100644 --- a/internal/model/do/coupon.go +++ b/internal/model/do/coupon.go @@ -18,7 +18,7 @@ type Coupon struct { ImgUrl interface{} // 放大看全图 StartTime interface{} // 有效期起始 EndTime interface{} // 有效期截止 - Type interface{} // 类型(1:卡券 2:二维码) + Type interface{} // 类型(1:普通 2:二维码) Deleted interface{} // 是否删除? CreatedAt *gtime.Time // 创建时间 UpdatedAt *gtime.Time // 更新时间 diff --git a/internal/model/entity/coupon.go b/internal/model/entity/coupon.go index f67df4a..6138537 100644 --- a/internal/model/entity/coupon.go +++ b/internal/model/entity/coupon.go @@ -16,7 +16,7 @@ type Coupon struct { ImgUrl string `json:"imgUrl" orm:"img_url" description:"放大看全图"` // 放大看全图 StartTime int `json:"startTime" orm:"start_time" description:"有效期起始"` // 有效期起始 EndTime int `json:"endTime" orm:"end_time" description:"有效期截止"` // 有效期截止 - Type int `json:"type" orm:"type" description:"类型(1:卡券 2:二维码)"` // 类型(1:卡券 2:二维码) + Type int `json:"type" orm:"type" description:"类型(1:普通 2:二维码)"` // 类型(1:普通 2:二维码) Deleted int `json:"deleted" orm:"deleted" description:"是否删除?"` // 是否删除? CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"` // 创建时间 UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"` // 更新时间 diff --git a/manifest/config/config.yaml b/manifest/config/config.yaml index a934e44..53091fd 100644 --- a/manifest/config/config.yaml +++ b/manifest/config/config.yaml @@ -1,6 +1,6 @@ # https://goframe.org/docs/web/server-config-file-template server: - address: ":8080" + address: ":8000" # https://goframe.org/docs/core/glog-config logger: