14 lines
284 B
Go
14 lines
284 B
Go
package dao
|
|
|
|
import (
|
|
"time"
|
|
|
|
"git.rosy.net.cn/jx-callback/business/model"
|
|
)
|
|
|
|
// func InsertStoreScore(storeID int, scores map[string]int) error {
|
|
func InsertStoreScore(storeScore *model.StoreScore) error {
|
|
storeScore.CreatedAt = time.Now()
|
|
return CreateEntity(nil, storeScore)
|
|
}
|