|
|
@@ -17,7 +17,7 @@ type ContributionValueBasicSettingDb struct { |
|
|
|
|
|
|
|
func (c ContributionValueBasicSettingDb) ContributionValueBasicSettingGetOne() (*model.ContributionValueBasicSetting, error) { |
|
|
|
var m model.ContributionValueBasicSetting |
|
|
|
get, err := c.Db.Where("id > 1").Desc("create_at").Get(&m) |
|
|
|
get, err := c.Db.Where("id > 1").Get(&m) |
|
|
|
if err != nil { |
|
|
|
return nil, zhios_order_relate_logx.Error(err) |
|
|
|
} |
|
|
|