Commit d8a5312f authored by szh's avatar szh

add &

parent b6e27d2d
......@@ -14,7 +14,7 @@ type RaspFeedback struct {
func GetAllFeedBackList() ([]*RaspFeedback,error) {
var list []*RaspFeedback
if err := db.Model(&RaspFeedback{}).Find(list).Error; err != nil {
if err := db.Model(&RaspFeedback{}).Find(&list).Error; err != nil {
return nil,err
}
return list,nil
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment