|
@@ -47,7 +47,7 @@ func (c *BusinessConf) GetBusinessConf() (list map[string]string, err error) {
|
|
list = make(map[string]string)
|
|
list = make(map[string]string)
|
|
|
|
|
|
var items []*BusinessConf
|
|
var items []*BusinessConf
|
|
- err = global.MYSQL["master"].Model(c).Order("create_time DESC").Scan(&list).Error
|
|
|
|
|
|
+ err = global.MYSQL["master"].Model(c).Order("create_time DESC").Scan(&items).Error
|
|
if err != nil {
|
|
if err != nil {
|
|
return
|
|
return
|
|
}
|
|
}
|